From dd8c1d3b0c21a5ffc4d9eeeddf4e7c7f7dd1543d Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 12 Feb 2019 08:26:35 +0000 Subject: [PATCH 1/2] Generated from 58cd4adf1b4af13ff67081fe4c670fde87253c75 Fixed bundle name in readme.md --- .../analysisservices_profile_module.rb | 62 +-- .../modules/apimanagement_profile_module.rb | 196 ++++---- .../modules/authorization_profile_module.rb | 16 +- .../modules/automation_profile_module.rb | 14 +- .../modules/autosuggest_profile_module.rb | 36 +- .../latest/modules/batch_profile_module.rb | 26 +- .../latest/modules/billing_profile_module.rb | 36 +- .../lib/latest/modules/cdn_profile_module.rb | 8 +- .../cognitiveservices_profile_module.rb | 22 +- .../latest/modules/compute_profile_module.rb | 434 +++++++++--------- .../modules/computervision_profile_module.rb | 48 +- .../modules/consumption_profile_module.rb | 82 ++-- .../containerinstance_profile_module.rb | 94 ++-- .../containerregistry_profile_module.rb | 84 ++-- .../containerservice_profile_module.rb | 16 +- .../contentmoderator_profile_module.rb | 64 +-- .../customerinsights_profile_module.rb | 150 +++--- .../customimagesearch_profile_module.rb | 32 +- .../modules/customsearch_profile_module.rb | 44 +- .../customvisionprediction_profile_module.rb | 16 +- .../customvisiontraining_profile_module.rb | 126 ++--- .../datalakeanalytics_profile_module.rb | 14 +- .../modules/datalakestore_profile_module.rb | 18 +- .../modules/datamigration_profile_module.rb | 6 +- .../modules/devspaces_profile_module.rb | 38 +- .../modules/devtestlabs_profile_module.rb | 282 ++++++------ .../lib/latest/modules/dns_profile_module.rb | 48 +- .../modules/entitysearch_profile_module.rb | 66 +-- .../modules/eventgrid_profile_module.rb | 54 +-- .../latest/modules/eventhub_profile_module.rb | 26 +- .../lib/latest/modules/face_profile_module.rb | 54 +-- .../latest/modules/features_profile_module.rb | 16 +- .../modules/graphrbac_profile_module.rb | 94 ++-- .../modules/imagesearch_profile_module.rb | 48 +- .../modules/iotcentral_profile_module.rb | 48 +- .../latest/modules/iothub_profile_module.rb | 66 +-- .../latest/modules/keyvault_profile_module.rb | 36 +- .../latest/modules/kusto_profile_module.rb | 62 +-- .../latest/modules/links_profile_module.rb | 24 +- .../modules/localsearch_profile_module.rb | 20 +- .../latest/modules/locks_profile_module.rb | 24 +- .../latest/modules/logic_profile_module.rb | 26 +- .../modules/machinelearning_profile_module.rb | 6 +- .../managedapplications_profile_module.rb | 22 +- .../managedserviceidentity_profile_module.rb | 16 +- .../marketplaceordering_profile_module.rb | 30 +- .../modules/mediaservices_profile_module.rb | 408 ++++++++-------- .../latest/modules/monitor_profile_module.rb | 228 ++++----- .../latest/modules/network_profile_module.rb | 150 +++--- .../modules/newssearch_profile_module.rb | 32 +- .../notificationhubs_profile_module.rb | 10 +- .../operationalinsights_profile_module.rb | 22 +- .../latest/modules/policy_profile_module.rb | 24 +- .../modules/policyinsights_profile_module.rb | 68 +-- .../modules/powerbiembedded_profile_module.rb | 8 +- .../latest/modules/qnamaker_profile_module.rb | 74 +-- .../recoveryservices_profile_module.rb | 68 +-- .../recoveryservicesbackup_profile_module.rb | 250 +++++----- ...veryservicessiterecovery_profile_module.rb | 92 ++-- .../latest/modules/redis_profile_module.rb | 118 ++--- .../latest/modules/relay_profile_module.rb | 70 +-- .../modules/resources_profile_module.rb | 68 +-- .../resourcesmanagement_profile_module.rb | 40 +- .../modules/scheduler_profile_module.rb | 24 +- .../latest/modules/search_profile_module.rb | 56 +-- .../latest/modules/security_profile_module.rb | 54 +-- .../modules/servicebus_profile_module.rb | 72 +-- .../modules/servicefabric_profile_module.rb | 102 ++-- .../latest/modules/signalr_profile_module.rb | 6 +- .../modules/spellcheck_profile_module.rb | 16 +- .../lib/latest/modules/sql_profile_module.rb | 168 +++---- .../sqlvirtualmachine_profile_module.rb | 118 ++--- .../latest/modules/storage_profile_module.rb | 86 ++-- .../storsimple8000series_profile_module.rb | 98 ++-- .../modules/streamanalytics_profile_module.rb | 46 +- .../modules/subscriptions_profile_module.rb | 56 +-- .../modules/textanalytics_profile_module.rb | 48 +- .../modules/trafficmanager_profile_module.rb | 26 +- .../modules/videosearch_profile_module.rb | 28 +- .../modules/visualsearch_profile_module.rb | 56 +-- .../lib/latest/modules/web_profile_module.rb | 110 ++--- .../modules/websearch_profile_module.rb | 94 ++-- .../modules/compute_profile_module.rb | 58 +-- .../v2017_03_09/modules/dns_profile_module.rb | 48 +- .../modules/features_profile_module.rb | 16 +- .../modules/keyvault_profile_module.rb | 68 +-- .../modules/links_profile_module.rb | 24 +- .../modules/locks_profile_module.rb | 8 +- .../modules/network_profile_module.rb | 130 +++--- .../modules/policy_profile_module.rb | 16 +- .../modules/resources_profile_module.rb | 6 +- .../modules/storage_profile_module.rb | 80 ++-- .../modules/subscriptions_profile_module.rb | 56 +-- .../modules/compute_profile_module.rb | 48 +- .../v2018_03_01/modules/dns_profile_module.rb | 48 +- .../modules/keyvault_profile_module.rb | 68 +-- .../modules/locks_profile_module.rb | 24 +- .../modules/network_profile_module.rb | 370 +++++++-------- .../modules/policy_profile_module.rb | 16 +- .../modules/resources_profile_module.rb | 14 +- .../modules/storage_profile_module.rb | 80 ++-- .../modules/subscriptions_profile_module.rb | 56 +-- .../v2018_03_01/modules/web_profile_module.rb | 174 +++---- 103 files changed, 3576 insertions(+), 3576 deletions(-) diff --git a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb index b7870a4194..1236db1cac 100644 --- a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb @@ -11,6 +11,12 @@ module Mgmt Servers = Azure::AnalysisServices::Mgmt::V2017_08_01::Servers module Models + GatewayListStatusLive = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive + GatewayError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError + 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 + GatewayDetails = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayDetails CheckServerNameAvailabilityResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityResult IPv4FirewallSettings = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallSettings ErrorResponse = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ErrorResponse @@ -24,20 +30,14 @@ module Models OperationStatus = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationStatus Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource OperationDisplay = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay + State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State Operation = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation OperationListResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationListResult ProvisioningState = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState - State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State - ResourceSku = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status + ResourceSku = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier AnalysisServicesServerUpdateParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters - GatewayListStatusLive = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive - GatewayError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError - 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 - GatewayDetails = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayDetails end class AnalysisServicesManagementClass @@ -71,6 +71,24 @@ def method_missing(method, *args) end class ModelClasses + def gateway_list_status_live + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive + end + def gateway_error + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError + end + def gateway_list_status_error + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError + end + def analysis_services_servers + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServers + end + def check_server_name_availability_parameters + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityParameters + end + def gateway_details + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayDetails + end def check_server_name_availability_result Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityResult end @@ -110,6 +128,9 @@ def resource def operation_display Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay end + def state + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State + end def operation Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation end @@ -119,39 +140,18 @@ def operation_list_result def provisioning_state Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState end - def state - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State + def status + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status end def resource_sku Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku end - def status - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status - end def sku_tier Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier end def analysis_services_server_update_parameters Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters end - def gateway_list_status_live - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive - end - def gateway_error - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError - end - def gateway_list_status_error - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError - end - def analysis_services_servers - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServers - end - def check_server_name_availability_parameters - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityParameters - end - def gateway_details - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayDetails - 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 457873beaf..ea371a9e22 100644 --- a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module ApiManagement module Mgmt - Certificate = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Certificate Group = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Group + Certificate = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Certificate Subscription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Subscription PolicySnippets = Azure::ApiManagement::Mgmt::V2018_06_01_preview::PolicySnippets Regions = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Regions @@ -26,17 +26,17 @@ module Mgmt ApiIssueAttachment = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiIssueAttachment AuthorizationServer = Azure::ApiManagement::Mgmt::V2018_06_01_preview::AuthorizationServer Backend = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Backend + Policy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Policy ApiManagementOperations = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiManagementOperations ApiManagementService = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiManagementService Diagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Diagnostic EmailTemplate = Azure::ApiManagement::Mgmt::V2018_06_01_preview::EmailTemplate - GroupUser = Azure::ApiManagement::Mgmt::V2018_06_01_preview::GroupUser IdentityProvider = Azure::ApiManagement::Mgmt::V2018_06_01_preview::IdentityProvider - Policy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Policy Notification = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Notification NotificationRecipientUser = Azure::ApiManagement::Mgmt::V2018_06_01_preview::NotificationRecipientUser NotificationRecipientEmail = Azure::ApiManagement::Mgmt::V2018_06_01_preview::NotificationRecipientEmail NetworkStatus = Azure::ApiManagement::Mgmt::V2018_06_01_preview::NetworkStatus + OpenIdConnectProvider = Azure::ApiManagement::Mgmt::V2018_06_01_preview::OpenIdConnectProvider SignInSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::SignInSettings SignUpSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::SignUpSettings DelegationSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::DelegationSettings @@ -51,7 +51,7 @@ module Mgmt Reports = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Reports TagResource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TagResource TagDescription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TagDescription - OpenIdConnectProvider = Azure::ApiManagement::Mgmt::V2018_06_01_preview::OpenIdConnectProvider + GroupUser = Azure::ApiManagement::Mgmt::V2018_06_01_preview::GroupUser OperationOperations = Azure::ApiManagement::Mgmt::V2018_06_01_preview::OperationOperations TenantAccess = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TenantAccess TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TenantAccessGit @@ -103,12 +103,12 @@ module Models ApimResource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApimResource RepresentationContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RepresentationContract TagDescriptionCreateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionCreateParameters - ResponseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ResponseContract ErrorResponseBody = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponseBody - OperationUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationUpdateContract - UserUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserUpdateParameters SchemaCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SchemaCollection + UserUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserUpdateParameters + PropertyCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyCollection UserTokenResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserTokenResult + PolicySnippetContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicySnippetContract UserTokenParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserTokenParameters RegionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegionContract BodyDiagnosticSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BodyDiagnosticSettings @@ -151,13 +151,13 @@ module Models SubscriptionCreateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionCreateParameters ApiVersionSetEntityBase = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetEntityBase IdentityProviderList = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderList - PropertyCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyCollection RequestContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestContract - PolicySnippetContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicySnippetContract - ApiVersionSetCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection IdentityProviderUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderUpdateParameters - IssueCommentCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection + ApiVersionSetCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection IdentityProviderBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters + ResponseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ResponseContract + IssueCommentCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection + OperationUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationUpdateContract HttpMessageDiagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic RequestReportCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection DiagnosticCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection @@ -228,45 +228,45 @@ module Models CertificateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateContract EmailTemplateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateContract ApiManagementServiceUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateParameters - UserContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserContract - GroupContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupContract - LoggerContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerContract IdentityProviderContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderContract - RecipientUserContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserContract + LoggerContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerContract NotificationContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationContract - OpenidConnectProviderContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract + RecipientUserContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserContract RecipientEmailContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailContract - PortalSignupSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSignupSettings + UserContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserContract + OpenidConnectProviderContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract PortalSigninSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSigninSettings - SubscriptionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionContract + GroupContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupContract PortalDelegationSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalDelegationSettings - TagContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract + PortalSignupSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSignupSettings PropertyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyContract - ApiVersionSetContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContract + SubscriptionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionContract TagDescriptionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionContract - ContentFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ContentFormat + TagContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract PolicyContentFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyContentFormat - ApiType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiType + ApiVersionSetContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContract SoapApiType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SoapApiType - AlwaysLog = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog + ContentFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ContentFormat SamplingType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingType - GrantType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType + ApiType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiType ProductState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductState - ClientAuthenticationMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ClientAuthenticationMethod + AlwaysLog = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog AuthorizationMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationMethod - BackendProtocol = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProtocol + GrantType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType BearerTokenSendingMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BearerTokenSendingMethod - SkuType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SkuType + ClientAuthenticationMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ClientAuthenticationMethod HostnameType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameType - NameAvailabilityReason = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NameAvailabilityReason + BackendProtocol = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProtocol VirtualNetworkType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VirtualNetworkType - Confirmation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Confirmation + SkuType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SkuType GroupType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupType - IdentityProviderType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderType + State = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State UserState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserState - ConnectivityStatusType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType + Confirmation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Confirmation + NameAvailabilityReason = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NameAvailabilityReason + IdentityProviderType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderType LoggerType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerType - State = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State + ConnectivityStatusType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType KeyType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::KeyType VersioningScheme = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VersioningScheme TemplateName = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TemplateName @@ -281,7 +281,7 @@ module Models end class ApiManagementManagementClass - attr_reader :certificate, :group, :subscription, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :email_template, :group_user, :identity_provider, :policy, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :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, :tag_resource, :tag_description, :open_id_connect_provider, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_subscription, :user_group, :api_version_set, :user_identities, :api_export, :tag, :logger, :configurable, :base_url, :options, :model_classes + attr_reader :group, :certificate, :subscription, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :policy, :api_management_operations, :api_management_service, :diagnostic, :email_template, :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :product, :product_api, :product_group, :product_subscriptions, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :tag_resource, :tag_description, :group_user, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_subscription, :user_group, :api_version_set, :user_identities, :api_export, :tag, :logger, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -291,8 +291,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @certificate = @client_0.certificate @group = @client_0.group + @certificate = @client_0.certificate @subscription = @client_0.subscription @policy_snippets = @client_0.policy_snippets @regions = @client_0.regions @@ -310,17 +310,17 @@ def initialize(configurable, base_url=nil, options=nil) @api_issue_attachment = @client_0.api_issue_attachment @authorization_server = @client_0.authorization_server @backend = @client_0.backend + @policy = @client_0.policy @api_management_operations = @client_0.api_management_operations @api_management_service = @client_0.api_management_service @diagnostic = @client_0.diagnostic @email_template = @client_0.email_template - @group_user = @client_0.group_user @identity_provider = @client_0.identity_provider - @policy = @client_0.policy @notification = @client_0.notification @notification_recipient_user = @client_0.notification_recipient_user @notification_recipient_email = @client_0.notification_recipient_email @network_status = @client_0.network_status + @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 @delegation_settings = @client_0.delegation_settings @@ -335,7 +335,7 @@ def initialize(configurable, base_url=nil, options=nil) @reports = @client_0.reports @tag_resource = @client_0.tag_resource @tag_description = @client_0.tag_description - @open_id_connect_provider = @client_0.open_id_connect_provider + @group_user = @client_0.group_user @operation_operations = @client_0.operation_operations @tenant_access = @client_0.tenant_access @tenant_access_git = @client_0.tenant_access_git @@ -477,24 +477,24 @@ def representation_contract def tag_description_create_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionCreateParameters end - def response_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ResponseContract - end def error_response_body Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponseBody end - def operation_update_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationUpdateContract + def schema_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SchemaCollection end def user_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserUpdateParameters end - def schema_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SchemaCollection + def property_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyCollection end def user_token_result Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserTokenResult end + def policy_snippet_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicySnippetContract + end def user_token_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserTokenParameters end @@ -621,26 +621,26 @@ def api_version_set_entity_base def identity_provider_list Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderList end - def property_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyCollection - end def request_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestContract end - def policy_snippet_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicySnippetContract + def identity_provider_update_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderUpdateParameters end def api_version_set_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection end - def identity_provider_update_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderUpdateParameters + def identity_provider_base_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters + end + def response_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ResponseContract end def issue_comment_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection end - def identity_provider_base_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters + def operation_update_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationUpdateContract end def http_message_diagnostic Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic @@ -852,122 +852,122 @@ def email_template_contract def api_management_service_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateParameters end - def user_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserContract - end - def group_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupContract - end - def logger_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerContract - end def identity_provider_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderContract end - def recipient_user_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserContract + def logger_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerContract end def notification_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationContract end - def openid_connect_provider_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract + def recipient_user_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserContract end def recipient_email_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailContract end - def portal_signup_settings - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSignupSettings + def user_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserContract + end + def openid_connect_provider_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract end def portal_signin_settings Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSigninSettings end - def subscription_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionContract + def group_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupContract end def portal_delegation_settings Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalDelegationSettings end - def tag_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract + def portal_signup_settings + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSignupSettings end def property_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyContract end - def api_version_set_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContract + def subscription_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionContract end def tag_description_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionContract end - def content_format - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ContentFormat + def tag_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract end def policy_content_format Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyContentFormat end - def api_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiType + def api_version_set_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContract end def soap_api_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SoapApiType end - def always_log - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog + def content_format + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ContentFormat end def sampling_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingType end - def grant_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType + def api_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiType end def product_state Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductState end - def client_authentication_method - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ClientAuthenticationMethod + def always_log + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog end def authorization_method Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationMethod end - def backend_protocol - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProtocol + def grant_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType end def bearer_token_sending_method Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BearerTokenSendingMethod end - def sku_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SkuType + def client_authentication_method + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ClientAuthenticationMethod end def hostname_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameType end - def name_availability_reason - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NameAvailabilityReason + def backend_protocol + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProtocol end def virtual_network_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VirtualNetworkType end - def confirmation - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Confirmation + def sku_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SkuType end def group_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupType end - def identity_provider_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderType + def state + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State end def user_state Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserState end - def connectivity_status_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType + def confirmation + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Confirmation + end + def name_availability_reason + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NameAvailabilityReason + end + def identity_provider_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderType end def logger_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerType end - def state - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State + def connectivity_status_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType end def key_type Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::KeyType diff --git a/azure_sdk/lib/latest/modules/authorization_profile_module.rb b/azure_sdk/lib/latest/modules/authorization_profile_module.rb index c6e30b8a7f..9062798a6b 100644 --- a/azure_sdk/lib/latest/modules/authorization_profile_module.rb +++ b/azure_sdk/lib/latest/modules/authorization_profile_module.rb @@ -26,11 +26,11 @@ module Models ResourceType = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadataListResult RoleDefinition = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition - DenyAssignmentPermission = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission - DenyAssignmentListResult = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult DenyAssignmentFilter = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentFilter Principal = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::Principal DenyAssignment = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignment + DenyAssignmentPermission = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission + DenyAssignmentListResult = Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult PrincipalType = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::PrincipalType RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignmentCreateParameters RoleAssignment = Azure::Authorization::Mgmt::V2018_09_01_preview::Models::RoleAssignment @@ -130,12 +130,6 @@ def provider_operations_metadata_list_result def role_definition Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition end - def deny_assignment_permission - Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission - end - def deny_assignment_list_result - Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult - end def deny_assignment_filter Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentFilter end @@ -145,6 +139,12 @@ def principal def deny_assignment Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignment end + def deny_assignment_permission + Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentPermission + end + def deny_assignment_list_result + Azure::Authorization::Mgmt::V2018_07_01_preview::Models::DenyAssignmentListResult + end def principal_type Azure::Authorization::Mgmt::V2018_09_01_preview::Models::PrincipalType end diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index eb1f1d5282..c9c0e1802c 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -7,6 +7,7 @@ module Azure::Profiles::Latest module Automation module Mgmt + Usages = Azure::Automation::Mgmt::V2015_10_31::Usages Operations = Azure::Automation::Mgmt::V2015_10_31::Operations AutomationAccountOperations = Azure::Automation::Mgmt::V2015_10_31::AutomationAccountOperations StatisticsOperations = Azure::Automation::Mgmt::V2015_10_31::StatisticsOperations @@ -38,9 +39,9 @@ module Mgmt ScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::ScheduleOperations VariableOperations = Azure::Automation::Mgmt::V2015_10_31::VariableOperations WebhookOperations = Azure::Automation::Mgmt::V2015_10_31::WebhookOperations - Usages = Azure::Automation::Mgmt::V2015_10_31::Usages module Models + RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse TrackedResource = Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource ProxyResource = Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource @@ -178,11 +179,10 @@ module Models Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency - RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum end class AutomationManagementClass - attr_reader :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, :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, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :usages, :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, :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 @@ -192,6 +192,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @usages = @client_0.usages @operations = @client_0.operations @automation_account_operations = @client_0.automation_account_operations @statistics_operations = @client_0.statistics_operations @@ -223,7 +224,6 @@ def initialize(configurable, base_url=nil, options=nil) @schedule_operations = @client_0.schedule_operations @variable_operations = @client_0.variable_operations @webhook_operations = @client_0.webhook_operations - @usages = @client_0.usages @model_classes = ModelClasses.new end @@ -242,6 +242,9 @@ def method_missing(method, *args) end class ModelClasses + def runbook_type_enum + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum + end def error_response Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse end @@ -653,9 +656,6 @@ def schedule_day def schedule_frequency Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency end - def runbook_type_enum - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum - end end end end diff --git a/azure_sdk/lib/latest/modules/autosuggest_profile_module.rb b/azure_sdk/lib/latest/modules/autosuggest_profile_module.rb index da795bddf5..4407103dc9 100644 --- a/azure_sdk/lib/latest/modules/autosuggest_profile_module.rb +++ b/azure_sdk/lib/latest/modules/autosuggest_profile_module.rb @@ -8,6 +8,9 @@ module Azure::Profiles::Latest module Autosuggest module Models + Response = Azure::CognitiveServices::Autosuggest::V1_0::Models::Response + QueryContext = Azure::CognitiveServices::Autosuggest::V1_0::Models::QueryContext + SuggestionsSuggestionGroup = Azure::CognitiveServices::Autosuggest::V1_0::Models::SuggestionsSuggestionGroup ResponseBase = Azure::CognitiveServices::Autosuggest::V1_0::Models::ResponseBase Answer = Azure::CognitiveServices::Autosuggest::V1_0::Models::Answer SearchResultsAnswer = Azure::CognitiveServices::Autosuggest::V1_0::Models::SearchResultsAnswer @@ -16,17 +19,14 @@ module Models CreativeWork = Azure::CognitiveServices::Autosuggest::V1_0::Models::CreativeWork SearchAction = Azure::CognitiveServices::Autosuggest::V1_0::Models::SearchAction Identifiable = Azure::CognitiveServices::Autosuggest::V1_0::Models::Identifiable - ErrorResponse = Azure::CognitiveServices::Autosuggest::V1_0::Models::ErrorResponse + Action = Azure::CognitiveServices::Autosuggest::V1_0::Models::Action ScenarioType = Azure::CognitiveServices::Autosuggest::V1_0::Models::ScenarioType SearchKind = Azure::CognitiveServices::Autosuggest::V1_0::Models::SearchKind ErrorCode = Azure::CognitiveServices::Autosuggest::V1_0::Models::ErrorCode - Response = Azure::CognitiveServices::Autosuggest::V1_0::Models::Response + ErrorResponse = Azure::CognitiveServices::Autosuggest::V1_0::Models::ErrorResponse ResponseFormat = Azure::CognitiveServices::Autosuggest::V1_0::Models::ResponseFormat - Action = Azure::CognitiveServices::Autosuggest::V1_0::Models::Action SafeSearch = Azure::CognitiveServices::Autosuggest::V1_0::Models::SafeSearch Error = Azure::CognitiveServices::Autosuggest::V1_0::Models::Error - QueryContext = Azure::CognitiveServices::Autosuggest::V1_0::Models::QueryContext - SuggestionsSuggestionGroup = Azure::CognitiveServices::Autosuggest::V1_0::Models::SuggestionsSuggestionGroup end class AutosuggestDataClass @@ -58,6 +58,15 @@ def method_missing(method, *args) end class ModelClasses + def response + Azure::CognitiveServices::Autosuggest::V1_0::Models::Response + end + def query_context + Azure::CognitiveServices::Autosuggest::V1_0::Models::QueryContext + end + def suggestions_suggestion_group + Azure::CognitiveServices::Autosuggest::V1_0::Models::SuggestionsSuggestionGroup + end def response_base Azure::CognitiveServices::Autosuggest::V1_0::Models::ResponseBase end @@ -82,8 +91,8 @@ def search_action def identifiable Azure::CognitiveServices::Autosuggest::V1_0::Models::Identifiable end - def error_response - Azure::CognitiveServices::Autosuggest::V1_0::Models::ErrorResponse + def action + Azure::CognitiveServices::Autosuggest::V1_0::Models::Action end def scenario_type Azure::CognitiveServices::Autosuggest::V1_0::Models::ScenarioType @@ -94,27 +103,18 @@ def search_kind def error_code Azure::CognitiveServices::Autosuggest::V1_0::Models::ErrorCode end - def response - Azure::CognitiveServices::Autosuggest::V1_0::Models::Response + def error_response + Azure::CognitiveServices::Autosuggest::V1_0::Models::ErrorResponse end def response_format Azure::CognitiveServices::Autosuggest::V1_0::Models::ResponseFormat end - def action - Azure::CognitiveServices::Autosuggest::V1_0::Models::Action - end def safe_search Azure::CognitiveServices::Autosuggest::V1_0::Models::SafeSearch end def error Azure::CognitiveServices::Autosuggest::V1_0::Models::Error end - def query_context - Azure::CognitiveServices::Autosuggest::V1_0::Models::QueryContext - end - def suggestions_suggestion_group - Azure::CognitiveServices::Autosuggest::V1_0::Models::SuggestionsSuggestionGroup - 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 8e0379c208..11e3eefca3 100644 --- a/azure_sdk/lib/latest/modules/batch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/batch_profile_module.rb @@ -8,14 +8,15 @@ module Azure::Profiles::Latest module Batch module Mgmt Location = Azure::Batch::Mgmt::V2017_09_01::Location + CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations BatchAccountOperations = Azure::Batch::Mgmt::V2017_09_01::BatchAccountOperations - Operations = Azure::Batch::Mgmt::V2017_09_01::Operations ApplicationPackageOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationPackageOperations ApplicationOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationOperations PoolOperations = Azure::Batch::Mgmt::V2017_09_01::PoolOperations - CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations + Operations = Azure::Batch::Mgmt::V2017_09_01::Operations module Models + WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource FixedScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings @@ -86,19 +87,18 @@ module Models CertificateStoreLocation = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource - OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference + OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay Operation = Azure::Batch::Mgmt::V2017_09_01::Models::Operation OperationListResult = Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult CheckNameAvailabilityResult = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult NameAvailabilityReason = Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk - WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration end class BatchManagementClass - attr_reader :location, :batch_account_operations, :operations, :application_package_operations, :application_operations, :pool_operations, :certificate_operations, :configurable, :base_url, :options, :model_classes + attr_reader :location, :certificate_operations, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -109,12 +109,12 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @location = @client_0.location + @certificate_operations = @client_0.certificate_operations @batch_account_operations = @client_0.batch_account_operations - @operations = @client_0.operations @application_package_operations = @client_0.application_package_operations @application_operations = @client_0.application_operations @pool_operations = @client_0.pool_operations - @certificate_operations = @client_0.certificate_operations + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -133,6 +133,9 @@ def method_missing(method, *args) end class ModelClasses + def windows_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration + end def certificate Azure::Batch::Mgmt::V2017_09_01::Models::Certificate end @@ -343,12 +346,12 @@ def certificate_visibility def resource Azure::Batch::Mgmt::V2017_09_01::Models::Resource end - def operation_display - Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay - end def image_reference Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference end + def operation_display + Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay + end def operation Azure::Batch::Mgmt::V2017_09_01::Models::Operation end @@ -367,9 +370,6 @@ def inbound_nat_pool def osdisk Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk end - def windows_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration - 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 d0ae0e92df..73ed38bf4f 100644 --- a/azure_sdk/lib/latest/modules/billing_profile_module.rb +++ b/azure_sdk/lib/latest/modules/billing_profile_module.rb @@ -7,29 +7,29 @@ module Azure::Profiles::Latest module Billing module Mgmt - Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations EnrollmentAccounts = Azure::Billing::Mgmt::V2018_03_01_preview::EnrollmentAccounts BillingPeriods = Azure::Billing::Mgmt::V2018_03_01_preview::BillingPeriods Invoices = Azure::Billing::Mgmt::V2018_03_01_preview::Invoices + Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations module Models + OperationListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult + Invoice = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice ErrorResponse = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse Resource = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource DownloadUrl = Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl InvoicesListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::InvoicesListResult BillingPeriodsListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriodsListResult EnrollmentAccountListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult + EnrollmentAccount = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount ErrorDetails = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails OperationDisplay = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay - BillingPeriod = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod Operation = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation - OperationListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult - EnrollmentAccount = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount - Invoice = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice + BillingPeriod = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod end class BillingManagementClass - attr_reader :operations, :enrollment_accounts, :billing_periods, :invoices, :configurable, :base_url, :options, :model_classes + attr_reader :enrollment_accounts, :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -39,10 +39,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @enrollment_accounts = @client_0.enrollment_accounts @billing_periods = @client_0.billing_periods @invoices = @client_0.invoices + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -61,6 +61,12 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult + end + def invoice + Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice + end def error_response Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse end @@ -79,26 +85,20 @@ def billing_periods_list_result def enrollment_account_list_result Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult end + def enrollment_account + Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount + end def error_details Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails end def operation_display Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay end - def billing_period - Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod - end def operation Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation end - def operation_list_result - Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult - end - def enrollment_account - Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount - end - def invoice - Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice + def billing_period + Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod 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 13ce0112e8..4cccd58d53 100644 --- a/azure_sdk/lib/latest/modules/cdn_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cdn_profile_module.rb @@ -70,9 +70,9 @@ module Models CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState CustomHttpsProvisioningSubstate = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource + ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation - ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku end @@ -275,15 +275,15 @@ def custom_https_provisioning_substate def resource Azure::CDN::Mgmt::V2017_10_12::Models::Resource end + 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 operation Azure::CDN::Mgmt::V2017_10_12::Models::Operation end - def resource_type - Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType - end def sku_name Azure::CDN::Mgmt::V2017_10_12::Models::SkuName end diff --git a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb index 67932c8961..d396890fb4 100644 --- a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb @@ -7,12 +7,13 @@ module Azure::Profiles::Latest module CognitiveServices module Mgmt - ResourceSkus = Azure::CognitiveServices::Mgmt::V2017_04_18::ResourceSkus Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations + ResourceSkus = Azure::CognitiveServices::Mgmt::V2017_04_18::ResourceSkus module Models + ResourceSkuRestrictionsReasonCode = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody CognitiveServicesAccountUpdateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo @@ -42,14 +43,13 @@ module Models ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku 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 ResourceSkuRestrictionsType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType - ResourceSkuRestrictionsReasonCode = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode - Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error end class CognitiveServicesManagementClass - attr_reader :resource_skus, :accounts, :check_sku_availability, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :accounts, :check_sku_availability, :operations, :resource_skus, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -59,10 +59,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @resource_skus = @client_0.resource_skus @accounts = @client_0.accounts @check_sku_availability = @client_0.check_sku_availability @operations = @client_0.operations + @resource_skus = @client_0.resource_skus @model_classes = ModelClasses.new end @@ -81,6 +81,9 @@ def method_missing(method, *args) end class ModelClasses + def resource_sku_restrictions_reason_code + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode + end def error_body Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody end @@ -168,18 +171,15 @@ def sku 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 resource_sku_restrictions_type Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType end - def resource_sku_restrictions_reason_code - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode - end - def error - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error - 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 e99fea52fa..2e4684b7d4 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -8,6 +8,9 @@ module Azure::Profiles::Latest module Compute module Mgmt ResourceSkus = Azure::Compute::Mgmt::V2017_09_01::ResourceSkus + Galleries = Azure::Compute::Mgmt::V2018_06_01::Galleries + Snapshots = Azure::Compute::Mgmt::V2018_06_01::Snapshots + LogAnalytics = Azure::Compute::Mgmt::V2018_06_01::LogAnalytics AvailabilitySets = Azure::Compute::Mgmt::V2018_06_01::AvailabilitySets VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensionImages VirtualMachineExtensions = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensions @@ -25,11 +28,12 @@ module Mgmt VirtualMachineRunCommands = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineRunCommands Disks = Azure::Compute::Mgmt::V2018_06_01::Disks GalleryImageVersions = Azure::Compute::Mgmt::V2018_06_01::GalleryImageVersions - Galleries = Azure::Compute::Mgmt::V2018_06_01::Galleries - Snapshots = Azure::Compute::Mgmt::V2018_06_01::Snapshots - LogAnalytics = Azure::Compute::Mgmt::V2018_06_01::LogAnalytics module Models + ResourceSkuRestrictionsType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType + ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo + ResourceSkusResult = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode ResourceSkuRestrictionInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity @@ -37,10 +41,6 @@ module Models ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities ResourceSkuCapacityScaleType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions - ResourceSkuRestrictionsType = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType - ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku - ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo - ResourceSkusResult = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties ComputeOperationValue = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue @@ -87,17 +87,17 @@ module Models SnapshotSku = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotSku VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile SnapshotList = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotList - InstanceViewStatus = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus - Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku + GalleryList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList + KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndKeyReference OSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::OSDisk Disallowed = Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed - StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile - ImagePurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan + AdditionalCapabilities = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalCapabilities + VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile WinRMListener = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile - DiffDiskSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings + WindowsConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration ApiEntityReference = Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings @@ -106,7 +106,7 @@ module Models OSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::OSProfile VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile - VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue + DiffDiskSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings DiagnosticsProfile = Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile SourceVault = Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineAgentInstanceView @@ -114,24 +114,24 @@ module Models BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnosticsInstanceView CreationData = Azure::Compute::Mgmt::V2018_06_01::Models::CreationData VirtualMachineIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue - RegionalReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus - DiskList = Azure::Compute::Mgmt::V2018_06_01::Models::DiskList + StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile + GalleryImageVersionStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile GalleryArtifactPublishingProfileBase = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase VirtualMachineScaleSetUpdateNetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkProfile MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus - RollingUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy - ImageStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile + RegionalReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus + DiskList = Azure::Compute::Mgmt::V2018_06_01::Models::DiskList VirtualMachineScaleSetExtensionListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionListResult VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionProfile - RunCommandParameterDefinition = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition + ImageStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile - GalleryImageIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier + DataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage VirtualMachineScaleSetUpdateVMProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateVMProfile - ListUsagesResult = Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue DiskSku = Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku - HardwareProfile = Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile - GalleryImageList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList + RunCommandParameterDefinition = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition + ManagedArtifact = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact DiskEncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings VirtualMachineScaleSetVMInstanceIDs = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceIDs DataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk @@ -142,7 +142,7 @@ module Models VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary GrantAccessData = Azure::Compute::Mgmt::V2018_06_01::Models::GrantAccessData VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary - WindowsConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration + ReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceView VirtualMachineIdentity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentity VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListResult @@ -155,15 +155,15 @@ module Models UsageName = Azure::Compute::Mgmt::V2018_06_01::Models::UsageName VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult KeyVaultSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference + GalleryArtifactSource = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource VirtualMachineHealthStatus = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus - VirtualMachineListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView VaultSecretGroup = Azure::Compute::Mgmt::V2018_06_01::Models::VaultSecretGroup SubResourceReadOnly = Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly DiskInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::DiskInstanceView VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMListResult UpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy - ReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus + VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView PurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan RollingUpgradeProgressInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo AccessUri = Azure::Compute::Mgmt::V2018_06_01::Models::AccessUri @@ -172,97 +172,97 @@ module Models InnerError = Azure::Compute::Mgmt::V2018_06_01::Models::InnerError VirtualMachineSize = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize ApiError = Azure::Compute::Mgmt::V2018_06_01::Models::ApiError - SshPublicKey = Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey + RollingUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus UpdateResource = Azure::Compute::Mgmt::V2018_06_01::Models::UpdateResource - RunCommandInputParameter = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter + SshPublicKey = Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey VirtualMachineInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView Resource = Azure::Compute::Mgmt::V2018_06_01::Models::Resource - VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView AvailabilitySet = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet - VirtualMachineImageResource = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource - VirtualMachineExtension = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtension VirtualMachineExtensionImage = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionImage - VirtualMachineImage = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage + RunCommandInputParameter = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter + GalleryImageList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList + VirtualMachineListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult + ListUsagesResult = Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult AdditionalUnattendContent = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent + HardwareProfile = Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile + VirtualMachineImageResource = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource VirtualMachineCaptureResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureResult - ManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters - NetworkInterfaceReference = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionUpdate + VirtualMachineImage = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage Image = Azure::Compute::Mgmt::V2018_06_01::Models::Image - VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration - ImageReference = Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference + VirtualMachineExtension = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtension ImageDiskReference = Azure::Compute::Mgmt::V2018_06_01::Models::ImageDiskReference - VirtualMachineScaleSetNetworkConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfiguration - VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration + VirtualMachine = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine GalleryIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier - VirtualMachineScaleSetUpdateNetworkConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration + ManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference RecommendedMachineConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration RollingUpgradeStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo DiskUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate - VirtualMachineScaleSet = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSet + VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration SnapshotUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotUpdate - VirtualMachine = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine + VirtualMachineScaleSetUpdateNetworkConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration RunCommandResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult - Disk = Azure::Compute::Mgmt::V2018_06_01::Models::Disk - VirtualMachineScaleSetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdate - VirtualMachineScaleSetVM = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM - GalleryDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage + VirtualMachineScaleSet = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSet + ImageReference = Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference + VirtualMachineScaleSetNetworkConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfiguration + NetworkInterfaceReference = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference VirtualMachineScaleSetExtension = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtension ImageOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageOSDisk ResourceRange = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange - VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk - AdditionalCapabilities = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalCapabilities - GalleryImageVersionStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile - ManagedArtifact = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact - GalleryOSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage - DataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage + VirtualMachineScaleSetVM = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM RunCommandDocument = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument + GalleryImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage + GalleryImageVersionPublishingProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile + GalleryOSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage + VirtualMachineScaleSetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdate + GalleryImageVersion = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion AvailabilitySetSkuTypes = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes - StatusLevelTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes + Disk = Azure::Compute::Mgmt::V2018_06_01::Models::Disk OperatingSystemTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes + InstanceViewStatus = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus + CachingTypes = Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes + GalleryDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage + GalleryImageIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier + TargetRegion = Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion + ImagePurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan + VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk Snapshot = Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot - KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes - GalleryArtifactSource = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource - TargetRegion = Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion - ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames - Gallery = Azure::Compute::Mgmt::V2018_06_01::Models::Gallery - GalleryImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage - VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile StorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage - GalleryImageVersion = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion + StatusLevelTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes SettingNames = Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes - CachingTypes = Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes + ResourceIdentityType = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType MaintenanceOperationResultCodeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes UpgradeMode = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames - GalleryList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList - DiskCreateOption = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption + ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames + Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku ProtocolTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes - ResourceIdentityType = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType - VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType + IPVersion = Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion + Gallery = Azure::Compute::Mgmt::V2018_06_01::Models::Gallery RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode - GalleryImageVersionPublishingProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile + OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes + DiskCreateOption = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption AccessLevel = Azure::Compute::Mgmt::V2018_06_01::Models::AccessLevel InstanceViewTypes = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewTypes - IPVersion = Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion DiffDiskOptions = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions AggregatedReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState RollingUpgradeActionType = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType - OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes + HostCaching = Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching DiskStorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskStorageAccountTypes ReplicationStatusTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatusTypes + VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType ReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState - HostCaching = Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotStorageAccountTypes end class ComputeManagementClass - attr_reader :resource_skus, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :gallery_images, :operations, :virtual_machine_run_commands, :disks, :gallery_image_versions, :galleries, :snapshots, :log_analytics, :configurable, :base_url, :options, :model_classes + attr_reader :resource_skus, :galleries, :snapshots, :log_analytics, :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, :gallery_images, :operations, :virtual_machine_run_commands, :disks, :gallery_image_versions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -291,6 +291,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_3.subscription_id = configurable.subscription_id end add_telemetry(@client_3) + @galleries = @client_3.galleries + @snapshots = @client_3.snapshots + @log_analytics = @client_3.log_analytics @availability_sets = @client_3.availability_sets @virtual_machine_extension_images = @client_3.virtual_machine_extension_images @virtual_machine_extensions = @client_3.virtual_machine_extensions @@ -308,9 +311,6 @@ def initialize(configurable, base_url=nil, options=nil) @virtual_machine_run_commands = @client_3.virtual_machine_run_commands @disks = @client_3.disks @gallery_image_versions = @client_3.gallery_image_versions - @galleries = @client_3.galleries - @snapshots = @client_3.snapshots - @log_analytics = @client_3.log_analytics @model_classes = ModelClasses.new end @@ -335,6 +335,18 @@ def method_missing(method, *args) end class ModelClasses + def resource_sku_restrictions_type + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType + end + def resource_sku + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + end + def resource_sku_location_info + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo + end + def resource_skus_result + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult + end def resource_sku_restrictions_reason_code Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode end @@ -356,18 +368,6 @@ def resource_sku_capacity_scale_type def resource_sku_restrictions Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions end - def resource_sku_restrictions_type - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType - end - def resource_sku - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku - end - def resource_sku_location_info - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo - end - def resource_skus_result - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult - end def operation_status_response Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse end @@ -506,11 +506,11 @@ def virtual_machine_scale_set_update_osprofile def snapshot_list Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotList end - def instance_view_status - Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus + def gallery_list + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList end - def sku - Azure::Compute::Mgmt::V2018_06_01::Models::Sku + def key_vault_key_reference + Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference end def virtual_hard_disk Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk @@ -524,11 +524,11 @@ def osdisk def disallowed Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed end - def storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile + def additional_capabilities + Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalCapabilities end - def image_purchase_plan - Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan + def virtual_machine_scale_set_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile end def win_rmlistener Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener @@ -536,8 +536,8 @@ def win_rmlistener def virtual_machine_scale_set_update_storage_profile Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile end - def diff_disk_settings - Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings + def windows_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration end def api_entity_reference Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference @@ -563,8 +563,8 @@ def virtual_machine_scale_set_update_public_ipaddress_configuration def network_profile Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile end - def virtual_machine_scale_set_identity_user_assigned_identities_value - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue + def diff_disk_settings + Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings end def diagnostics_profile Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile @@ -587,11 +587,11 @@ def creation_data def virtual_machine_identity_user_assigned_identities_value Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue end - def regional_replication_status - Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus + def storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile end - def disk_list - Azure::Compute::Mgmt::V2018_06_01::Models::DiskList + def gallery_image_version_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile end def virtual_machine_scale_set_network_profile Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile @@ -605,11 +605,11 @@ def virtual_machine_scale_set_update_network_profile def maintenance_redeploy_status Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus end - def rolling_upgrade_policy - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy + def regional_replication_status + Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus end - def image_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile + def disk_list + Azure::Compute::Mgmt::V2018_06_01::Models::DiskList end def virtual_machine_scale_set_extension_list_result Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionListResult @@ -617,29 +617,29 @@ def virtual_machine_scale_set_extension_list_result def virtual_machine_scale_set_extension_profile Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionProfile end - def run_command_parameter_definition - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition + def image_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile end def virtual_machine_scale_set_vmprofile Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile end - def gallery_image_identifier - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier + def data_disk_image + Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage end def virtual_machine_scale_set_update_vmprofile Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateVMProfile end - def list_usages_result - Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult + def virtual_machine_scale_set_identity_user_assigned_identities_value + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue end def disk_sku Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku end - def hardware_profile - Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile + def run_command_parameter_definition + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition end - def gallery_image_list - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList + def managed_artifact + Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact end def disk_encryption_settings Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings @@ -671,8 +671,8 @@ def grant_access_data def virtual_machine_scale_set_vmextensions_summary Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary end - def windows_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration + def replication_status + Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus end def virtual_machine_scale_set_instance_view Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceView @@ -710,12 +710,12 @@ def virtual_machine_scale_set_list_skus_result def key_vault_secret_reference Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference end + def gallery_artifact_source + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource + end def virtual_machine_health_status Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus end - def virtual_machine_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult - end def virtual_machine_scale_set_vminstance_view Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView end @@ -734,8 +734,8 @@ def virtual_machine_scale_set_vmlist_result def upgrade_policy Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy end - def replication_status - Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus + def virtual_machine_extension_handler_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView end def purchase_plan Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan @@ -761,8 +761,8 @@ def virtual_machine_size def api_error Azure::Compute::Mgmt::V2018_06_01::Models::ApiError end - def ssh_public_key - Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey + def rolling_upgrade_policy + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy end def rolling_upgrade_running_status Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus @@ -770,8 +770,8 @@ def rolling_upgrade_running_status def update_resource Azure::Compute::Mgmt::V2018_06_01::Models::UpdateResource end - def run_command_input_parameter - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter + def ssh_public_key + Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey end def virtual_machine_instance_view Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView @@ -779,62 +779,62 @@ def virtual_machine_instance_view def resource Azure::Compute::Mgmt::V2018_06_01::Models::Resource end - def virtual_machine_extension_handler_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView - end def availability_set Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet end - def virtual_machine_image_resource - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource - end - def virtual_machine_extension - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtension - end def virtual_machine_extension_image Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionImage end - def virtual_machine_image - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage + def run_command_input_parameter + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter + end + def gallery_image_list + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList + end + def virtual_machine_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult + end + def list_usages_result + Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult end def additional_unattend_content Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent end - def virtual_machine_capture_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureResult + def hardware_profile + Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile end - def managed_disk_parameters - Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters + def virtual_machine_image_resource + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource end - def network_interface_reference - Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference + def virtual_machine_capture_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureResult end def virtual_machine_extension_update Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionUpdate end + def virtual_machine_image + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage + end def image Azure::Compute::Mgmt::V2018_06_01::Models::Image end - def virtual_machine_scale_set_ipconfiguration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration - end - def image_reference - Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference + def virtual_machine_extension + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtension end def image_disk_reference Azure::Compute::Mgmt::V2018_06_01::Models::ImageDiskReference end - def virtual_machine_scale_set_network_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfiguration + def virtual_machine_scale_set_ipconfiguration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration end - def virtual_machine_scale_set_update_ipconfiguration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + def virtual_machine + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine end def gallery_identifier Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier end - def virtual_machine_scale_set_update_network_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration + def managed_disk_parameters + Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters end def key_vault_and_secret_reference Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference @@ -848,29 +848,29 @@ def rolling_upgrade_status_info def disk_update Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate end - def virtual_machine_scale_set - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSet + def virtual_machine_scale_set_update_ipconfiguration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration end def snapshot_update Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotUpdate end - def virtual_machine - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine + def virtual_machine_scale_set_update_network_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration end def run_command_result Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult end - def disk - Azure::Compute::Mgmt::V2018_06_01::Models::Disk + def virtual_machine_scale_set + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSet end - def virtual_machine_scale_set_update - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdate + def image_reference + Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference end - def virtual_machine_scale_set_vm - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM + def virtual_machine_scale_set_network_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfiguration end - def gallery_disk_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage + def network_interface_reference + Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference end def virtual_machine_scale_set_extension Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtension @@ -881,62 +881,62 @@ def image_osdisk def resource_range Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange end - def virtual_machine_scale_set_data_disk - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk + def virtual_machine_scale_set_vm + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM end - def additional_capabilities - Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalCapabilities + def run_command_document + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument end - def gallery_image_version_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile + def gallery_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage end - def managed_artifact - Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact + def gallery_image_version_publishing_profile + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile end def gallery_osdisk_image Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage end - def data_disk_image - Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage + def virtual_machine_scale_set_update + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdate end - def run_command_document - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument + def gallery_image_version + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion end def availability_set_sku_types Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes end - def status_level_types - Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes + def disk + Azure::Compute::Mgmt::V2018_06_01::Models::Disk end def operating_system_types Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes end - def snapshot - Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot + def instance_view_status + Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus end - def key_vault_key_reference - Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference + def caching_types + Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes end - def disk_create_option_types - Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes + def gallery_disk_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage end - def gallery_artifact_source - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource + def gallery_image_identifier + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier end def target_region Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion end - def component_names - Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames + def image_purchase_plan + Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan end - def gallery - Azure::Compute::Mgmt::V2018_06_01::Models::Gallery + def virtual_machine_scale_set_data_disk + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk end - def gallery_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage + def snapshot + Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot end - def virtual_machine_scale_set_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile + def disk_create_option_types + Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes end def storage_account_types Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes @@ -944,8 +944,8 @@ def storage_account_types def gallery_data_disk_image Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage end - def gallery_image_version - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion + def status_level_types + Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes end def setting_names Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames @@ -953,8 +953,8 @@ def setting_names def virtual_machine_size_types Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes end - def caching_types - Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes + def resource_identity_type + Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType end def maintenance_operation_result_code_types Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes @@ -965,26 +965,29 @@ def upgrade_mode def pass_names Azure::Compute::Mgmt::V2018_06_01::Models::PassNames end - def gallery_list - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList + def component_names + Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames end - def disk_create_option - Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption + def sku + Azure::Compute::Mgmt::V2018_06_01::Models::Sku end def protocol_types Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes end - def resource_identity_type - Azure::Compute::Mgmt::V2018_06_01::Models::ResourceIdentityType + def ipversion + Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion end - def virtual_machine_scale_set_sku_scale_type - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType + def gallery + Azure::Compute::Mgmt::V2018_06_01::Models::Gallery end def rolling_upgrade_status_code Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode end - def gallery_image_version_publishing_profile - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile + def operating_system_state_types + Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes + end + def disk_create_option + Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption end def access_level Azure::Compute::Mgmt::V2018_06_01::Models::AccessLevel @@ -992,9 +995,6 @@ def access_level def instance_view_types Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewTypes end - def ipversion - Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion - end def diff_disk_options Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions end @@ -1004,8 +1004,8 @@ def aggregated_replication_state def rolling_upgrade_action_type Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType end - def operating_system_state_types - Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes + def host_caching + Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching end def disk_storage_account_types Azure::Compute::Mgmt::V2018_06_01::Models::DiskStorageAccountTypes @@ -1013,12 +1013,12 @@ def disk_storage_account_types def replication_status_types Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatusTypes end + def virtual_machine_scale_set_sku_scale_type + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType + end def replication_state Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState end - def host_caching - Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching - end def snapshot_storage_account_types Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotStorageAccountTypes end diff --git a/azure_sdk/lib/latest/modules/computervision_profile_module.rb b/azure_sdk/lib/latest/modules/computervision_profile_module.rb index 82d0bd3047..cbfb64dc0d 100644 --- a/azure_sdk/lib/latest/modules/computervision_profile_module.rb +++ b/azure_sdk/lib/latest/modules/computervision_profile_module.rb @@ -8,6 +8,12 @@ module Azure::Profiles::Latest module ComputerVision module Models + TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes + Gender = Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender + ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes + VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes + OcrLanguages = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages + TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode Details = Azure::CognitiveServices::ComputerVision::V2_0::Models::Details ImageType = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageType FaceDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription @@ -40,12 +46,6 @@ module Models LandmarksModel = Azure::CognitiveServices::ComputerVision::V2_0::Models::LandmarksModel ImageUrl = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageUrl ImageDescriptionDetails = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails - TextOperationStatusCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes - Gender = Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender - ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes - VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes - OcrLanguages = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages - TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode end class ComputerVisionDataClass @@ -77,6 +77,24 @@ def method_missing(method, *args) end class ModelClasses + def text_operation_status_codes + Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes + end + def gender + Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender + end + def computer_vision_error_codes + Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes + end + def visual_feature_types + Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes + end + def ocr_languages + Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages + end + def text_recognition_mode + Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode + end def details Azure::CognitiveServices::ComputerVision::V2_0::Models::Details end @@ -173,24 +191,6 @@ def image_url def image_description_details Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageDescriptionDetails end - def text_operation_status_codes - Azure::CognitiveServices::ComputerVision::V2_0::Models::TextOperationStatusCodes - end - def gender - Azure::CognitiveServices::ComputerVision::V2_0::Models::Gender - end - def computer_vision_error_codes - Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes - end - def visual_feature_types - Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes - end - def ocr_languages - Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages - end - def text_recognition_mode - Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode - 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 fc9f87bceb..3ddd72db49 100644 --- a/azure_sdk/lib/latest/modules/consumption_profile_module.rb +++ b/azure_sdk/lib/latest/modules/consumption_profile_module.rb @@ -7,18 +7,18 @@ module Azure::Profiles::Latest module Consumption module Mgmt - Operations = Azure::Consumption::Mgmt::V2018_06_30::Operations - Tags = Azure::Consumption::Mgmt::V2018_06_30::Tags - UsageDetails = Azure::Consumption::Mgmt::V2018_06_30::UsageDetails - Marketplaces = Azure::Consumption::Mgmt::V2018_06_30::Marketplaces - Balances = Azure::Consumption::Mgmt::V2018_06_30::Balances - ReservationsSummaries = Azure::Consumption::Mgmt::V2018_06_30::ReservationsSummaries ReservationsDetails = Azure::Consumption::Mgmt::V2018_06_30::ReservationsDetails ReservationRecommendations = Azure::Consumption::Mgmt::V2018_06_30::ReservationRecommendations Budgets = Azure::Consumption::Mgmt::V2018_06_30::Budgets PriceSheet = Azure::Consumption::Mgmt::V2018_06_30::PriceSheet CostTags = Azure::Consumption::Mgmt::V2018_06_30::CostTags Forecasts = Azure::Consumption::Mgmt::V2018_06_30::Forecasts + Operations = Azure::Consumption::Mgmt::V2018_06_30::Operations + Tags = Azure::Consumption::Mgmt::V2018_06_30::Tags + UsageDetails = Azure::Consumption::Mgmt::V2018_06_30::UsageDetails + Marketplaces = Azure::Consumption::Mgmt::V2018_06_30::Marketplaces + Balances = Azure::Consumption::Mgmt::V2018_06_30::Balances + ReservationsSummaries = Azure::Consumption::Mgmt::V2018_06_30::ReservationsSummaries module Models ErrorResponse = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse @@ -50,27 +50,27 @@ module Models Operation = Azure::Consumption::Mgmt::V2018_06_30::Models::Operation ReservationDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail OperationListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult - Marketplace = Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace + Tag = Azure::Consumption::Mgmt::V2018_06_30::Models::Tag ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult PriceSheetResult = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult CostTag = Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag - TagsResult = Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult - Tag = Azure::Consumption::Mgmt::V2018_06_30::Models::Tag + Marketplace = Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace + Balance = Azure::Consumption::Mgmt::V2018_06_30::Models::Balance TimeGrainType = Azure::Consumption::Mgmt::V2018_06_30::Models::TimeGrainType - OperatorType = Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType - Forecast = Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast + CategoryType = Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType + TagsResult = Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult Budget = Azure::Consumption::Mgmt::V2018_06_30::Models::Budget - Balance = Azure::Consumption::Mgmt::V2018_06_30::Models::Balance + Grain = Azure::Consumption::Mgmt::V2018_06_30::Models::Grain ChargeType = Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType - Bound = Azure::Consumption::Mgmt::V2018_06_30::Models::Bound + Forecast = Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast BillingFrequency = Azure::Consumption::Mgmt::V2018_06_30::Models::BillingFrequency - CategoryType = Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType + Bound = Azure::Consumption::Mgmt::V2018_06_30::Models::Bound + OperatorType = Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType Datagrain = Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain - Grain = Azure::Consumption::Mgmt::V2018_06_30::Models::Grain end class ConsumptionManagementClass - attr_reader :operations, :tags, :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :budgets, :price_sheet, :cost_tags, :forecasts, :configurable, :base_url, :options, :model_classes + attr_reader :reservations_details, :reservation_recommendations, :budgets, :price_sheet, :cost_tags, :forecasts, :operations, :tags, :usage_details, :marketplaces, :balances, :reservations_summaries, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -80,18 +80,18 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations - @tags = @client_0.tags - @usage_details = @client_0.usage_details - @marketplaces = @client_0.marketplaces - @balances = @client_0.balances - @reservations_summaries = @client_0.reservations_summaries @reservations_details = @client_0.reservations_details @reservation_recommendations = @client_0.reservation_recommendations @budgets = @client_0.budgets @price_sheet = @client_0.price_sheet @cost_tags = @client_0.cost_tags @forecasts = @client_0.forecasts + @operations = @client_0.operations + @tags = @client_0.tags + @usage_details = @client_0.usage_details + @marketplaces = @client_0.marketplaces + @balances = @client_0.balances + @reservations_summaries = @client_0.reservations_summaries @model_classes = ModelClasses.new end @@ -197,8 +197,8 @@ def reservation_detail def operation_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult end - def marketplace - Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace + def tag + Azure::Consumption::Mgmt::V2018_06_30::Models::Tag end def reservation_details_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult @@ -209,45 +209,45 @@ def price_sheet_result def cost_tag Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag end - def tags_result - Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult + def marketplace + Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace end - def tag - Azure::Consumption::Mgmt::V2018_06_30::Models::Tag + def balance + Azure::Consumption::Mgmt::V2018_06_30::Models::Balance end def time_grain_type Azure::Consumption::Mgmt::V2018_06_30::Models::TimeGrainType end - def operator_type - Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType + def category_type + Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType end - def forecast - Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast + def tags_result + Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult end def budget Azure::Consumption::Mgmt::V2018_06_30::Models::Budget end - def balance - Azure::Consumption::Mgmt::V2018_06_30::Models::Balance + def grain + Azure::Consumption::Mgmt::V2018_06_30::Models::Grain end def charge_type Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType end - def bound - Azure::Consumption::Mgmt::V2018_06_30::Models::Bound + def forecast + Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast end def billing_frequency Azure::Consumption::Mgmt::V2018_06_30::Models::BillingFrequency end - def category_type - Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType + def bound + Azure::Consumption::Mgmt::V2018_06_30::Models::Bound + end + def operator_type + Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType end def datagrain Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain end - def grain - Azure::Consumption::Mgmt::V2018_06_30::Models::Grain - 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 4264f57c31..2678c453f7 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -7,22 +7,28 @@ module Azure::Profiles::Latest module ContainerInstance module Mgmt - ServiceAssociationLink = Azure::ContainerInstance::Mgmt::V2018_10_01::ServiceAssociationLink - Operations = Azure::ContainerInstance::Mgmt::V2018_10_01::Operations ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_10_01::ContainerGroups ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_10_01::ContainerGroupUsage ContainerOperations = Azure::ContainerInstance::Mgmt::V2018_10_01::ContainerOperations + ServiceAssociationLink = Azure::ContainerInstance::Mgmt::V2018_10_01::ServiceAssociationLink + Operations = Azure::ContainerInstance::Mgmt::V2018_10_01::Operations module Models + ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecRequest + AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::AzureFileVolume + ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecResponse + GpuResource = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::GpuResource + ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup + ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerNetworkProtocol GpuSku = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::GpuSku ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupRestartPolicy - ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecResponse ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupNetworkProtocol - ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecRequest - LogAnalyticsLogType = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::LogAnalyticsLogType ContainerGroupIpAddressType = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupIpAddressType - OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::OperatingSystemTypes + EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::EnvironmentVariable + Logs = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Logs ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerInstanceOperationsOrigin + OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::OperatingSystemTypes + LogAnalyticsLogType = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::LogAnalyticsLogType Event = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Event UsageListResult = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::UsageListResult UsageName = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::UsageName @@ -54,19 +60,13 @@ module Models ResourceIdentityType = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ResourceIdentityType ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupListResult Volume = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Volume - Logs = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Logs - EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::EnvironmentVariable - ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecRequestTerminalSize VolumeMount = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::VolumeMount - AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::AzureFileVolume + ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecRequestTerminalSize ContainerGroupIdentity = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupIdentity - GpuResource = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::GpuResource - ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup - ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerNetworkProtocol end class ContainerInstanceManagementClass - attr_reader :service_association_link, :operations, :container_groups, :container_group_usage, :container_operations, :configurable, :base_url, :options, :model_classes + attr_reader :container_groups, :container_group_usage, :container_operations, :service_association_link, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -76,11 +76,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @service_association_link = @client_0.service_association_link - @operations = @client_0.operations @container_groups = @client_0.container_groups @container_group_usage = @client_0.container_group_usage @container_operations = @client_0.container_operations + @service_association_link = @client_0.service_association_link + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -99,33 +99,51 @@ def method_missing(method, *args) end class ModelClasses + def container_exec_request + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecRequest + end + def azure_file_volume + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::AzureFileVolume + end + def container_exec_response + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecResponse + end + def gpu_resource + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::GpuResource + end + def container_group + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup + end + def container_network_protocol + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerNetworkProtocol + end def gpu_sku Azure::ContainerInstance::Mgmt::V2018_10_01::Models::GpuSku end def container_group_restart_policy Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupRestartPolicy end - def container_exec_response - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecResponse - end def container_group_network_protocol Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupNetworkProtocol end - def container_exec_request - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecRequest - end - def log_analytics_log_type - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::LogAnalyticsLogType - end def container_group_ip_address_type Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupIpAddressType end - def operating_system_types - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::OperatingSystemTypes + def environment_variable + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::EnvironmentVariable + end + def logs + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Logs end def container_instance_operations_origin Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerInstanceOperationsOrigin end + def operating_system_types + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::OperatingSystemTypes + end + def log_analytics_log_type + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::LogAnalyticsLogType + end def event Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Event end @@ -219,33 +237,15 @@ def container_group_list_result def volume Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Volume end - def logs - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::Logs - end - def environment_variable - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::EnvironmentVariable - end - def container_exec_request_terminal_size - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecRequestTerminalSize - end def volume_mount Azure::ContainerInstance::Mgmt::V2018_10_01::Models::VolumeMount end - def azure_file_volume - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::AzureFileVolume + def container_exec_request_terminal_size + Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerExecRequestTerminalSize end def container_group_identity Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroupIdentity end - def gpu_resource - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::GpuResource - end - def container_group - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerGroup - end - def container_network_protocol - Azure::ContainerInstance::Mgmt::V2018_10_01::Models::ContainerNetworkProtocol - end end end end diff --git a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb index 587853a49d..037e46719d 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -7,11 +7,11 @@ module Azure::Profiles::Latest module ContainerRegistry module Mgmt - Replications = Azure::ContainerRegistry::Mgmt::V2017_10_01::Replications Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations - Registries = Azure::ContainerRegistry::Mgmt::V2018_09_01::Registries + Replications = Azure::ContainerRegistry::Mgmt::V2017_10_01::Replications Runs = Azure::ContainerRegistry::Mgmt::V2018_09_01::Runs + Registries = Azure::ContainerRegistry::Mgmt::V2018_09_01::Registries Tasks = Azure::ContainerRegistry::Mgmt::V2018_09_01::Tasks module Models @@ -43,7 +43,7 @@ module Models Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult - RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent VirtualNetworkRule = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::VirtualNetworkRule @@ -52,10 +52,10 @@ module Models 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 - ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode + RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor DefaultAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::DefaultAction - EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult + ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier @@ -65,10 +65,16 @@ module Models WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook - SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source + PlatformUpdateParameters = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::PlatformUpdateParameters + TaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::TaskStepUpdateParameters + ImageDescriptor = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::ImageDescriptor + AuthInfoUpdateParameters = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::AuthInfoUpdateParameters + SourceTriggerDescriptor = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceTriggerDescriptor + SourceUpdateParameters = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceUpdateParameters AgentProperties = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::AgentProperties SourceTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceTriggerUpdateParameters SourceUploadDefinition = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceUploadDefinition @@ -119,16 +125,10 @@ module Models BaseImageTriggerType = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::BaseImageTriggerType TriggerStatus = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::TriggerStatus Resource = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::Resource - PlatformUpdateParameters = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::PlatformUpdateParameters - TaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::TaskStepUpdateParameters - ImageDescriptor = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::ImageDescriptor - AuthInfoUpdateParameters = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::AuthInfoUpdateParameters - SourceTriggerDescriptor = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceTriggerDescriptor - SourceUpdateParameters = Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceUpdateParameters end class ContainerRegistryManagementClass - attr_reader :replications, :webhooks, :operations, :registries, :runs, :tasks, :configurable, :base_url, :options, :model_classes + attr_reader :webhooks, :operations, :replications, :runs, :registries, :tasks, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -138,17 +138,17 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @replications = @client_0.replications @webhooks = @client_0.webhooks @operations = @client_0.operations + @replications = @client_0.replications @client_1 = Azure::ContainerRegistry::Mgmt::V2018_09_01::ContainerRegistryManagementClient.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) - @registries = @client_1.registries @runs = @client_1.runs + @registries = @client_1.registries @tasks = @client_1.tasks @model_classes = ModelClasses.new @@ -254,8 +254,8 @@ def callback_config def registry_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end - def registry_usage - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage + def event_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult end def registry_list_credentials_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult @@ -281,8 +281,8 @@ def registry def replication Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication end - def import_mode - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode + def registry_usage + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end def actor Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor @@ -290,8 +290,8 @@ def actor def default_action Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::DefaultAction end - def event_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult + def import_mode + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode end def registry_usage_unit Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit @@ -320,18 +320,36 @@ def operation_list_result def webhook Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook end - def sku_name - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName - end def status Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status end + def sku_name + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName + end def sku Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku end def source Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end + def platform_update_parameters + Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::PlatformUpdateParameters + end + def task_step_update_parameters + Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::TaskStepUpdateParameters + end + def image_descriptor + Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::ImageDescriptor + end + def auth_info_update_parameters + Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::AuthInfoUpdateParameters + end + def source_trigger_descriptor + Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceTriggerDescriptor + end + def source_update_parameters + Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceUpdateParameters + end def agent_properties Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::AgentProperties end @@ -482,24 +500,6 @@ def trigger_status def resource Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::Resource end - def platform_update_parameters - Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::PlatformUpdateParameters - end - def task_step_update_parameters - Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::TaskStepUpdateParameters - end - def image_descriptor - Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::ImageDescriptor - end - def auth_info_update_parameters - Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::AuthInfoUpdateParameters - end - def source_trigger_descriptor - Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceTriggerDescriptor - end - def source_update_parameters - Azure::ContainerRegistry::Mgmt::V2018_09_01::Models::SourceUpdateParameters - end 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 51437dd44d..2e64bceb0a 100644 --- a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb @@ -18,6 +18,7 @@ module Models ContainerServiceListResult = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceListResult ContainerService = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerService ContainerServiceOrchestratorTypes = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorTypes + TagsObject = Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject ContainerServiceWindowsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceWindowsProfile ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration @@ -44,10 +45,9 @@ module Models ManagedClusterAccessProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAccessProfile NetworkPlugin = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPlugin NetworkPolicy = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy - TagsObject = Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject - OrchestratorVersionProfileListResult = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult OrchestratorProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile + OrchestratorVersionProfileListResult = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult end class ContainerServiceManagementClass @@ -116,6 +116,9 @@ def container_service def container_service_orchestrator_types Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorTypes end + def tags_object + Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject + end def container_service_windows_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceWindowsProfile end @@ -194,18 +197,15 @@ def network_plugin def network_policy Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy end - def tags_object - Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject - end - def orchestrator_version_profile_list_result - Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult - end def orchestrator_profile Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile end def orchestrator_version_profile Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile end + def orchestrator_version_profile_list_result + Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfileListResult + 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 6f1b5aade0..596f9da9dd 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -6,15 +6,16 @@ module Azure::Profiles::Latest module ContentModerator - ImageModeration = Azure::CognitiveServices::ContentModerator::V1_0::ImageModeration - TextModeration = Azure::CognitiveServices::ContentModerator::V1_0::TextModeration - ListManagementImageLists = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementImageLists ListManagementTermLists = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementTermLists ListManagementImage = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementImage ListManagementTerm = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementTerm Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews + ImageModeration = Azure::CognitiveServices::ContentModerator::V1_0::ImageModeration + TextModeration = Azure::CognitiveServices::ContentModerator::V1_0::TextModeration + ListManagementImageLists = Azure::CognitiveServices::ContentModerator::V1_0::ListManagementImageLists module Models + ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem ImageIds = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList @@ -35,23 +36,23 @@ module Models APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem + Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem - Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem + SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII + CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces - CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match - Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body + CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList - SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN + Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem ClassificationCategory1 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem @@ -64,18 +65,17 @@ module Models Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content - ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error + ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status - ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem end class ContentModeratorDataClass - attr_reader :image_moderation, :text_moderation, :list_management_image_lists, :list_management_term_lists, :list_management_image, :list_management_term, :reviews, :configurable, :base_url, :options, :model_classes + attr_reader :list_management_term_lists, :list_management_image, :list_management_term, :reviews, :image_moderation, :text_moderation, :list_management_image_lists, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -85,13 +85,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @image_moderation = @client_0.image_moderation - @text_moderation = @client_0.text_moderation - @list_management_image_lists = @client_0.list_management_image_lists @list_management_term_lists = @client_0.list_management_term_lists @list_management_image = @client_0.list_management_image @list_management_term = @client_0.list_management_term @reviews = @client_0.reviews + @image_moderation = @client_0.image_moderation + @text_moderation = @client_0.text_moderation + @list_management_image_lists = @client_0.list_management_image_lists @model_classes = ModelClasses.new end @@ -110,6 +110,9 @@ def method_missing(method, *args) end class ModelClasses + def image_additional_info_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem + end def image_ids Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds end @@ -170,6 +173,9 @@ def image_list def transcript_moderation_body_item_terms_item Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem end + def face + Azure::CognitiveServices::ContentModerator::V1_0::Models::Face + end def refresh_index Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex end @@ -188,11 +194,8 @@ def classification_category3 def create_video_reviews_body_item_video_frames_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem end - def face - Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - end - def create_video_reviews_body_item_video_frames_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem + def ssn + Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN end def job_list_result Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult @@ -200,26 +203,26 @@ def job_list_result def pii Azure::CognitiveServices::ContentModerator::V1_0::Models::PII end + def create_video_reviews_body_item_video_frames_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem + end def 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 create_video_reviews_body_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem end def match Azure::CognitiveServices::ContentModerator::V1_0::Models::Match end - def body - Azure::CognitiveServices::ContentModerator::V1_0::Models::Body + def create_video_reviews_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem end def term_list Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList end - def ssn - Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN + def body + Azure::CognitiveServices::ContentModerator::V1_0::Models::Body end def video_frame_body_item_reviewer_result_tags_item Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem @@ -257,12 +260,12 @@ def detected_language def content Azure::CognitiveServices::ContentModerator::V1_0::Models::Content end - def image_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - end def error Azure::CognitiveServices::ContentModerator::V1_0::Models::Error end + def image_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + end def job Azure::CognitiveServices::ContentModerator::V1_0::Models::Job end @@ -278,9 +281,6 @@ def tag def status Azure::CognitiveServices::ContentModerator::V1_0::Models::Status end - def image_additional_info_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem - 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 516b285a25..2dc6f80dda 100644 --- a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb @@ -7,6 +7,12 @@ module Azure::Profiles::Latest module CustomerInsights module Mgmt + Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions + Relationships = Azure::CustomerInsights::Mgmt::V2017_04_26::Relationships + RelationshipLinks = Azure::CustomerInsights::Mgmt::V2017_04_26::RelationshipLinks + 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 @@ -14,16 +20,10 @@ module Mgmt Roles = Azure::CustomerInsights::Mgmt::V2017_04_26::Roles Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links Predictions = Azure::CustomerInsights::Mgmt::V2017_04_26::Predictions - Images = Azure::CustomerInsights::Mgmt::V2017_04_26::Images RoleAssignments = Azure::CustomerInsights::Mgmt::V2017_04_26::RoleAssignments + Images = Azure::CustomerInsights::Mgmt::V2017_04_26::Images Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations 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 - AuthorizationPolicies = Azure::CustomerInsights::Mgmt::V2017_04_26::AuthorizationPolicies - Connectors = Azure::CustomerInsights::Mgmt::V2017_04_26::Connectors - ConnectorMappings = Azure::CustomerInsights::Mgmt::V2017_04_26::ConnectorMappings module Models KpiListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult @@ -35,9 +35,9 @@ module Models 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 SalesforceTable = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceTable - AuthorizationPolicy = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicy InteractionListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionListResult AzureBlobConnectorProperties = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AzureBlobConnectorProperties PredictionMappings = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionMappings @@ -45,20 +45,20 @@ module Models ConnectorMappingErrorManagement = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingErrorManagement 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 + KpiThresholds = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds ConnectorListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorListResult + ConnectorMappingCompleteOperation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation KpiParticipantProfilesMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata - KpiThresholds = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds KpiExtract = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiExtract + ConnectorMappingListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult TypePropertiesMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping AuthorizationPolicyListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyListResult - ConnectorMappingListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult - RelationshipTypeFieldMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeFieldMapping PredictionListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionListResult - LinkListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkListResult - HubListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::HubListResult RelationshipLinkFieldMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkFieldMapping + RelationshipTypeFieldMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeFieldMapping + HubListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::HubListResult PredictionModelStatus = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelStatus + LinkListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkListResult RelationshipListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipListResult SalesforceConnectorProperties = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceConnectorProperties PropertyDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PropertyDefinition @@ -100,40 +100,40 @@ module Models AuthorizationPolicyResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyResourceFormat Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource RelationshipResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipResourceFormat - RelationshipLinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat + RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult 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 + RelationshipLinkResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat RoleResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat PredictionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay - RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult + DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation EntityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult 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 - DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType - ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + RoleAssignmentResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes - ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates - CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes + ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions EntityType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType - ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates - InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes - LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes - PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status end class CustomerInsightsManagementClass - attr_reader :kpi, :widget_types, :profiles, :views, :roles, :links, :predictions, :images, :role_assignments, :operations, :hubs, :interactions, :relationships, :relationship_links, :authorization_policies, :connectors, :connector_mappings, :configurable, :base_url, :options, :model_classes + attr_reader :interactions, :relationships, :relationship_links, :authorization_policies, :connectors, :connector_mappings, :kpi, :widget_types, :profiles, :views, :roles, :links, :predictions, :role_assignments, :images, :operations, :hubs, :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,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @interactions = @client_0.interactions + @relationships = @client_0.relationships + @relationship_links = @client_0.relationship_links + @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 @@ -150,16 +156,10 @@ def initialize(configurable, base_url=nil, options=nil) @roles = @client_0.roles @links = @client_0.links @predictions = @client_0.predictions - @images = @client_0.images @role_assignments = @client_0.role_assignments + @images = @client_0.images @operations = @client_0.operations @hubs = @client_0.hubs - @interactions = @client_0.interactions - @relationships = @client_0.relationships - @relationship_links = @client_0.relationship_links - @authorization_policies = @client_0.authorization_policies - @connectors = @client_0.connectors - @connector_mappings = @client_0.connector_mappings @model_classes = ModelClasses.new end @@ -205,15 +205,15 @@ def profile_list_result def suggest_relationship_links_response Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SuggestRelationshipLinksResponse end + def authorization_policy + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicy + end def prediction_grades_item Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionGradesItem end def salesforce_table Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceTable end - def authorization_policy - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicy - end def interaction_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InteractionListResult end @@ -235,48 +235,48 @@ def relationships_lookup def connector_mapping_availability Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingAvailability end - def connector_mapping_complete_operation - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation + def kpi_thresholds + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds end def connector_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorListResult end + def connector_mapping_complete_operation + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation + end def kpi_participant_profiles_metadata Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata end - def kpi_thresholds - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds - 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 type_properties_mapping Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping end def authorization_policy_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyListResult end - def connector_mapping_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult - end - def relationship_type_field_mapping - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeFieldMapping - end def prediction_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionListResult end - def link_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkListResult + def relationship_link_field_mapping + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkFieldMapping + end + def relationship_type_field_mapping + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeFieldMapping end def hub_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::HubListResult end - def relationship_link_field_mapping - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkFieldMapping - end def prediction_model_status Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelStatus end + def link_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkListResult + end def relationship_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipListResult end @@ -400,8 +400,8 @@ def resource 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 + def role_assignment_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult end def view_resource_format Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewResourceFormat @@ -409,8 +409,8 @@ def view_resource_format 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 + def relationship_link_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipLinkResourceFormat end def role_resource_format Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleResourceFormat @@ -421,8 +421,8 @@ def prediction_resource_format def operation_display Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay end - def role_assignment_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult + def data_source_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType end def operation Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation @@ -442,11 +442,11 @@ def permission_types def connector_types Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes end - def data_source_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType + def connector_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates end - def error_management_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + def role_assignment_resource_format + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentResourceFormat end def frequency_types Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes @@ -454,11 +454,11 @@ def frequency_types def completion_operation_types Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes end - def connector_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + 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 + def error_management_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes end def kpi_functions Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions @@ -466,11 +466,11 @@ def kpi_functions def entity_type Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType end - def connector_mapping_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + def link_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes end - def instance_operation_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + def calculation_window_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes end def cardinality_types Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes @@ -478,15 +478,15 @@ def cardinality_types def role_types Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes end - def link_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + def canonical_property_value_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + end + def instance_operation_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType end def prediction_model_life_cycle Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle end - def canonical_property_value_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType - end def status Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status end diff --git a/azure_sdk/lib/latest/modules/customimagesearch_profile_module.rb b/azure_sdk/lib/latest/modules/customimagesearch_profile_module.rb index 6b5213c00b..978441715b 100644 --- a/azure_sdk/lib/latest/modules/customimagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customimagesearch_profile_module.rb @@ -9,16 +9,18 @@ module Customimagesearch CustomInstance = Azure::CognitiveServices::Customimagesearch::V1_0::CustomInstance module Models + Query = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Query + ImageObject = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageObject + MediaObject = Azure::CognitiveServices::Customimagesearch::V1_0::Models::MediaObject WebPage = Azure::CognitiveServices::Customimagesearch::V1_0::Models::WebPage ErrorSubCode = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorSubCode ErrorResponse = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorResponse + ImageAspect = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageAspect ImageColor = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageColor Freshness = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Freshness - ImageAspect = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageAspect ImageType = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageType ImageLicense = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageLicense ImageContent = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageContent - MediaObject = Azure::CognitiveServices::Customimagesearch::V1_0::Models::MediaObject ImageSize = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageSize Images = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Images Response = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Response @@ -30,9 +32,7 @@ module Models Identifiable = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Identifiable ErrorCode = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorCode SafeSearch = Azure::CognitiveServices::Customimagesearch::V1_0::Models::SafeSearch - Query = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Query Error = Azure::CognitiveServices::Customimagesearch::V1_0::Models::Error - ImageObject = Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageObject end class CustomimagesearchDataClass @@ -65,6 +65,15 @@ def method_missing(method, *args) end class ModelClasses + def query + Azure::CognitiveServices::Customimagesearch::V1_0::Models::Query + end + def image_object + Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageObject + end + def media_object + Azure::CognitiveServices::Customimagesearch::V1_0::Models::MediaObject + end def web_page Azure::CognitiveServices::Customimagesearch::V1_0::Models::WebPage end @@ -74,15 +83,15 @@ def error_sub_code def error_response Azure::CognitiveServices::Customimagesearch::V1_0::Models::ErrorResponse end + def image_aspect + Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageAspect + end def image_color Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageColor end def freshness Azure::CognitiveServices::Customimagesearch::V1_0::Models::Freshness end - def image_aspect - Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageAspect - end def image_type Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageType end @@ -92,9 +101,6 @@ def image_license def image_content Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageContent end - def media_object - Azure::CognitiveServices::Customimagesearch::V1_0::Models::MediaObject - end def image_size Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageSize end @@ -128,15 +134,9 @@ def error_code def safe_search Azure::CognitiveServices::Customimagesearch::V1_0::Models::SafeSearch end - def query - Azure::CognitiveServices::Customimagesearch::V1_0::Models::Query - end def error Azure::CognitiveServices::Customimagesearch::V1_0::Models::Error end - def image_object - Azure::CognitiveServices::Customimagesearch::V1_0::Models::ImageObject - 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 0ad3edfe47..c633af2149 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 + Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response + Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query + QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase WebPage = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer - Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query - Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse + Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable - Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch WebMetaTag = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse - ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat - Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error - QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext end class CustomSearchDataClass @@ -60,6 +60,15 @@ def method_missing(method, *args) end class ModelClasses + def response + Azure::CognitiveServices::CustomSearch::V1_0::Models::Response + end + def query + Azure::CognitiveServices::CustomSearch::V1_0::Models::Query + end + def query_context + Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext + end def response_base Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase end @@ -69,14 +78,14 @@ def web_page def search_results_answer Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer end - def query - Azure::CognitiveServices::CustomSearch::V1_0::Models::Query + def error_response + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse end def answer Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer end - def error_response - Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse + def thing + Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing end def creative_work Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork @@ -84,12 +93,12 @@ def creative_work def identifiable Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable end - def thing - Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing - end def error_code Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode end + def error_sub_code + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode + end def safe_search Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch end @@ -102,21 +111,12 @@ def web_web_answer def search_response Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse end - def error_sub_code - Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode - end def text_format Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat end - def response - Azure::CognitiveServices::CustomSearch::V1_0::Models::Response - end def error Azure::CognitiveServices::CustomSearch::V1_0::Models::Error end - def query_context - Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext - end end end end diff --git a/azure_sdk/lib/latest/modules/customvisionprediction_profile_module.rb b/azure_sdk/lib/latest/modules/customvisionprediction_profile_module.rb index 4486c84109..b8fd580264 100644 --- a/azure_sdk/lib/latest/modules/customvisionprediction_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customvisionprediction_profile_module.rb @@ -8,10 +8,10 @@ module Azure::Profiles::Latest module Customvisionprediction module Models - ImageUrl = Azure::CognitiveServices::Customvisionprediction::V2_0::Models::ImageUrl - BoundingBox = Azure::CognitiveServices::Customvisionprediction::V2_0::Models::BoundingBox Prediction = Azure::CognitiveServices::Customvisionprediction::V2_0::Models::Prediction ImagePrediction = Azure::CognitiveServices::Customvisionprediction::V2_0::Models::ImagePrediction + ImageUrl = Azure::CognitiveServices::Customvisionprediction::V2_0::Models::ImageUrl + BoundingBox = Azure::CognitiveServices::Customvisionprediction::V2_0::Models::BoundingBox end class CustomvisionpredictionDataClass @@ -43,18 +43,18 @@ def method_missing(method, *args) end class ModelClasses - def image_url - Azure::CognitiveServices::Customvisionprediction::V2_0::Models::ImageUrl - end - def bounding_box - Azure::CognitiveServices::Customvisionprediction::V2_0::Models::BoundingBox - end def prediction Azure::CognitiveServices::Customvisionprediction::V2_0::Models::Prediction end def image_prediction Azure::CognitiveServices::Customvisionprediction::V2_0::Models::ImagePrediction end + def image_url + Azure::CognitiveServices::Customvisionprediction::V2_0::Models::ImageUrl + end + def bounding_box + Azure::CognitiveServices::Customvisionprediction::V2_0::Models::BoundingBox + end end end end diff --git a/azure_sdk/lib/latest/modules/customvisiontraining_profile_module.rb b/azure_sdk/lib/latest/modules/customvisiontraining_profile_module.rb index ab59601354..7959326f68 100644 --- a/azure_sdk/lib/latest/modules/customvisiontraining_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customvisiontraining_profile_module.rb @@ -8,52 +8,52 @@ module Azure::Profiles::Latest module Customvisiontraining module Models - Tag = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Tag - Domain = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Domain + Export = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Export + ExportFlavorModel = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportFlavorModel + Iteration = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Iteration + TagType = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::TagType + ExportStatusModel = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportStatusModel + Project = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Project Region = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Region + Domain = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Domain OrderBy = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::OrderBy ImageTag = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageTag ImageUrl = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageUrl ImageIdCreateBatch = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageIdCreateBatch BoundingBox = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::BoundingBox ImageTagCreateBatch = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageTagCreateBatch - Image = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Image + Tag = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Tag RegionProposal = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::RegionProposal + ImageRegionCreateEntry = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateEntry ImageRegionProposal = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionProposal ImageRegionCreateResult = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateResult - ImageRegionCreateEntry = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateEntry + Prediction = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Prediction ImagePrediction = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImagePrediction ImageCreateSummary = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageCreateSummary PredictionQueryTag = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::PredictionQueryTag ImageFileCreateEntry = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageFileCreateEntry - PredictionQueryToken = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::PredictionQueryToken + Image = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Image ImageUrlCreateEntry = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageUrlCreateEntry - StoredImagePrediction = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::StoredImagePrediction + PredictionQueryToken = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::PredictionQueryToken ImageIdCreateEntry = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageIdCreateEntry - PredictionQueryResult = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::PredictionQueryResult + StoredImagePrediction = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::StoredImagePrediction ImageTagCreateSummary = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageTagCreateSummary + PredictionQueryResult = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::PredictionQueryResult + DomainType = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::DomainType TagPerformance = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::TagPerformance ImageRegionCreateSummary = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateSummary IterationPerformance = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::IterationPerformance ImageCreateResult = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageCreateResult - Prediction = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Prediction ImagePerformance = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImagePerformance + ImageRegion = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegion ProjectSettings = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ProjectSettings ImageTagCreateEntry = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageTagCreateEntry - ImageRegion = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegion - Iteration = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Iteration - ImageUrlCreateBatch = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageUrlCreateBatch ImageFileCreateBatch = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageFileCreateBatch - Export = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Export + ImageRegionCreateBatch = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateBatch ImageCreateStatus = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageCreateStatus Classifier = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Classifier ExportPlatformModel = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportPlatformModel - ExportStatusModel = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportStatusModel - DomainType = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::DomainType - ImageRegionCreateBatch = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateBatch - Project = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Project - ExportFlavorModel = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportFlavorModel - TagType = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::TagType + ImageUrlCreateBatch = Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageUrlCreateBatch end class CustomvisiontrainingDataClass @@ -85,15 +85,30 @@ def method_missing(method, *args) end class ModelClasses - def tag - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Tag + def export + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Export end - def domain - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Domain + def export_flavor_model + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportFlavorModel + end + def iteration + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Iteration + end + def tag_type + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::TagType + end + def export_status_model + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportStatusModel + end + def project + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Project end def region Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Region end + def domain + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Domain + end def order_by Azure::CognitiveServices::Customvisiontraining::V2_2::Models::OrderBy end @@ -112,20 +127,23 @@ def bounding_box def image_tag_create_batch Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageTagCreateBatch end - def image - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Image + def tag + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Tag end def region_proposal Azure::CognitiveServices::Customvisiontraining::V2_2::Models::RegionProposal end + def image_region_create_entry + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateEntry + end def image_region_proposal Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionProposal end def image_region_create_result Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateResult end - def image_region_create_entry - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateEntry + def prediction + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Prediction end def image_prediction Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImagePrediction @@ -139,24 +157,30 @@ def prediction_query_tag def image_file_create_entry Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageFileCreateEntry end - def prediction_query_token - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::PredictionQueryToken + def image + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Image end def image_url_create_entry Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageUrlCreateEntry end - def stored_image_prediction - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::StoredImagePrediction + def prediction_query_token + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::PredictionQueryToken end def image_id_create_entry Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageIdCreateEntry end - def prediction_query_result - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::PredictionQueryResult + def stored_image_prediction + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::StoredImagePrediction end def image_tag_create_summary Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageTagCreateSummary end + def prediction_query_result + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::PredictionQueryResult + end + def domain_type + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::DomainType + end def tag_performance Azure::CognitiveServices::Customvisiontraining::V2_2::Models::TagPerformance end @@ -169,32 +193,23 @@ def iteration_performance def image_create_result Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageCreateResult end - def prediction - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Prediction - end def image_performance Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImagePerformance end + def image_region + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegion + end def project_settings Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ProjectSettings end def image_tag_create_entry Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageTagCreateEntry end - def image_region - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegion - end - def iteration - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Iteration - end - def image_url_create_batch - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageUrlCreateBatch - end def image_file_create_batch Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageFileCreateBatch end - def export - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Export + def image_region_create_batch + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateBatch end def image_create_status Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageCreateStatus @@ -205,23 +220,8 @@ def classifier def export_platform_model Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportPlatformModel end - def export_status_model - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportStatusModel - end - def domain_type - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::DomainType - end - def image_region_create_batch - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageRegionCreateBatch - end - def project - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::Project - end - def export_flavor_model - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ExportFlavorModel - end - def tag_type - Azure::CognitiveServices::Customvisiontraining::V2_2::Models::TagType + def image_url_create_batch + Azure::CognitiveServices::Customvisiontraining::V2_2::Models::ImageUrlCreateBatch 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 2ed9f87553..a722939695 100644 --- a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module DataLakeAnalytics module Mgmt + Locations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Locations + FirewallRules = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::FirewallRules Accounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Accounts Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations DataLakeStoreAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::DataLakeStoreAccounts - StorageAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::StorageAccounts - FirewallRules = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::FirewallRules ComputePolicies = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::ComputePolicies - Locations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Locations + StorageAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::StorageAccounts module Models CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters @@ -67,7 +67,7 @@ module Models end class DataLakeAnalyticsManagementClass - attr_reader :accounts, :operations, :data_lake_store_accounts, :storage_accounts, :firewall_rules, :compute_policies, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :locations, :firewall_rules, :accounts, :operations, :data_lake_store_accounts, :compute_policies, :storage_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -77,13 +77,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @locations = @client_0.locations + @firewall_rules = @client_0.firewall_rules @accounts = @client_0.accounts @operations = @client_0.operations @data_lake_store_accounts = @client_0.data_lake_store_accounts - @storage_accounts = @client_0.storage_accounts - @firewall_rules = @client_0.firewall_rules @compute_policies = @client_0.compute_policies - @locations = @client_0.locations + @storage_accounts = @client_0.storage_accounts @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb index b22b5882c5..cf6daa4253 100644 --- a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb @@ -7,12 +7,12 @@ module Azure::Profiles::Latest module DataLakeStore module Mgmt + VirtualNetworkRules = Azure::DataLakeStore::Mgmt::V2016_11_01::VirtualNetworkRules + TrustedIdProviders = Azure::DataLakeStore::Mgmt::V2016_11_01::TrustedIdProviders Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations FirewallRules = Azure::DataLakeStore::Mgmt::V2016_11_01::FirewallRules Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations - VirtualNetworkRules = Azure::DataLakeStore::Mgmt::V2016_11_01::VirtualNetworkRules - TrustedIdProviders = Azure::DataLakeStore::Mgmt::V2016_11_01::TrustedIdProviders module Models EncryptionIdentity = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity @@ -34,9 +34,9 @@ module Models DataLakeStoreAccountListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult CreateOrUpdateVirtualNetworkRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateVirtualNetworkRuleParameters UpdateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters + 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 - TrustedIdProvider = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider EncryptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState EncryptionProvisioningState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState EncryptionConfigType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType @@ -65,7 +65,7 @@ module Models end class DataLakeStoreManagementClass - attr_reader :accounts, :operations, :firewall_rules, :locations, :virtual_network_rules, :trusted_id_providers, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_network_rules, :trusted_id_providers, :accounts, :operations, :firewall_rules, :locations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -75,12 +75,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @virtual_network_rules = @client_0.virtual_network_rules + @trusted_id_providers = @client_0.trusted_id_providers @accounts = @client_0.accounts @operations = @client_0.operations @firewall_rules = @client_0.firewall_rules @locations = @client_0.locations - @virtual_network_rules = @client_0.virtual_network_rules - @trusted_id_providers = @client_0.trusted_id_providers @model_classes = ModelClasses.new end @@ -156,15 +156,15 @@ def create_or_update_virtual_network_rule_parameters def update_data_lake_store_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters 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 end def data_lake_store_account_basic Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountBasic end - def trusted_id_provider - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider - end def encryption_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState end diff --git a/azure_sdk/lib/latest/modules/datamigration_profile_module.rb b/azure_sdk/lib/latest/modules/datamigration_profile_module.rb index d11dee224f..7e9c7eedf3 100644 --- a/azure_sdk/lib/latest/modules/datamigration_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datamigration_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module DataMigration module Mgmt + Usages = Azure::DataMigration::Mgmt::V2018_07_15_preview::Usages ResourceSkus = Azure::DataMigration::Mgmt::V2018_07_15_preview::ResourceSkus Services = Azure::DataMigration::Mgmt::V2018_07_15_preview::Services Projects = Azure::DataMigration::Mgmt::V2018_07_15_preview::Projects Files = Azure::DataMigration::Mgmt::V2018_07_15_preview::Files Operations = Azure::DataMigration::Mgmt::V2018_07_15_preview::Operations Tasks = Azure::DataMigration::Mgmt::V2018_07_15_preview::Tasks - Usages = Azure::DataMigration::Mgmt::V2018_07_15_preview::Usages module Models MigrateSqlServerSqlMITaskOutput = Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::MigrateSqlServerSqlMITaskOutput @@ -257,7 +257,7 @@ module Models end class DataMigrationManagementClass - attr_reader :resource_skus, :services, :projects, :files, :operations, :tasks, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :usages, :resource_skus, :services, :projects, :files, :operations, :tasks, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -267,13 +267,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @usages = @client_0.usages @resource_skus = @client_0.resource_skus @services = @client_0.services @projects = @client_0.projects @files = @client_0.files @operations = @client_0.operations @tasks = @client_0.tasks - @usages = @client_0.usages @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb index c8b4575870..2a23a033b4 100644 --- a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb @@ -11,10 +11,13 @@ module Mgmt Operations = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Operations module Models + KubernetesConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails + ErrorDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails + ProvisioningState = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState ErrorResponse = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse TrackedResource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource - Resource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource ControllerConnectionDetailsList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList + ControllerUpdateParameters = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters ResourceProviderOperationDisplay = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay OrchestratorSpecificConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails ResourceProviderOperationDefinition = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDefinition @@ -23,10 +26,7 @@ module Models Sku = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Sku ControllerList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerList Controller = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller - ErrorDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails - ControllerUpdateParameters = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters - KubernetesConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails - ProvisioningState = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState + Resource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource SkuTier = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::SkuTier end @@ -61,18 +61,27 @@ def method_missing(method, *args) end class ModelClasses + def kubernetes_connection_details + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails + end + def error_details + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails + end + def provisioning_state + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState + end def error_response Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse end def tracked_resource Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource end - def resource - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource - end def controller_connection_details_list Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList end + def controller_update_parameters + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters + end def resource_provider_operation_display Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay end @@ -97,17 +106,8 @@ def controller_list def controller Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller end - def error_details - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails - end - def controller_update_parameters - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters - end - def kubernetes_connection_details - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails - end - def provisioning_state - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState + def resource + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource end def sku_tier Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::SkuTier diff --git a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb index 2f896ec67d..fb2615c571 100644 --- a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb @@ -7,6 +7,7 @@ module Azure::Profiles::Latest module DevTestLabs module Mgmt + VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations Labs = Azure::DevTestLabs::Mgmt::V2016_05_15::Labs GlobalSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::GlobalSchedules @@ -29,7 +30,6 @@ module Mgmt Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages - VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks module Models GalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage @@ -50,6 +50,7 @@ module Models UserSecretStore = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserSecretStore InboundNatRule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule HourDetails = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HourDetails + ArtifactParameterProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterProperties ArtifactInstallProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactInstallProperties ResponseWithContinuationLab = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationLab ParametersValueFileInfo = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ParametersValueFileInfo @@ -59,7 +60,6 @@ module Models ResponseWithContinuationUser = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationUser LabVirtualMachineCreationParameter = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineCreationParameter ArtifactDeploymentStatusPropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactDeploymentStatusPropertiesFragment - ArtifactParameterProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterProperties 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 @@ -73,15 +73,15 @@ module Models GenerateUploadUriParameter = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriParameter ComputeVmInstanceViewStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatus GenerateUploadUriResponse = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriResponse - ComputeVmProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmProperties IdentityProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::IdentityProperties - PercentageCostThresholdProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PercentageCostThresholdProperties - InboundNatRuleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRuleFragment WindowsOsInfo = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsInfo + InboundNatRuleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRuleFragment + ComputeVmProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmProperties UserIdentityFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentityFragment - CustomImagePropertiesFromVm = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesFromVm - DetachDataDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDataDiskProperties ResponseWithContinuationSchedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationSchedule + TargetCostProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostProperties + DetachDataDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDataDiskProperties + LabCostSummaryProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCostSummaryProperties ResponseWithContinuationPolicy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationPolicy LabCostDetailsProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCostDetailsProperties ResponseWithContinuationNotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationNotificationChannel @@ -121,77 +121,77 @@ module Models 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 + CustomImagePropertiesFromVm = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesFromVm DetachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity - TargetCostProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostProperties + EvaluatePoliciesResponse = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse ResponseWithContinuationArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate - LabCostSummaryProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCostSummaryProperties - ResponseWithContinuationArtifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact + CostThresholdProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties + PercentageCostThresholdProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PercentageCostThresholdProperties ArmTemplateParameterProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplateParameterProperties - EvaluatePoliciesResponse = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse - ComputeVmInstanceViewStatusFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatusFragment - ResponseWithContinuationCustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationCustomImage ResponseWithContinuationArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifactSource - ResponseWithContinuationDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDisk - AttachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachDiskProperties + ResponseWithContinuationArtifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact + ResponseWithContinuationCustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationCustomImage EvaluatePoliciesProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesProperties - NotificationSettingsFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettingsFragment - ResponseWithContinuationFormula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationFormula + ComputeVmInstanceViewStatusFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatusFragment + AttachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachDiskProperties ResponseWithContinuationDtlEnvironment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDtlEnvironment - ResponseWithContinuationGalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage - ApplicableSchedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule + ResponseWithContinuationDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDisk + ResponseWithContinuationFormula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationFormula CustomImagePropertiesCustom = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom - ApplicableScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment - ArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate + NotificationSettingsFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettingsFragment + ApplicableSchedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule ScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment - ArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource - ArtifactSourceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment + ResponseWithContinuationGalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage + ArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate 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 + ApplicableScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment + ArtifactSourceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment CustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage - LabCost = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost - LabFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment + ArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource + Formula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula Lab = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab - LabVirtualMachineFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment - NotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel + DtlEnvironment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment + LabFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment LabVirtualMachine = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine - PolicyFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment - Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret + LabCost = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost + NotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel NotificationChannelFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment + LabVirtualMachineFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment + Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret + ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner Disk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk VirtualNetworkFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment + EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy - UserFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment - StorageType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType + PolicyFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork - ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner - LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState - CostThresholdStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus - EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus NotificationStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus - CustomImageOsType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType - HostCachingOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions + UserFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment + CostThresholdStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus WindowsOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState + SourceControlType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType + StorageType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType + HostCachingOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions + NotificationChannelEventType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule - FileUploadOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions + CustomImageOsType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType PremiumDataDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk - NotificationChannelEventType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType + TargetCostStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus VirtualMachineCreationSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port - SourceControlType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType - TargetCostStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus - ReportingCycleType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType - TransportProtocol = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol PolicyFactName = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName PolicyEvaluatorType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType + ReportingCycleType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType + TransportProtocol = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol + FileUploadOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions + LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState UsagePermissionType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType CostType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType end class DevTestLabsManagementClass - attr_reader :provider_operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :notification_channels, :policy_sets, :schedules, :service_runners, :users, :environments, :secrets, :virtual_machine_schedules, :virtual_machines, :disks, :operations, :policies, :gallery_images, :virtual_networks, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_networks, :provider_operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :notification_channels, :policy_sets, :schedules, :service_runners, :users, :environments, :secrets, :virtual_machine_schedules, :virtual_machines, :disks, :operations, :policies, :gallery_images, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -201,6 +201,7 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @virtual_networks = @client_0.virtual_networks @provider_operations = @client_0.provider_operations @labs = @client_0.labs @global_schedules = @client_0.global_schedules @@ -223,7 +224,6 @@ def initialize(configurable, base_url=nil, options=nil) @operations = @client_0.operations @policies = @client_0.policies @gallery_images = @client_0.gallery_images - @virtual_networks = @client_0.virtual_networks @model_classes = ModelClasses.new end @@ -296,6 +296,9 @@ def inbound_nat_rule def hour_details Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HourDetails end + def artifact_parameter_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterProperties + end def artifact_install_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactInstallProperties end @@ -323,9 +326,6 @@ def lab_virtual_machine_creation_parameter def artifact_deployment_status_properties_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactDeploymentStatusPropertiesFragment end - def artifact_parameter_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterProperties - end def formula_properties_from_vm Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FormulaPropertiesFromVm end @@ -365,32 +365,32 @@ def compute_vm_instance_view_status def generate_upload_uri_response Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriResponse end - def compute_vm_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmProperties - end def identity_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::IdentityProperties end - def percentage_cost_threshold_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PercentageCostThresholdProperties + def windows_os_info + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsInfo end def inbound_nat_rule_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRuleFragment end - def windows_os_info - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsInfo + def compute_vm_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmProperties end def user_identity_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentityFragment end - def custom_image_properties_from_vm - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesFromVm + def response_with_continuation_schedule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationSchedule + end + def target_cost_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostProperties end def detach_data_disk_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDataDiskProperties end - def response_with_continuation_schedule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationSchedule + def lab_cost_summary_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCostSummaryProperties end def response_with_continuation_policy Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationPolicy @@ -509,8 +509,8 @@ def port_fragment def provider_operation_result Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ProviderOperationResult end - def cost_threshold_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties + def custom_image_properties_from_vm + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesFromVm end def detach_disk_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties @@ -518,113 +518,113 @@ def detach_disk_properties def user_identity Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity end - def target_cost_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostProperties + def evaluate_policies_response + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse end def response_with_continuation_arm_template Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate end - def lab_cost_summary_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCostSummaryProperties + def cost_threshold_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties end - def response_with_continuation_artifact - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact + def percentage_cost_threshold_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PercentageCostThresholdProperties end def arm_template_parameter_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplateParameterProperties end - def evaluate_policies_response - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse + def response_with_continuation_artifact_source + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifactSource end - def compute_vm_instance_view_status_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatusFragment + def response_with_continuation_artifact + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifact end def response_with_continuation_custom_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationCustomImage end - def response_with_continuation_artifact_source - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifactSource + def evaluate_policies_properties + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesProperties end - def response_with_continuation_disk - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDisk + def compute_vm_instance_view_status_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatusFragment end def attach_disk_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachDiskProperties end - def evaluate_policies_properties - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesProperties + def response_with_continuation_dtl_environment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDtlEnvironment end - def notification_settings_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettingsFragment + def response_with_continuation_disk + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDisk end def response_with_continuation_formula Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationFormula end - def response_with_continuation_dtl_environment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDtlEnvironment + def custom_image_properties_custom + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom end - def response_with_continuation_gallery_image - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage + def notification_settings_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettingsFragment end def applicable_schedule Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule end - def custom_image_properties_custom - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom + def schedule_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment end - def applicable_schedule_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment + def response_with_continuation_gallery_image + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage end def arm_template Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate end - def schedule_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment + def artifact + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact end - def artifact_source - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource + def applicable_schedule_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment end def artifact_source_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment end - def artifact - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact + def custom_image + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage end - def dtl_environment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment + def artifact_source + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource end def formula Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula end - def custom_image - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage + def lab + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab end - def lab_cost - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost + def dtl_environment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment end def lab_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment end - def lab - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab + def lab_virtual_machine + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine end - def lab_virtual_machine_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment + def lab_cost + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost end def notification_channel Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel end - def lab_virtual_machine - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine + def notification_channel_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment end - def policy_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment + def lab_virtual_machine_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment end def secret Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret end - def notification_channel_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment + def service_runner + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner end def disk Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk @@ -632,53 +632,53 @@ def disk def virtual_network_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment end + def enable_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus + end def policy Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy end - def user_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment - end - def storage_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType + def policy_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment end def virtual_network Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork end - def service_runner - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner + def notification_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus end - def linux_os_state - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState + def user_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment end def cost_threshold_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus end - def enable_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus + def windows_os_state + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState end - def notification_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus + def source_control_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType end - def custom_image_os_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType + def storage_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType end def host_caching_options Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions end - def windows_os_state - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState + def notification_channel_event_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType end def schedule Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule end - def file_upload_options - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions + def custom_image_os_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType end 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 + def target_cost_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus end def virtual_machine_creation_source Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource @@ -686,11 +686,11 @@ def virtual_machine_creation_source def port Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port end - def source_control_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType + def policy_fact_name + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName end - def target_cost_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus + def policy_evaluator_type + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType end def reporting_cycle_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType @@ -698,11 +698,11 @@ def reporting_cycle_type def transport_protocol Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol end - def policy_fact_name - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName + def file_upload_options + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions end - def policy_evaluator_type - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType + def linux_os_state + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState end def usage_permission_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType diff --git a/azure_sdk/lib/latest/modules/dns_profile_module.rb b/azure_sdk/lib/latest/modules/dns_profile_module.rb index 69ebff1dbb..3a74bfbc5e 100644 --- a/azure_sdk/lib/latest/modules/dns_profile_module.rb +++ b/azure_sdk/lib/latest/modules/dns_profile_module.rb @@ -11,6 +11,12 @@ module Mgmt Zones = Azure::Dns::Mgmt::V2018_03_01_preview::Zones module Models + AaaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord + ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord + MxRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord + PtrRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord + SrvRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord + CnameRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord RecordSet = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSet ZoneListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult TxtRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord @@ -28,12 +34,6 @@ module Models ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType RecordSetUpdateParameters = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetUpdateParameters RecordSetListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetListResult - AaaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord - ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord - MxRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord - PtrRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord - SrvRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord - CnameRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord end class DnsManagementClass @@ -67,6 +67,24 @@ def method_missing(method, *args) end class ModelClasses + def aaaa_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord + end + def arecord + Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord + end + def mx_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord + end + def ptr_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord + end + def srv_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord + end + def cname_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord + end def record_set Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSet end @@ -118,24 +136,6 @@ def record_set_update_parameters def record_set_list_result Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetListResult end - def aaaa_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord - end - def arecord - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord - end - def mx_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord - end - def ptr_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord - end - def srv_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord - end - def cname_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord - 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 a87f3d966e..7718e0995d 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -9,6 +9,8 @@ module EntitySearch EntitiesOperations = Azure::CognitiveServices::EntitySearch::V1_0::EntitiesOperations module Models + ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule @@ -18,27 +20,27 @@ module Models Place = Azure::CognitiveServices::EntitySearch::V1_0::Models::Place Organization = Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization Intangible = Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible - ContractualRulesAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution + Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response CivicStructure = Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure LocalBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness - Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response + ContractualRulesAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution TouristAttraction = Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction License = Azure::CognitiveServices::EntitySearch::V1_0::Models::License StructuredValue = Azure::CognitiveServices::EntitySearch::V1_0::Models::StructuredValue - Airport = Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport EntertainmentBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntertainmentBusiness - ContractualRulesLicenseAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLicenseAttribution - ContractualRulesLinkAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLinkAttribution MovieTheater = Azure::CognitiveServices::EntitySearch::V1_0::Models::MovieTheater + ContractualRulesLicenseAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLicenseAttribution + Airport = Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport ContractualRulesMediaAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesMediaAttribution + ContractualRulesTextAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesTextAttribution FoodEstablishment = Azure::CognitiveServices::EntitySearch::V1_0::Models::FoodEstablishment LodgingBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LodgingBusiness - ContractualRulesTextAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesTextAttribution 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 - Hotel = Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType + ContractualRulesLinkAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLinkAttribution Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities @@ -53,8 +55,6 @@ module Models ErrorCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode SafeSearch = Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat - ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject - MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject end class EntitySearchDataClass @@ -87,6 +87,12 @@ def method_missing(method, *args) end class ModelClasses + def image_object + Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + end + def media_object + Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject + end def error_sub_code Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode end @@ -114,8 +120,8 @@ def organization def intangible Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible end - def contractual_rules_attribution - Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution + def response + Azure::CognitiveServices::EntitySearch::V1_0::Models::Response end def civic_structure Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure @@ -123,8 +129,8 @@ def civic_structure def local_business Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness end - def response - Azure::CognitiveServices::EntitySearch::V1_0::Models::Response + def contractual_rules_attribution + Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution end def tourist_attraction Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction @@ -135,48 +141,48 @@ def license def structured_value Azure::CognitiveServices::EntitySearch::V1_0::Models::StructuredValue end - def airport - Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport - end def entertainment_business Azure::CognitiveServices::EntitySearch::V1_0::Models::EntertainmentBusiness end + def movie_theater + Azure::CognitiveServices::EntitySearch::V1_0::Models::MovieTheater + end def contractual_rules_license_attribution Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLicenseAttribution end - def contractual_rules_link_attribution - Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLinkAttribution - end - def movie_theater - Azure::CognitiveServices::EntitySearch::V1_0::Models::MovieTheater + def airport + Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport end def contractual_rules_media_attribution Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesMediaAttribution end + def contractual_rules_text_attribution + Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesTextAttribution + end def food_establishment Azure::CognitiveServices::EntitySearch::V1_0::Models::FoodEstablishment end def lodging_business Azure::CognitiveServices::EntitySearch::V1_0::Models::LodgingBusiness end - def contractual_rules_text_attribution - Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesTextAttribution - 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 hotel - Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel - end def answer_type Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType end + def contractual_rules_link_attribution + Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLinkAttribution + end def error Azure::CognitiveServices::EntitySearch::V1_0::Models::Error end @@ -219,12 +225,6 @@ def safe_search def response_format Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end - def image_object - Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject - end - def media_object - Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject - 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 8e1342de17..dafb2cd558 100644 --- a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb @@ -9,6 +9,12 @@ module Azure::Profiles::Latest module EventGrid module Models + 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 DeviceConnectionStateEventInfo = Azure::EventGrid::V2018_01_01::Models::DeviceConnectionStateEventInfo @@ -39,12 +45,6 @@ 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 end class EventGridDataClass @@ -76,6 +76,24 @@ def method_missing(method, *args) end class ModelClasses + 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 @@ -166,33 +184,15 @@ def device_twin_properties 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 end end module Mgmt - Operations = Azure::EventGrid::Mgmt::V2018_09_15_preview::Operations Domains = Azure::EventGrid::Mgmt::V2018_09_15_preview::Domains DomainTopics = Azure::EventGrid::Mgmt::V2018_09_15_preview::DomainTopics EventSubscriptions = Azure::EventGrid::Mgmt::V2018_09_15_preview::EventSubscriptions Topics = Azure::EventGrid::Mgmt::V2018_09_15_preview::Topics TopicTypes = Azure::EventGrid::Mgmt::V2018_09_15_preview::TopicTypes + Operations = Azure::EventGrid::Mgmt::V2018_09_15_preview::Operations module Models TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2018_09_15_preview::Models::TopicSharedAccessKeys @@ -256,7 +256,7 @@ module Models end class EventGridManagementClass - attr_reader :operations, :domains, :domain_topics, :event_subscriptions, :topics, :topic_types, :configurable, :base_url, :options, :model_classes + attr_reader :domains, :domain_topics, :event_subscriptions, :topics, :topic_types, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -266,12 +266,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @domains = @client_0.domains @domain_topics = @client_0.domain_topics @event_subscriptions = @client_0.event_subscriptions @topics = @client_0.topics @topic_types = @client_0.topic_types + @operations = @client_0.operations @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb index 4ec10f35aa..5846398301 100644 --- a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb @@ -7,12 +7,14 @@ module Azure::Profiles::Latest module EventHub module Mgmt - Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters - Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations + Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters + Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces module Models + OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult + VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties ClusterListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult @@ -31,12 +33,10 @@ module Models SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier Operation = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule - OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult - VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult end class EventHubManagementClass - attr_reader :clusters, :namespaces, :configuration, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :configuration, :operations, :clusters, :namespaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -46,10 +46,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @clusters = @client_0.clusters - @namespaces = @client_0.namespaces @configuration = @client_0.configuration @operations = @client_0.operations + @clusters = @client_0.clusters + @namespaces = @client_0.namespaces @model_classes = ModelClasses.new end @@ -68,6 +68,12 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult + end + def virtual_network_rule_list_result + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult + end def error_response Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse end @@ -122,12 +128,6 @@ def operation def virtual_network_rule Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule end - def operation_list_result - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult - end - def virtual_network_rule_list_result - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult - 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 fb51f012b7..df180a8ced 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -7,21 +7,22 @@ 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 + PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson module Models APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle + Error = Azure::CognitiveServices::Face::V1_0::Models::Error ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest - SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace - Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender + GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest FaceLandmarks = Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks - Error = Azure::CognitiveServices::Face::V1_0::Models::Error - HeadPose = Azure::CognitiveServices::Face::V1_0::Models::HeadPose GroupResult = Azure::CognitiveServices::Face::V1_0::Models::GroupResult + HeadPose = Azure::CognitiveServices::Face::V1_0::Models::HeadPose + IdentifyRequest = Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest + HairColor = Azure::CognitiveServices::Face::V1_0::Models::HairColor IdentifyCandidate = Azure::CognitiveServices::Face::V1_0::Models::IdentifyCandidate Makeup = Azure::CognitiveServices::Face::V1_0::Models::Makeup IdentifyResult = Azure::CognitiveServices::Face::V1_0::Models::IdentifyResult @@ -52,16 +53,15 @@ module Models BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel - GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode + Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType - IdentifyRequest = Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest - HairColor = Azure::CognitiveServices::Face::V1_0::Models::HairColor + SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace end class FaceDataClass - attr_reader :face, :person_group_person, :person_group_operations, :face_list_operations, :configurable, :base_url, :options, :model_classes + attr_reader :face, :person_group_operations, :face_list_operations, :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,9 +72,9 @@ def initialize(configurable, base_url=nil, options=nil) 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 + @person_group_person = @client_0.person_group_person @model_classes = ModelClasses.new end @@ -99,29 +99,32 @@ def apierror def face_rectangle Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle end + def error + Azure::CognitiveServices::Face::V1_0::Models::Error + end def image_url Azure::CognitiveServices::Face::V1_0::Models::ImageUrl end def find_similar_request Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest end - def similar_face - Azure::CognitiveServices::Face::V1_0::Models::SimilarFace - end - def gender - Azure::CognitiveServices::Face::V1_0::Models::Gender + def group_request + Azure::CognitiveServices::Face::V1_0::Models::GroupRequest end def face_landmarks Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks end - def error - Azure::CognitiveServices::Face::V1_0::Models::Error + def group_result + Azure::CognitiveServices::Face::V1_0::Models::GroupResult end def head_pose Azure::CognitiveServices::Face::V1_0::Models::HeadPose end - def group_result - Azure::CognitiveServices::Face::V1_0::Models::GroupResult + def identify_request + Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest + end + def hair_color + Azure::CognitiveServices::Face::V1_0::Models::HairColor end def identify_candidate Azure::CognitiveServices::Face::V1_0::Models::IdentifyCandidate @@ -213,23 +216,20 @@ def exposure_level def noise_level Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel end - def group_request - Azure::CognitiveServices::Face::V1_0::Models::GroupRequest - end def find_similar_match_mode Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode end + def gender + Azure::CognitiveServices::Face::V1_0::Models::Gender + end def training_status_type Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType end def face_attribute_type Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType end - def identify_request - Azure::CognitiveServices::Face::V1_0::Models::IdentifyRequest - end - def hair_color - Azure::CognitiveServices::Face::V1_0::Models::HairColor + def similar_face + Azure::CognitiveServices::Face::V1_0::Models::SimilarFace end end end diff --git a/azure_sdk/lib/latest/modules/features_profile_module.rb b/azure_sdk/lib/latest/modules/features_profile_module.rb index 7f6cea3857..f8ec439407 100644 --- a/azure_sdk/lib/latest/modules/features_profile_module.rb +++ b/azure_sdk/lib/latest/modules/features_profile_module.rb @@ -10,12 +10,12 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models - Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation - FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult OperationListResult = Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult + Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation + FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult end class FeaturesManagementClass @@ -48,12 +48,6 @@ def method_missing(method, *args) end class ModelClasses - def operation - Azure::Features::Mgmt::V2015_12_01::Models::Operation - end - def feature_result - Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult - end def operation_list_result Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult end @@ -66,6 +60,12 @@ def operation_display def feature_operations_list_result Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult end + def operation + Azure::Features::Mgmt::V2015_12_01::Models::Operation + end + def feature_result + Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult + 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 4f9128d832..fe28525b9c 100644 --- a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb +++ b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb @@ -6,29 +6,36 @@ module Azure::Profiles::Latest module GraphRbac + Domains = Azure::GraphRbac::V1_6::Domains + 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 + UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult + DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject + UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters + ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup + ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal + UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters User = Azure::GraphRbac::V1_6::Models::User Application = Azure::GraphRbac::V1_6::Models::Application UserType = Azure::GraphRbac::V1_6::Models::UserType UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters Domain = Azure::GraphRbac::V1_6::Models::Domain - GroupAddMemberParameters = Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters + GroupAddMemberParameters = Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters GraphError = Azure::GraphRbac::V1_6::Models::GraphError KeyCredential = Azure::GraphRbac::V1_6::Models::KeyCredential ResourceAccess = Azure::GraphRbac::V1_6::Models::ResourceAccess + GroupListResult = Azure::GraphRbac::V1_6::Models::GroupListResult GroupGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters UserGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult - ApplicationListResult = Azure::GraphRbac::V1_6::Models::ApplicationListResult GroupGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsResult KeyCredentialListResult = Azure::GraphRbac::V1_6::Models::KeyCredentialListResult + ApplicationListResult = Azure::GraphRbac::V1_6::Models::ApplicationListResult CheckGroupMembershipParameters = Azure::GraphRbac::V1_6::Models::CheckGroupMembershipParameters KeyCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters CheckGroupMembershipResult = Azure::GraphRbac::V1_6::Models::CheckGroupMembershipResult @@ -36,30 +43,23 @@ module Models ServicePrincipalCreateParameters = Azure::GraphRbac::V1_6::Models::ServicePrincipalCreateParameters GetObjectsResult = Azure::GraphRbac::V1_6::Models::GetObjectsResult DomainListResult = Azure::GraphRbac::V1_6::Models::DomainListResult - PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters ServicePrincipalListResult = Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult - PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile + PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters AADObject = Azure::GraphRbac::V1_6::Models::AADObject UserBase = Azure::GraphRbac::V1_6::Models::UserBase - GroupListResult = Azure::GraphRbac::V1_6::Models::GroupListResult + PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile 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 - ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup - ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal - UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters end class GraphRbacDataClass - attr_reader :objects, :applications, :groups, :service_principals, :domains, :users, :configurable, :base_url, :options, :model_classes + attr_reader :domains, :users, :objects, :applications, :groups, :service_principals, :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) + @domains = @client_0.domains + @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,24 @@ def method_missing(method, *args) end class ModelClasses + 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 adgroup + Azure::GraphRbac::V1_6::Models::ADGroup + end + def service_principal + Azure::GraphRbac::V1_6::Models::ServicePrincipal + end + def user_update_parameters + Azure::GraphRbac::V1_6::Models::UserUpdateParameters + end def user Azure::GraphRbac::V1_6::Models::User end @@ -108,12 +126,12 @@ def user_create_parameters def domain Azure::GraphRbac::V1_6::Models::Domain end - def group_add_member_parameters - Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters - end def group_create_parameters Azure::GraphRbac::V1_6::Models::GroupCreateParameters end + def group_add_member_parameters + Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters + end def graph_error Azure::GraphRbac::V1_6::Models::GraphError end @@ -123,21 +141,24 @@ def key_credential def resource_access Azure::GraphRbac::V1_6::Models::ResourceAccess end + def group_list_result + Azure::GraphRbac::V1_6::Models::GroupListResult + end def group_get_member_groups_parameters Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters end def user_get_member_groups_result Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult end - def application_list_result - Azure::GraphRbac::V1_6::Models::ApplicationListResult - end def group_get_member_groups_result Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsResult end def key_credential_list_result Azure::GraphRbac::V1_6::Models::KeyCredentialListResult end + def application_list_result + Azure::GraphRbac::V1_6::Models::ApplicationListResult + end def check_group_membership_parameters Azure::GraphRbac::V1_6::Models::CheckGroupMembershipParameters end @@ -159,17 +180,14 @@ def get_objects_result def domain_list_result Azure::GraphRbac::V1_6::Models::DomainListResult end - def password_credential - Azure::GraphRbac::V1_6::Models::PasswordCredential - end def application_create_parameters Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters end def service_principal_list_result Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult end - def password_profile - Azure::GraphRbac::V1_6::Models::PasswordProfile + def password_credential + Azure::GraphRbac::V1_6::Models::PasswordCredential end def directory_object_list_result Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult @@ -183,8 +201,8 @@ def aadobject def user_base Azure::GraphRbac::V1_6::Models::UserBase end - def group_list_result - Azure::GraphRbac::V1_6::Models::GroupListResult + def password_profile + Azure::GraphRbac::V1_6::Models::PasswordProfile end def required_resource_access Azure::GraphRbac::V1_6::Models::RequiredResourceAccess @@ -201,24 +219,6 @@ def sign_in_name 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 adgroup - Azure::GraphRbac::V1_6::Models::ADGroup - end - def service_principal - Azure::GraphRbac::V1_6::Models::ServicePrincipal - end - def user_update_parameters - Azure::GraphRbac::V1_6::Models::UserUpdateParameters - 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 c3d66c1150..e0a00e64fa 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -9,6 +9,9 @@ module ImageSearch ImagesOperations = Azure::CognitiveServices::ImageSearch::V1_0::ImagesOperations module Models + Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse @@ -27,8 +30,8 @@ module Models InsightsTag = Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag RecognizedEntitiesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntitiesModule PropertiesItem = Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem + Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error RecognizedEntityGroup = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup - TrendingImagesCategory = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory PivotSuggestions = Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions RelatedCollectionsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedCollectionsModule ImageTagsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule @@ -49,12 +52,12 @@ module Models TrendingImages = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating CollectionPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage + TrendingImagesCategory = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency - ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType + ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule - Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer @@ -64,9 +67,6 @@ module Models Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch - Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query - ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject end class ImageSearchDataClass @@ -99,6 +99,15 @@ def method_missing(method, *args) end class ModelClasses + def query + Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + end + def image_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + end + def media_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + end def web_page Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage end @@ -153,12 +162,12 @@ def recognized_entities_module def properties_item Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem end + def error + Azure::CognitiveServices::ImageSearch::V1_0::Models::Error + end def recognized_entity_group Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup end - def trending_images_category - Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory - end def pivot_suggestions Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions end @@ -219,24 +228,24 @@ def rating def collection_page Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage end + def trending_images_category + Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory + end def currency Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency end - def item_availability - Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability - end def images Azure::CognitiveServices::ImageSearch::V1_0::Models::Images end def image_crop_type Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType end + def item_availability + Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability + end def image_insight_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule end - def error - Azure::CognitiveServices::ImageSearch::V1_0::Models::Error - end def person Azure::CognitiveServices::ImageSearch::V1_0::Models::Person end @@ -264,15 +273,6 @@ def error_code def safe_search Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch end - def query - Azure::CognitiveServices::ImageSearch::V1_0::Models::Query - end - def image_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - end - def media_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - end end end end diff --git a/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb b/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb index 832538545e..1686053410 100644 --- a/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb @@ -11,19 +11,19 @@ module Mgmt Apps = Azure::IotCentral::Mgmt::V2018_09_01::Apps module Models + AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo + AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch + OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs ErrorResponseBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody + AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo + App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App + OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult - OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult - AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo - AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch - AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo - App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App - OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs end class IotCentralManagementClass @@ -57,9 +57,27 @@ def method_missing(method, *args) end class ModelClasses + def app_sku_info + Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo + end + def app_patch + Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch + end + def operation_inputs + Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs + end def error_response_body Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorResponseBody end + def app_availability_info + Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo + end + def app + Azure::IotCentral::Mgmt::V2018_09_01::Models::App + end + def operation_list_result + Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult + end def app_sku Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku end @@ -78,24 +96,6 @@ def operation def app_list_result Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult end - def operation_list_result - Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult - end - def app_sku_info - Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo - end - def app_patch - Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch - end - def app_availability_info - Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo - end - def app - Azure::IotCentral::Mgmt::V2018_09_01::Models::App - end - def operation_inputs - Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs - 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 a4105bb709..93f2d2be55 100644 --- a/azure_sdk/lib/latest/modules/iothub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iothub_profile_module.rb @@ -7,12 +7,18 @@ module Azure::Profiles::Latest module IotHub module Mgmt - ResourceProviderCommon = Azure::IotHub::Mgmt::V2018_04_01::ResourceProviderCommon - Certificates = Azure::IotHub::Mgmt::V2018_04_01::Certificates Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations IotHubResource = Azure::IotHub::Mgmt::V2018_04_01::IotHubResource + ResourceProviderCommon = Azure::IotHub::Mgmt::V2018_04_01::ResourceProviderCommon + Certificates = Azure::IotHub::Mgmt::V2018_04_01::Certificates module Models + RouteErrorPosition = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition + RouteCompilationError = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteCompilationError + CertificateBodyDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateBodyDescription + IotHubSkuInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo + FeedbackProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FeedbackProperties + TestRouteResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult TestRouteResultDetails = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResultDetails ExportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ExportDevicesRequest ImportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ImportDevicesRequest @@ -51,7 +57,6 @@ module Models RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusTopicEndpointProperties JobResponseListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::JobResponseListResult RoutingStorageContainerProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingStorageContainerProperties - IotHubCapacity = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubCapacity RouteProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteProperties IotHubSkuDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescription RoutingProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingProperties @@ -61,6 +66,7 @@ module Models CloudToDeviceProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::CloudToDeviceProperties EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubConsumerGroupsListResult IotHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubProperties + IotHubCapacity = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubCapacity IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescriptionListResult IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescriptionListResult OperationDisplay = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay @@ -84,16 +90,10 @@ module Models TestAllRoutesResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult FallbackRouteProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FallbackRouteProperties RouteErrorRange = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorRange - RouteErrorPosition = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition - RouteCompilationError = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteCompilationError - CertificateBodyDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateBodyDescription - IotHubSkuInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo - FeedbackProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FeedbackProperties - TestRouteResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult end class IotHubManagementClass - attr_reader :resource_provider_common, :certificates, :operations, :iot_hub_resource, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -103,10 +103,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @resource_provider_common = @client_0.resource_provider_common - @certificates = @client_0.certificates @operations = @client_0.operations @iot_hub_resource = @client_0.iot_hub_resource + @resource_provider_common = @client_0.resource_provider_common + @certificates = @client_0.certificates @model_classes = ModelClasses.new end @@ -125,6 +125,24 @@ def method_missing(method, *args) end class ModelClasses + def route_error_position + Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition + end + def route_compilation_error + Azure::IotHub::Mgmt::V2018_04_01::Models::RouteCompilationError + end + def certificate_body_description + Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateBodyDescription + end + def iot_hub_sku_info + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo + end + def feedback_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::FeedbackProperties + end + def test_route_result + Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult + end def test_route_result_details Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResultDetails end @@ -239,9 +257,6 @@ def job_response_list_result def routing_storage_container_properties Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingStorageContainerProperties end - def iot_hub_capacity - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubCapacity - end def route_properties Azure::IotHub::Mgmt::V2018_04_01::Models::RouteProperties end @@ -269,6 +284,9 @@ def event_hub_consumer_groups_list_result def iot_hub_properties Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubProperties end + def iot_hub_capacity + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubCapacity + end def iot_hub_sku_description_list_result Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescriptionListResult end @@ -338,24 +356,6 @@ def fallback_route_properties def route_error_range Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorRange end - def route_error_position - Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition - end - def route_compilation_error - Azure::IotHub::Mgmt::V2018_04_01::Models::RouteCompilationError - end - def certificate_body_description - Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateBodyDescription - end - def iot_hub_sku_info - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo - end - def feedback_properties - Azure::IotHub::Mgmt::V2018_04_01::Models::FeedbackProperties - end - def test_route_result - Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult - 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 88379d6a40..18f21e3228 100644 --- a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb @@ -9,11 +9,11 @@ module Azure::Profiles::Latest module KeyVault module Models + Action = Azure::KeyVault::V7_0::Models::Action BackupCertificateResult = Azure::KeyVault::V7_0::Models::BackupCertificateResult DeletedSasDefinitionListResult = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionListResult StorageRestoreParameters = Azure::KeyVault::V7_0::Models::StorageRestoreParameters BackupStorageResult = Azure::KeyVault::V7_0::Models::BackupStorageResult - Action = Azure::KeyVault::V7_0::Models::Action CertificateRestoreParameters = Azure::KeyVault::V7_0::Models::CertificateRestoreParameters DeletedStorageListResult = Azure::KeyVault::V7_0::Models::DeletedStorageListResult DeletedStorageBundle = Azure::KeyVault::V7_0::Models::DeletedStorageBundle @@ -79,13 +79,13 @@ module Models SecretProperties = Azure::KeyVault::V7_0::Models::SecretProperties PendingCertificateSigningRequestResult = Azure::KeyVault::V7_0::Models::PendingCertificateSigningRequestResult CertificateBundle = Azure::KeyVault::V7_0::Models::CertificateBundle - StorageAccountAttributes = Azure::KeyVault::V7_0::Models::StorageAccountAttributes + Error = Azure::KeyVault::V7_0::Models::Error IssuerAttributes = Azure::KeyVault::V7_0::Models::IssuerAttributes StorageBundle = Azure::KeyVault::V7_0::Models::StorageBundle SasDefinitionListResult = Azure::KeyVault::V7_0::Models::SasDefinitionListResult StorageAccountCreateParameters = Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters CertificateOperation = Azure::KeyVault::V7_0::Models::CertificateOperation - Error = Azure::KeyVault::V7_0::Models::Error + StorageAccountAttributes = Azure::KeyVault::V7_0::Models::StorageAccountAttributes StorageAccountUpdateParameters = Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters KeyCreateParameters = Azure::KeyVault::V7_0::Models::KeyCreateParameters StorageAccountItem = Azure::KeyVault::V7_0::Models::StorageAccountItem @@ -138,6 +138,9 @@ def method_missing(method, *args) end class ModelClasses + def action + Azure::KeyVault::V7_0::Models::Action + end def backup_certificate_result Azure::KeyVault::V7_0::Models::BackupCertificateResult end @@ -150,9 +153,6 @@ def storage_restore_parameters def backup_storage_result Azure::KeyVault::V7_0::Models::BackupStorageResult end - def action - Azure::KeyVault::V7_0::Models::Action - end def certificate_restore_parameters Azure::KeyVault::V7_0::Models::CertificateRestoreParameters end @@ -348,8 +348,8 @@ def pending_certificate_signing_request_result def certificate_bundle Azure::KeyVault::V7_0::Models::CertificateBundle end - def storage_account_attributes - Azure::KeyVault::V7_0::Models::StorageAccountAttributes + def error + Azure::KeyVault::V7_0::Models::Error end def issuer_attributes Azure::KeyVault::V7_0::Models::IssuerAttributes @@ -366,8 +366,8 @@ def storage_account_create_parameters def certificate_operation Azure::KeyVault::V7_0::Models::CertificateOperation end - def error - Azure::KeyVault::V7_0::Models::Error + def storage_account_attributes + Azure::KeyVault::V7_0::Models::StorageAccountAttributes end def storage_account_update_parameters Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters @@ -439,6 +439,8 @@ module Mgmt Operations = Azure::KeyVault::Mgmt::V2018_02_14::Operations module Models + Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind Permissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions Resource = Azure::KeyVault::Mgmt::V2018_02_14::Models::Resource OperationDisplay = Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationDisplay @@ -469,12 +471,10 @@ module Models StoragePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::StoragePermissions CreateMode = Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode CertificatePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::CertificatePermissions - Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason Sku = Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku NetworkRuleBypassOptions = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleBypassOptions NetworkRuleAction = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleAction VirtualNetworkRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind end class KeyVaultManagementClass @@ -508,6 +508,12 @@ def method_missing(method, *args) end class ModelClasses + def reason + Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + end + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + end def permissions Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions end @@ -598,9 +604,6 @@ def create_mode def certificate_permissions Azure::KeyVault::Mgmt::V2018_02_14::Models::CertificatePermissions end - def reason - Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason - end def sku Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku end @@ -613,9 +616,6 @@ def network_rule_action def virtual_network_rule Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind - end end end end diff --git a/azure_sdk/lib/latest/modules/kusto_profile_module.rb b/azure_sdk/lib/latest/modules/kusto_profile_module.rb index f088e46169..6bc77f1af0 100644 --- a/azure_sdk/lib/latest/modules/kusto_profile_module.rb +++ b/azure_sdk/lib/latest/modules/kusto_profile_module.rb @@ -7,12 +7,18 @@ module Azure::Profiles::Latest module Kusto module Mgmt - Clusters = Azure::Kusto::Mgmt::V2018_09_07_preview::Clusters Databases = Azure::Kusto::Mgmt::V2018_09_07_preview::Databases EventHubConnections = Azure::Kusto::Mgmt::V2018_09_07_preview::EventHubConnections Operations = Azure::Kusto::Mgmt::V2018_09_07_preview::Operations + Clusters = Azure::Kusto::Mgmt::V2018_09_07_preview::Clusters module Models + EventHubConnectionListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionListResult + EventHubConnectionValidation = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidation + TrustedExternalTenant = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::TrustedExternalTenant + AzureCapacity = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureCapacity + DatabaseStatistics = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseStatistics + ListResourceSkusResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListResourceSkusResult ListSkusResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListSkusResult EventHubConnectionValidationResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidationResult ClusterCheckNameRequest = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ClusterCheckNameRequest @@ -34,11 +40,11 @@ module Models DatabasePrincipalType = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalType DatabasePrincipalRole = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalRole OperationDisplay = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::OperationDisplay + State = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::State Operation = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Operation OperationListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::OperationListResult ProvisioningState = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ProvisioningState Database = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Database - State = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::State ClusterListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ClusterListResult Cluster = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Cluster DatabasePrincipalListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabasePrincipalListResult @@ -46,16 +52,10 @@ module Models AzureSku = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureSku EventHubConnectionValidationListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidationListResult AzureResourceSku = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureResourceSku - EventHubConnectionListResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionListResult - EventHubConnectionValidation = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidation - TrustedExternalTenant = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::TrustedExternalTenant - AzureCapacity = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureCapacity - DatabaseStatistics = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseStatistics - ListResourceSkusResult = Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListResourceSkusResult end class KustoManagementClass - attr_reader :clusters, :databases, :event_hub_connections, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :databases, :event_hub_connections, :operations, :clusters, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -65,10 +65,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @clusters = @client_0.clusters @databases = @client_0.databases @event_hub_connections = @client_0.event_hub_connections @operations = @client_0.operations + @clusters = @client_0.clusters @model_classes = ModelClasses.new end @@ -87,6 +87,24 @@ def method_missing(method, *args) end class ModelClasses + def event_hub_connection_list_result + Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionListResult + end + def event_hub_connection_validation + Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidation + end + def trusted_external_tenant + Azure::Kusto::Mgmt::V2018_09_07_preview::Models::TrustedExternalTenant + end + def azure_capacity + Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureCapacity + end + def database_statistics + Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseStatistics + end + def list_resource_skus_result + Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListResourceSkusResult + end def list_skus_result Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListSkusResult end @@ -150,6 +168,9 @@ def database_principal_role def operation_display Azure::Kusto::Mgmt::V2018_09_07_preview::Models::OperationDisplay end + def state + Azure::Kusto::Mgmt::V2018_09_07_preview::Models::State + end def operation Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Operation end @@ -162,9 +183,6 @@ def provisioning_state def database Azure::Kusto::Mgmt::V2018_09_07_preview::Models::Database end - def state - Azure::Kusto::Mgmt::V2018_09_07_preview::Models::State - end def cluster_list_result Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ClusterListResult end @@ -186,24 +204,6 @@ def event_hub_connection_validation_list_result def azure_resource_sku Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureResourceSku end - def event_hub_connection_list_result - Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionListResult - end - def event_hub_connection_validation - Azure::Kusto::Mgmt::V2018_09_07_preview::Models::EventHubConnectionValidation - end - def trusted_external_tenant - Azure::Kusto::Mgmt::V2018_09_07_preview::Models::TrustedExternalTenant - end - def azure_capacity - Azure::Kusto::Mgmt::V2018_09_07_preview::Models::AzureCapacity - end - def database_statistics - Azure::Kusto::Mgmt::V2018_09_07_preview::Models::DatabaseStatistics - end - def list_resource_skus_result - Azure::Kusto::Mgmt::V2018_09_07_preview::Models::ListResourceSkusResult - end end end end diff --git a/azure_sdk/lib/latest/modules/links_profile_module.rb b/azure_sdk/lib/latest/modules/links_profile_module.rb index c3ddcc186a..a7c9038c3e 100644 --- a/azure_sdk/lib/latest/modules/links_profile_module.rb +++ b/azure_sdk/lib/latest/modules/links_profile_module.rb @@ -11,14 +11,14 @@ module Mgmt Operations = Azure::Links::Mgmt::V2016_09_01::Operations module Models + OperationListResult = Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult + ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink + Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties - OperationListResult = Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult - ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink - Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter end class LinksManagementClass @@ -52,6 +52,15 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult + end + def resource_link + Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink + end + def filter + Azure::Links::Mgmt::V2016_09_01::Models::Filter + end def resource_link_result Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult end @@ -67,15 +76,6 @@ def operation def resource_link_properties Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties end - def operation_list_result - Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult - end - def resource_link - Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink - end - def filter - Azure::Links::Mgmt::V2016_09_01::Models::Filter - end end end end diff --git a/azure_sdk/lib/latest/modules/localsearch_profile_module.rb b/azure_sdk/lib/latest/modules/localsearch_profile_module.rb index 1b7e5fff65..622fd0b381 100644 --- a/azure_sdk/lib/latest/modules/localsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/localsearch_profile_module.rb @@ -19,7 +19,7 @@ module Models Intangible = Azure::CognitiveServices::LocalSearch::V1_0::Models::Intangible Response = Azure::CognitiveServices::LocalSearch::V1_0::Models::Response QueryContext = Azure::CognitiveServices::LocalSearch::V1_0::Models::QueryContext - EntityType = Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityType + GeoCoordinates = Azure::CognitiveServices::LocalSearch::V1_0::Models::GeoCoordinates ResponseBase = Azure::CognitiveServices::LocalSearch::V1_0::Models::ResponseBase Answer = Azure::CognitiveServices::LocalSearch::V1_0::Models::Answer SearchResultsAnswer = Azure::CognitiveServices::LocalSearch::V1_0::Models::SearchResultsAnswer @@ -28,11 +28,11 @@ module Models CreativeWork = Azure::CognitiveServices::LocalSearch::V1_0::Models::CreativeWork SearchAction = Azure::CognitiveServices::LocalSearch::V1_0::Models::SearchAction Identifiable = Azure::CognitiveServices::LocalSearch::V1_0::Models::Identifiable - GeoCoordinates = Azure::CognitiveServices::LocalSearch::V1_0::Models::GeoCoordinates + Action = Azure::CognitiveServices::LocalSearch::V1_0::Models::Action + EntityType = Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityType ErrorCode = Azure::CognitiveServices::LocalSearch::V1_0::Models::ErrorCode SafeSearch = Azure::CognitiveServices::LocalSearch::V1_0::Models::SafeSearch ResponseFormat = Azure::CognitiveServices::LocalSearch::V1_0::Models::ResponseFormat - Action = Azure::CognitiveServices::LocalSearch::V1_0::Models::Action EntityScenario = Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityScenario Error = Azure::CognitiveServices::LocalSearch::V1_0::Models::Error end @@ -97,8 +97,8 @@ def response def query_context Azure::CognitiveServices::LocalSearch::V1_0::Models::QueryContext end - def entity_type - Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityType + def geo_coordinates + Azure::CognitiveServices::LocalSearch::V1_0::Models::GeoCoordinates end def response_base Azure::CognitiveServices::LocalSearch::V1_0::Models::ResponseBase @@ -124,8 +124,11 @@ def search_action def identifiable Azure::CognitiveServices::LocalSearch::V1_0::Models::Identifiable end - def geo_coordinates - Azure::CognitiveServices::LocalSearch::V1_0::Models::GeoCoordinates + def action + Azure::CognitiveServices::LocalSearch::V1_0::Models::Action + end + def entity_type + Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityType end def error_code Azure::CognitiveServices::LocalSearch::V1_0::Models::ErrorCode @@ -136,9 +139,6 @@ def safe_search def response_format Azure::CognitiveServices::LocalSearch::V1_0::Models::ResponseFormat end - def action - Azure::CognitiveServices::LocalSearch::V1_0::Models::Action - end def entity_scenario Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityScenario end diff --git a/azure_sdk/lib/latest/modules/locks_profile_module.rb b/azure_sdk/lib/latest/modules/locks_profile_module.rb index 175a6c7b5d..162ab67d61 100644 --- a/azure_sdk/lib/latest/modules/locks_profile_module.rb +++ b/azure_sdk/lib/latest/modules/locks_profile_module.rb @@ -11,13 +11,13 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks module Models + OperationListResult = Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult + ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject + LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner Operation = Azure::Locks::Mgmt::V2016_09_01::Models::Operation ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult - OperationListResult = Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult - ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject - LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel end class LocksManagementClass @@ -51,6 +51,15 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult + end + def management_lock_object + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject + end + def lock_level + Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel + end def operation_display Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay end @@ -63,15 +72,6 @@ def operation def management_lock_list_result Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult end - def operation_list_result - Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult - end - def management_lock_object - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject - end - def lock_level - Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel - end end end end diff --git a/azure_sdk/lib/latest/modules/logic_profile_module.rb b/azure_sdk/lib/latest/modules/logic_profile_module.rb index 372e7ef458..887200cfd6 100644 --- a/azure_sdk/lib/latest/modules/logic_profile_module.rb +++ b/azure_sdk/lib/latest/modules/logic_profile_module.rb @@ -7,6 +7,12 @@ module Azure::Profiles::Latest module Logic module Mgmt + IntegrationAccountAssemblies = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountAssemblies + IntegrationAccountBatchConfigurations = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountBatchConfigurations + IntegrationAccountSchemas = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountSchemas + IntegrationAccountMaps = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountMaps + IntegrationAccountPartners = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountPartners + IntegrationAccountAgreements = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountAgreements IntegrationAccountCertificates = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountCertificates IntegrationAccountSessions = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountSessions Operations = Azure::Logic::Mgmt::V2018_07_01_preview::Operations @@ -23,12 +29,6 @@ module Mgmt WorkflowRunActionScopeRepetitions = Azure::Logic::Mgmt::V2018_07_01_preview::WorkflowRunActionScopeRepetitions WorkflowRunOperations = Azure::Logic::Mgmt::V2018_07_01_preview::WorkflowRunOperations IntegrationAccounts = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccounts - IntegrationAccountAssemblies = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountAssemblies - IntegrationAccountBatchConfigurations = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountBatchConfigurations - IntegrationAccountSchemas = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountSchemas - IntegrationAccountMaps = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountMaps - IntegrationAccountPartners = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountPartners - IntegrationAccountAgreements = Azure::Logic::Mgmt::V2018_07_01_preview::IntegrationAccountAgreements module Models ErrorResponse = Azure::Logic::Mgmt::V2018_07_01_preview::Models::ErrorResponse @@ -208,7 +208,7 @@ module Models end class LogicManagementClass - attr_reader :integration_account_certificates, :integration_account_sessions, :operations, :workflows, :workflow_versions, :workflow_triggers, :workflow_version_triggers, :workflow_trigger_histories, :workflow_runs, :workflow_run_actions, :workflow_run_action_repetitions, :workflow_run_action_repetitions_request_histories, :workflow_run_action_request_histories, :workflow_run_action_scope_repetitions, :workflow_run_operations, :integration_accounts, :integration_account_assemblies, :integration_account_batch_configurations, :integration_account_schemas, :integration_account_maps, :integration_account_partners, :integration_account_agreements, :configurable, :base_url, :options, :model_classes + attr_reader :integration_account_assemblies, :integration_account_batch_configurations, :integration_account_schemas, :integration_account_maps, :integration_account_partners, :integration_account_agreements, :integration_account_certificates, :integration_account_sessions, :operations, :workflows, :workflow_versions, :workflow_triggers, :workflow_version_triggers, :workflow_trigger_histories, :workflow_runs, :workflow_run_actions, :workflow_run_action_repetitions, :workflow_run_action_repetitions_request_histories, :workflow_run_action_request_histories, :workflow_run_action_scope_repetitions, :workflow_run_operations, :integration_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -218,6 +218,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @integration_account_assemblies = @client_0.integration_account_assemblies + @integration_account_batch_configurations = @client_0.integration_account_batch_configurations + @integration_account_schemas = @client_0.integration_account_schemas + @integration_account_maps = @client_0.integration_account_maps + @integration_account_partners = @client_0.integration_account_partners + @integration_account_agreements = @client_0.integration_account_agreements @integration_account_certificates = @client_0.integration_account_certificates @integration_account_sessions = @client_0.integration_account_sessions @operations = @client_0.operations @@ -234,12 +240,6 @@ def initialize(configurable, base_url=nil, options=nil) @workflow_run_action_scope_repetitions = @client_0.workflow_run_action_scope_repetitions @workflow_run_operations = @client_0.workflow_run_operations @integration_accounts = @client_0.integration_accounts - @integration_account_assemblies = @client_0.integration_account_assemblies - @integration_account_batch_configurations = @client_0.integration_account_batch_configurations - @integration_account_schemas = @client_0.integration_account_schemas - @integration_account_maps = @client_0.integration_account_maps - @integration_account_partners = @client_0.integration_account_partners - @integration_account_agreements = @client_0.integration_account_agreements @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb index 7465bca836..422f4463b9 100644 --- a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb +++ b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module MachineLearning module Mgmt - WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices Operations = Azure::MachineLearning::Mgmt::V2017_01_01::Operations + WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices module Models AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus @@ -54,7 +54,7 @@ module Models end class MachineLearningManagementClass - attr_reader :web_services, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :web_services, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -64,8 +64,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @web_services = @client_0.web_services @operations = @client_0.operations + @web_services = @client_0.web_services @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb index a30085c025..1521456639 100644 --- a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb @@ -7,10 +7,12 @@ module Azure::Profiles::Latest module ManagedApplications module Mgmt - ApplicationDefinitions = Azure::ManagedApplications::Mgmt::V2018_06_01::ApplicationDefinitions Applications = Azure::ManagedApplications::Mgmt::V2018_06_01::Applications + ApplicationDefinitions = Azure::ManagedApplications::Mgmt::V2018_06_01::ApplicationDefinitions module Models + ResourceIdentityType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ResourceIdentityType + ProvisioningState = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ProvisioningState ErrorResponse = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ErrorResponse ApplicationListResult = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationListResult Application = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Application @@ -27,12 +29,10 @@ module Models GenericResource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::GenericResource Sku = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Sku ApplicationArtifactType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifactType - ResourceIdentityType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ResourceIdentityType - ProvisioningState = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ProvisioningState end class ManagedApplicationsManagementClass - attr_reader :application_definitions, :applications, :configurable, :base_url, :options, :model_classes + attr_reader :applications, :application_definitions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -42,8 +42,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @application_definitions = @client_0.application_definitions @applications = @client_0.applications + @application_definitions = @client_0.application_definitions @model_classes = ModelClasses.new end @@ -62,6 +62,12 @@ def method_missing(method, *args) end class ModelClasses + def resource_identity_type + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ResourceIdentityType + end + def provisioning_state + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ProvisioningState + end def error_response Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ErrorResponse end @@ -110,12 +116,6 @@ def sku def application_artifact_type Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifactType end - def resource_identity_type - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ResourceIdentityType - end - def provisioning_state - Azure::ManagedApplications::Mgmt::V2018_06_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 c97bc4d243..45d6225825 100644 --- a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb @@ -11,12 +11,12 @@ module Mgmt UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::UserAssignedIdentities module Models - Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation - UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult OperationListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult Identity = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation + UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult end class ManagedServiceIdentityManagementClass @@ -50,12 +50,6 @@ def method_missing(method, *args) end class ModelClasses - 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 @@ -68,6 +62,12 @@ def operation_display 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 user_assigned_identities_list_result + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult + 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 25f0c8c4fb..ac4771ce38 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 - ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse - OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay - Operation = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation OperationListResult = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError AgreementTerms = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms Resource = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource + ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + OperationDisplay = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay + Operation = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation 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,15 +51,6 @@ def method_missing(method, *args) end class ModelClasses - def error_response - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse - end - def operation_display - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay - end - def operation - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation - end def operation_list_result Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult end @@ -72,6 +63,15 @@ def agreement_terms def resource Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource end + def error_response + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + end + def operation_display + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationDisplay + end + def operation + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Operation + end end end end diff --git a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb index 22c8229f12..e8b4474078 100644 --- a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb @@ -35,14 +35,14 @@ module Models FirstQuality = Azure::MediaServices::Mgmt::V2018_07_01::Models::FirstQuality FilterTrackSelection = Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackSelection StreamingPolicyFairPlayConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyFairPlayConfiguration - ContentKeyPolicyCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyCollection AccountFilterCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::AccountFilterCollection Preset = Azure::MediaServices::Mgmt::V2018_07_01::Models::Preset FilterTrackPropertyCondition = Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyCondition StreamingPath = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPath + MetricDimension = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricDimension StreamingLocatorContentKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKey ListContentKeysResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListContentKeysResponse - MetricDimension = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricDimension + Overlay = Azure::MediaServices::Mgmt::V2018_07_01::Models::Overlay EntityNameAvailabilityCheckOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::EntityNameAvailabilityCheckOutput CommonEncryptionCbcs = Azure::MediaServices::Mgmt::V2018_07_01::Models::CommonEncryptionCbcs SyncStorageKeysInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::SyncStorageKeysInput @@ -63,36 +63,36 @@ module Models ContentKeyPolicyPlayReadyPlayRight = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyPlayRight StreamingPolicyContentKeys = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKeys EnvelopeEncryption = Azure::MediaServices::Mgmt::V2018_07_01::Models::EnvelopeEncryption - ContentKeyPolicyPlayReadyLicense = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicense + NoEncryption = Azure::MediaServices::Mgmt::V2018_07_01::Models::NoEncryption DefaultKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::DefaultKey ContentKeyPolicyConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyConfiguration - NoEncryption = Azure::MediaServices::Mgmt::V2018_07_01::Models::NoEncryption EnabledProtocols = Azure::MediaServices::Mgmt::V2018_07_01::Models::EnabledProtocols - CencDrmConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::CencDrmConfiguration - TransformCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformCollection TrackPropertyCondition = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCondition + ContentKeyPolicyPlayReadyLicense = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicense + TransformCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformCollection CbcsDrmConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::CbcsDrmConfiguration - StreamingPolicyCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyCollection - Deinterlace = Azure::MediaServices::Mgmt::V2018_07_01::Models::Deinterlace - StreamingLocatorCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorCollection + CencDrmConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::CencDrmConfiguration JobError = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobError - IPRange = Azure::MediaServices::Mgmt::V2018_07_01::Models::IPRange - MediaServiceCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaServiceCollection + Deinterlace = Azure::MediaServices::Mgmt::V2018_07_01::Models::Deinterlace + StreamingPolicyCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyCollection Rectangle = Azure::MediaServices::Mgmt::V2018_07_01::Models::Rectangle - Layer = Azure::MediaServices::Mgmt::V2018_07_01::Models::Layer - StreamingPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyWidevineConfiguration + IPRange = Azure::MediaServices::Mgmt::V2018_07_01::Models::IPRange + StreamingLocatorCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorCollection AssetFileEncryptionMetadata = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFileEncryptionMetadata - AssetFilterCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFilterCollection - StreamingEntityScaleUnit = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEntityScaleUnit + Layer = Azure::MediaServices::Mgmt::V2018_07_01::Models::Layer + MediaServiceCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaServiceCollection StreamingEndpointListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointListResult - StreamingEndpointAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointAccessControl - ContentKeyPolicyRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestriction + AssetFilterCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFilterCollection + StreamingPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyWidevineConfiguration StreamingPolicyContentKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKey - ContentKeyPolicyRestrictionTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenKey - AkamaiSignatureHeaderAuthenticationKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey + StreamingEndpointAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointAccessControl + StreamingEntityScaleUnit = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEntityScaleUnit AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl + ContentKeyPolicyRestrictionTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenKey + ContentKeyPolicyRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestriction + ListPathsResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse OutputFile = Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile - JobErrorDetail = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorDetail + AkamaiSignatureHeaderAuthenticationKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey LiveEventListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventListResult SubscriptionMediaServiceCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::SubscriptionMediaServiceCollection LiveEventActionInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventActionInput @@ -100,69 +100,69 @@ module Models CrossSiteAccessPolicies = Azure::MediaServices::Mgmt::V2018_07_01::Models::CrossSiteAccessPolicies ContentKeyPolicyTokenClaim = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyTokenClaim LiveEventEncoding = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEncoding - ListPathsResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse JobCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobCollection LiveEventPreview = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventPreview + JobErrorDetail = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorDetail ContentKeyPolicyOption = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyOption LiveEventPreviewAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventPreviewAccessControl ContentKeyPolicyPlayReadyContentKeyLocation = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentKeyLocation + LiveEventInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInput JobOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobOutput LiveEventInputAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputAccessControl - Overlay = Azure::MediaServices::Mgmt::V2018_07_01::Models::Overlay - IPAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::IPAccessControl + TrackSelection = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackSelection AssetStreamingLocator = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStreamingLocator - LiveEventInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInput - AccountFilter = Azure::MediaServices::Mgmt::V2018_07_01::Models::AccountFilter + TransformOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformOutput + ContentKeyPolicyCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyCollection MediaService = Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaService - TrackSelection = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackSelection - Asset = Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset + SubscriptionMediaService = Azure::MediaServices::Mgmt::V2018_07_01::Models::SubscriptionMediaService + IPAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::IPAccessControl AssetFilter = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFilter - TransformOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformOutput - ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader + AccountFilter = Azure::MediaServices::Mgmt::V2018_07_01::Models::AccountFilter ContentKeyPolicyOpenRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyOpenRestriction - SubscriptionMediaService = Azure::MediaServices::Mgmt::V2018_07_01::Models::SubscriptionMediaService - ContentKeyPolicySymmetricTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicySymmetricTokenKey + ContentKeyPolicyUnknownRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownRestriction + Asset = Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset ContentKeyPolicyRsaTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRsaTokenKey - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader - ContentKeyPolicyTokenRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyTokenRestriction + ContentKeyPolicyX509CertificateTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyX509CertificateTokenKey + ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ContentKeyPolicyClearKeyConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyClearKeyConfiguration - ContentKeyPolicyUnknownRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownRestriction - ContentKeyPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyWidevineConfiguration + ContentKeyPolicyUnknownConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownConfiguration + ContentKeyPolicySymmetricTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicySymmetricTokenKey ContentKeyPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyConfiguration - ContentKeyPolicyX509CertificateTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyX509CertificateTokenKey - ContentKeyPolicy = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicy + ContentKeyPolicyFairPlayConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayConfiguration + ContentKeyPolicyTokenRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyTokenRestriction Audio = Azure::MediaServices::Mgmt::V2018_07_01::Models::Audio - ContentKeyPolicyUnknownConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownConfiguration - AudioAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioAnalyzerPreset + AacAudio = Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudio + ContentKeyPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyWidevineConfiguration AudioOverlay = Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioOverlay - ContentKeyPolicyFairPlayConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayConfiguration - Video = Azure::MediaServices::Mgmt::V2018_07_01::Models::Video + CopyVideo = Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyVideo + ContentKeyPolicy = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicy ImageFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::ImageFormat - AacAudio = Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudio - PngFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::PngFormat + JpgFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgFormat + AudioAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioAnalyzerPreset CopyAudio = Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyAudio - CopyVideo = Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyVideo - H264Layer = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Layer + VideoLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoLayer + Video = Azure::MediaServices::Mgmt::V2018_07_01::Models::Video H264Video = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Video - JpgFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgFormat - JpgImage = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgImage + JpgLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgLayer + PngFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::PngFormat MultiBitrateFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::MultiBitrateFormat - VideoLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoLayer - PngLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::PngLayer + Mp4Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Mp4Format + H264Layer = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Layer PngImage = Azure::MediaServices::Mgmt::V2018_07_01::Models::PngImage - JpgLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgLayer - StandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::StandardEncoderPreset + BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::BuiltInStandardEncoderPreset + JpgImage = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgImage VideoAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoAnalyzerPreset - Mp4Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Mp4Format - VideoOverlay = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoOverlay + TransportStreamFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::TransportStreamFormat + PngLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::PngLayer Transform = Azure::MediaServices::Mgmt::V2018_07_01::Models::Transform - BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::BuiltInStandardEncoderPreset - JobInputs = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputs + JobInputClip = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip + StandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::StandardEncoderPreset JobInputAsset = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputAsset - TransportStreamFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::TransportStreamFormat + JobInputHttp = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputHttp JobOutputAsset = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobOutputAsset StreamingPolicy = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicy - JobInputClip = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip + StreamingLocator = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator LiveOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput LiveEvent = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent StreamingEndpoint = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpoint @@ -182,19 +182,19 @@ module Models ProxyResource = Azure::MediaServices::Mgmt::V2018_07_01::Models::ProxyResource DeinterlaceParity = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceParity DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode - Rotation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation + VideoOverlay = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoOverlay AacAudioProfile = Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile + Rotation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation + JobInputs = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputs EntropyMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode + H264Complexity = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity H264VideoProfile = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile - EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset - JobInputHttp = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputHttp - OnErrorType = Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType InsightsType = Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType - StreamingLocator = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator - Priority = Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority + OnErrorType = Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType + EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset JobErrorCode = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode JobErrorCategory = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory - H264Complexity = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + Priority = Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority TrackPropertyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation JobRetry = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobRetry @@ -212,8 +212,8 @@ module Models Filters = Azure::MediaServices::Mgmt::V2018_07_01::Models::Filters ApiError = Azure::MediaServices::Mgmt::V2018_07_01::Models::ApiError Resource = Azure::MediaServices::Mgmt::V2018_07_01::Models::Resource - Image = Azure::MediaServices::Mgmt::V2018_07_01::Models::Image Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Format + Image = Azure::MediaServices::Mgmt::V2018_07_01::Models::Image Location = Azure::MediaServices::Mgmt::V2018_07_01::Models::Location StorageAccount = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount StorageAccountType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccountType @@ -298,9 +298,6 @@ def filter_track_selection def streaming_policy_fair_play_configuration Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyFairPlayConfiguration end - def content_key_policy_collection - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyCollection - end def account_filter_collection Azure::MediaServices::Mgmt::V2018_07_01::Models::AccountFilterCollection end @@ -313,14 +310,17 @@ def filter_track_property_condition def streaming_path Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPath end + def metric_dimension + Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricDimension + end def streaming_locator_content_key Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKey end def list_content_keys_response Azure::MediaServices::Mgmt::V2018_07_01::Models::ListContentKeysResponse end - def metric_dimension - Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricDimension + def overlay + Azure::MediaServices::Mgmt::V2018_07_01::Models::Overlay end def entity_name_availability_check_output Azure::MediaServices::Mgmt::V2018_07_01::Models::EntityNameAvailabilityCheckOutput @@ -382,8 +382,8 @@ def streaming_policy_content_keys def envelope_encryption Azure::MediaServices::Mgmt::V2018_07_01::Models::EnvelopeEncryption end - def content_key_policy_play_ready_license - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicense + def no_encryption + Azure::MediaServices::Mgmt::V2018_07_01::Models::NoEncryption end def default_key Azure::MediaServices::Mgmt::V2018_07_01::Models::DefaultKey @@ -391,86 +391,86 @@ def default_key def content_key_policy_configuration Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyConfiguration end - def no_encryption - Azure::MediaServices::Mgmt::V2018_07_01::Models::NoEncryption - end def enabled_protocols Azure::MediaServices::Mgmt::V2018_07_01::Models::EnabledProtocols end - def cenc_drm_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::CencDrmConfiguration + def track_property_condition + Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCondition + end + def content_key_policy_play_ready_license + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicense end def transform_collection Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformCollection end - def track_property_condition - Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCondition - end def cbcs_drm_configuration Azure::MediaServices::Mgmt::V2018_07_01::Models::CbcsDrmConfiguration end - def streaming_policy_collection - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyCollection + def cenc_drm_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::CencDrmConfiguration + end + def job_error + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobError end def deinterlace Azure::MediaServices::Mgmt::V2018_07_01::Models::Deinterlace end - def streaming_locator_collection - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorCollection + def streaming_policy_collection + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyCollection end - def job_error - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobError + def rectangle + Azure::MediaServices::Mgmt::V2018_07_01::Models::Rectangle end def iprange Azure::MediaServices::Mgmt::V2018_07_01::Models::IPRange end - def media_service_collection - Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaServiceCollection + def streaming_locator_collection + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorCollection end - def rectangle - Azure::MediaServices::Mgmt::V2018_07_01::Models::Rectangle + def asset_file_encryption_metadata + Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFileEncryptionMetadata end def layer Azure::MediaServices::Mgmt::V2018_07_01::Models::Layer end - def streaming_policy_widevine_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyWidevineConfiguration + def media_service_collection + Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaServiceCollection end - def asset_file_encryption_metadata - Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFileEncryptionMetadata + def streaming_endpoint_list_result + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointListResult end def asset_filter_collection Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFilterCollection end - def streaming_entity_scale_unit - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEntityScaleUnit + def streaming_policy_widevine_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyWidevineConfiguration end - def streaming_endpoint_list_result - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointListResult + def streaming_policy_content_key + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKey end def streaming_endpoint_access_control Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointAccessControl end - def content_key_policy_restriction - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestriction + def streaming_entity_scale_unit + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEntityScaleUnit end - def streaming_policy_content_key - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKey + def akamai_access_control + Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl end def content_key_policy_restriction_token_key Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenKey end - def akamai_signature_header_authentication_key - Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey + def content_key_policy_restriction + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestriction end - def akamai_access_control - Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl + def list_paths_response + Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse end def output_file Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile end - def job_error_detail - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorDetail + def akamai_signature_header_authentication_key + Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey end def live_event_list_result Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventListResult @@ -493,15 +493,15 @@ def content_key_policy_token_claim def live_event_encoding Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEncoding end - def list_paths_response - Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse - end def job_collection Azure::MediaServices::Mgmt::V2018_07_01::Models::JobCollection end def live_event_preview Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventPreview end + def job_error_detail + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorDetail + end def content_key_policy_option Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyOption end @@ -511,167 +511,167 @@ def live_event_preview_access_control def content_key_policy_play_ready_content_key_location Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentKeyLocation end + def live_event_input + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInput + end def job_output Azure::MediaServices::Mgmt::V2018_07_01::Models::JobOutput end def live_event_input_access_control Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputAccessControl end - def overlay - Azure::MediaServices::Mgmt::V2018_07_01::Models::Overlay - end - def ipaccess_control - Azure::MediaServices::Mgmt::V2018_07_01::Models::IPAccessControl + def track_selection + Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackSelection end def asset_streaming_locator Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStreamingLocator end - def live_event_input - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInput + def transform_output + Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformOutput end - def account_filter - Azure::MediaServices::Mgmt::V2018_07_01::Models::AccountFilter + def content_key_policy_collection + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyCollection end def media_service Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaService end - def track_selection - Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackSelection + def subscription_media_service + Azure::MediaServices::Mgmt::V2018_07_01::Models::SubscriptionMediaService end - def asset - Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset + def ipaccess_control + Azure::MediaServices::Mgmt::V2018_07_01::Models::IPAccessControl end def asset_filter Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFilter end - def transform_output - Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformOutput + def content_key_policy_play_ready_content_encryption_key_from_header + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader end - def content_key_policy_play_ready_content_encryption_key_from_key_identifier - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier + def account_filter + Azure::MediaServices::Mgmt::V2018_07_01::Models::AccountFilter end def content_key_policy_open_restriction Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyOpenRestriction end - def subscription_media_service - Azure::MediaServices::Mgmt::V2018_07_01::Models::SubscriptionMediaService + def content_key_policy_unknown_restriction + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownRestriction end - def content_key_policy_symmetric_token_key - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicySymmetricTokenKey + def asset + Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset end def content_key_policy_rsa_token_key Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRsaTokenKey end - def content_key_policy_play_ready_content_encryption_key_from_header - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader + def content_key_policy_x509_certificate_token_key + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyX509CertificateTokenKey end - def content_key_policy_token_restriction - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyTokenRestriction + def content_key_policy_play_ready_content_encryption_key_from_key_identifier + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier end def content_key_policy_clear_key_configuration Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyClearKeyConfiguration end - def content_key_policy_unknown_restriction - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownRestriction + def content_key_policy_unknown_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownConfiguration end - def content_key_policy_widevine_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyWidevineConfiguration + def content_key_policy_symmetric_token_key + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicySymmetricTokenKey end def content_key_policy_play_ready_configuration Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyConfiguration end - def content_key_policy_x509_certificate_token_key - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyX509CertificateTokenKey + def content_key_policy_fair_play_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayConfiguration end - def content_key_policy - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicy + def content_key_policy_token_restriction + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyTokenRestriction end def audio Azure::MediaServices::Mgmt::V2018_07_01::Models::Audio end - def content_key_policy_unknown_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownConfiguration + def aac_audio + Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudio end - def audio_analyzer_preset - Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioAnalyzerPreset + def content_key_policy_widevine_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyWidevineConfiguration end def audio_overlay Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioOverlay end - def content_key_policy_fair_play_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayConfiguration + def copy_video + Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyVideo end - def video - Azure::MediaServices::Mgmt::V2018_07_01::Models::Video + def content_key_policy + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicy end def image_format Azure::MediaServices::Mgmt::V2018_07_01::Models::ImageFormat end - def aac_audio - Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudio + def jpg_format + Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgFormat end - def png_format - Azure::MediaServices::Mgmt::V2018_07_01::Models::PngFormat + def audio_analyzer_preset + Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioAnalyzerPreset end def copy_audio Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyAudio end - def copy_video - Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyVideo + def video_layer + Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoLayer end - def h264_layer - Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Layer + def video + Azure::MediaServices::Mgmt::V2018_07_01::Models::Video end def h264_video Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Video end - def jpg_format - Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgFormat + def jpg_layer + Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgLayer end - def jpg_image - Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgImage + def png_format + Azure::MediaServices::Mgmt::V2018_07_01::Models::PngFormat end def multi_bitrate_format Azure::MediaServices::Mgmt::V2018_07_01::Models::MultiBitrateFormat end - def video_layer - Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoLayer + def mp4_format + Azure::MediaServices::Mgmt::V2018_07_01::Models::Mp4Format end - def png_layer - Azure::MediaServices::Mgmt::V2018_07_01::Models::PngLayer + def h264_layer + Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Layer end def png_image Azure::MediaServices::Mgmt::V2018_07_01::Models::PngImage end - def jpg_layer - Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgLayer + def built_in_standard_encoder_preset + Azure::MediaServices::Mgmt::V2018_07_01::Models::BuiltInStandardEncoderPreset end - def standard_encoder_preset - Azure::MediaServices::Mgmt::V2018_07_01::Models::StandardEncoderPreset + def jpg_image + Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgImage end def video_analyzer_preset Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoAnalyzerPreset end - def mp4_format - Azure::MediaServices::Mgmt::V2018_07_01::Models::Mp4Format + def transport_stream_format + Azure::MediaServices::Mgmt::V2018_07_01::Models::TransportStreamFormat end - def video_overlay - Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoOverlay + def png_layer + Azure::MediaServices::Mgmt::V2018_07_01::Models::PngLayer end def transform Azure::MediaServices::Mgmt::V2018_07_01::Models::Transform end - def built_in_standard_encoder_preset - Azure::MediaServices::Mgmt::V2018_07_01::Models::BuiltInStandardEncoderPreset + def job_input_clip + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip end - def job_inputs - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputs + def standard_encoder_preset + Azure::MediaServices::Mgmt::V2018_07_01::Models::StandardEncoderPreset end def job_input_asset Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputAsset end - def transport_stream_format - Azure::MediaServices::Mgmt::V2018_07_01::Models::TransportStreamFormat + def job_input_http + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputHttp end def job_output_asset Azure::MediaServices::Mgmt::V2018_07_01::Models::JobOutputAsset @@ -679,8 +679,8 @@ def job_output_asset def streaming_policy Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicy end - def job_input_clip - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip + def streaming_locator + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator end def live_output Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput @@ -739,35 +739,35 @@ def deinterlace_parity def deinterlace_mode Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode end - def rotation - Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation + def video_overlay + Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoOverlay end def aac_audio_profile Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile end + def rotation + Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation + end + def job_inputs + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputs + end def entropy_mode Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode end + def h264_complexity + Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + end def h264_video_profile Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile end - def encoder_named_preset - Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset - end - def job_input_http - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputHttp - end - def on_error_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType - end def insights_type Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType end - def streaming_locator - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator + def on_error_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType end - def priority - Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority + def encoder_named_preset + Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset end def job_error_code Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode @@ -775,8 +775,8 @@ def job_error_code def job_error_category Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory end - def h264_complexity - Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + def priority + Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority end def track_property_type Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType @@ -829,12 +829,12 @@ def api_error def resource Azure::MediaServices::Mgmt::V2018_07_01::Models::Resource end - def image - Azure::MediaServices::Mgmt::V2018_07_01::Models::Image - end def format Azure::MediaServices::Mgmt::V2018_07_01::Models::Format end + def image + Azure::MediaServices::Mgmt::V2018_07_01::Models::Image + end def location Azure::MediaServices::Mgmt::V2018_07_01::Models::Location end diff --git a/azure_sdk/lib/latest/modules/monitor_profile_module.rb b/azure_sdk/lib/latest/modules/monitor_profile_module.rb index af678467f1..9a8970dcfe 100644 --- a/azure_sdk/lib/latest/modules/monitor_profile_module.rb +++ b/azure_sdk/lib/latest/modules/monitor_profile_module.rb @@ -21,12 +21,18 @@ module Mgmt MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics - ActionGroups = Azure::Monitor::Mgmt::V2018_03_01::ActionGroups MetricAlerts = Azure::Monitor::Mgmt::V2018_03_01::MetricAlerts MetricAlertsStatus = Azure::Monitor::Mgmt::V2018_03_01::MetricAlertsStatus + ActionGroups = Azure::Monitor::Mgmt::V2018_03_01::ActionGroups ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules module Models + 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 + ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult @@ -49,56 +55,51 @@ module Models EventCategoryCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo 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 - ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch - RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource + RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch - ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition + LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident RuleAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction - LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection IncidentListResult = Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult RuleMetricDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource + RuleManagementEventDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource ThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition LocationThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::LocationThresholdRuleCondition - RuleManagementEventDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource - RuleEmailAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction ManagementEventRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition RuleWebhookAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction - AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + RuleEmailAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource - ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator + ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + ActivityLogAlertLeafCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition ActivityLogAlertAllOfCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition ActivityLogAlertActionGroup = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionGroup ActivityLogAlertActionList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertActionList ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource - ActivityLogAlertLeafCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition + CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType + ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource + MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings 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 DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy - CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType - ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource - MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings + Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity 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 TimeSeriesInformation = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::TimeSeriesInformation CalculateBaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse - Sensitivity = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity + Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue @@ -110,7 +111,11 @@ module Models MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability - Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response + EnableRequest = Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest + EmailReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::EmailReceiver + ActionGroupPatchBody = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody + WebhookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver + MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension AzureAppPushReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver ItsmReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver @@ -131,33 +136,28 @@ module Models ReceiverStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus ActionGroupList = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList ActionGroupResource = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource - EnableRequest = Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest - EmailReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::EmailReceiver - ActionGroupPatchBody = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody - WebhookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver - MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension + Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule + ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection LogMetricTrigger = Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition AzNsActionGroup = Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup LogSearchRuleResourcePatch = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch + ErrorResponse = Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse LogSearchRuleResource = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource AlertingAction = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction - Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled - ErrorResponse = Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse + Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action QueryType = Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType - ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator + Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled MetricTriggerType = Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType - AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity + ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator Resource = Azure::Monitor::Mgmt::V2018_04_16::Models::Resource - Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action - Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule - ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState + AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source end class MonitorManagementClass - attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_definitions, :metrics, :action_groups, :metric_alerts, :metric_alerts_status, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes + attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_definitions, :metrics, :metric_alerts, :metric_alerts_status, :action_groups, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -217,9 +217,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_6.subscription_id = configurable.subscription_id end add_telemetry(@client_6) - @action_groups = @client_6.action_groups @metric_alerts = @client_6.metric_alerts @metric_alerts_status = @client_6.metric_alerts_status + @action_groups = @client_6.action_groups @client_7 = Azure::Monitor::Mgmt::V2018_04_16::MonitorClient.new(configurable.credentials, base_url, options) if(@client_7.respond_to?(:subscription_id)) @@ -259,6 +259,24 @@ def method_missing(method, *args) end class ModelClasses + def autoscale_setting_resource + Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource + end + def metric_statistic_type + Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType + end + def time_aggregation_type + Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType + end + 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 scale_type + Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType + end def operation_display Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay end @@ -325,44 +343,26 @@ def http_request_info def time_window Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow end - def autoscale_setting_resource - Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource - end - def metric_statistic_type - Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType - end - def time_aggregation_type - Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType - end - 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 scale_type - Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType - end def rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition end def alert_rule_resource_patch Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch end - def rule_management_event_claims_data_source - Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource - end def alert_rule_resource_collection Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection end def rule_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource end + def rule_management_event_claims_data_source + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource + end def log_profile_resource_patch Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch end - def management_event_aggregation_condition - Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition + def log_profile_collection + Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection end def incident Azure::Monitor::Mgmt::V2016_03_01::Models::Incident @@ -370,45 +370,48 @@ def incident def rule_action Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction end - def log_profile_collection - Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection - end def incident_list_result Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult end def rule_metric_data_source Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource end + def rule_management_event_data_source + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource + 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 rule_management_event_data_source - Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource - end - def rule_email_action - Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction - end def management_event_rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition 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 + def rule_email_action + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction end def log_profile_resource Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource end - def condition_operator - Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + def management_event_aggregation_condition + Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition end def time_aggregation_operator Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator end + def condition_operator + Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + end + def alert_rule_resource + Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource + end + def activity_log_alert_leaf_condition + Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition + end def activity_log_alert_all_of_condition Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition end @@ -427,8 +430,14 @@ def activity_log_alert_list def activity_log_alert_resource Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource end - def activity_log_alert_leaf_condition - Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition + def category_type + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType + end + def proxy_only_resource + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource + end + def metric_settings + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings end def log_settings Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings @@ -448,14 +457,8 @@ def diagnostic_settings_category_resource def retention_policy Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy end - def category_type - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType - end - def proxy_only_resource - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource - end - def metric_settings - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings + def sensitivity + Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity end def baseline Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline @@ -472,8 +475,8 @@ def time_series_information def calculate_baseline_response Azure::Monitor::Mgmt::V2017_11_01_preview::Models::CalculateBaselineResponse end - def sensitivity - Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity + def response + Azure::Monitor::Mgmt::V2018_01_01::Models::Response end def localizable_string Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString @@ -508,8 +511,20 @@ def metric_definition_collection def metric_availability Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability end - def response - Azure::Monitor::Mgmt::V2018_01_01::Models::Response + def enable_request + Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest + end + def email_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::EmailReceiver + end + def action_group_patch_body + Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody + end + def webhook_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver + end + def metric_dimension + Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension end def azure_app_push_receiver Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver @@ -571,20 +586,11 @@ def action_group_list def action_group_resource Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource end - def enable_request - Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest - end - def email_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::EmailReceiver - end - def action_group_patch_body - Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody - end - def webhook_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver + def schedule + Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule end - def metric_dimension - Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension + def provisioning_state + Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState end def log_search_rule_resource_collection Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection @@ -601,41 +607,35 @@ def az_ns_action_group def log_search_rule_resource_patch Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch end + def error_response + Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse + end def log_search_rule_resource Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource end def alerting_action Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction end - def enabled - Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled - end - def error_response - Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse + def action + Azure::Monitor::Mgmt::V2018_04_16::Models::Action end def query_type Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType end - def conditional_operator - Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator + def enabled + Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled end def metric_trigger_type Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType end - def alert_severity - Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity + def conditional_operator + Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator end def resource Azure::Monitor::Mgmt::V2018_04_16::Models::Resource end - def action - Azure::Monitor::Mgmt::V2018_04_16::Models::Action - end - def schedule - Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule - end - def provisioning_state - Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState + def alert_severity + Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity end def source Azure::Monitor::Mgmt::V2018_04_16::Models::Source diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index 42ecac0ff2..9e63414b5b 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -30,12 +30,12 @@ module Mgmt PacketCaptures = Azure::Network::Mgmt::V2018_10_01::PacketCaptures ConnectionMonitors = Azure::Network::Mgmt::V2018_10_01::ConnectionMonitors AzureFirewalls = Azure::Network::Mgmt::V2018_10_01::AzureFirewalls - AvailableDelegations = Azure::Network::Mgmt::V2018_10_01::AvailableDelegations - AvailableResourceGroupDelegations = Azure::Network::Mgmt::V2018_10_01::AvailableResourceGroupDelegations - ExpressRouteCircuitConnections = Azure::Network::Mgmt::V2018_10_01::ExpressRouteCircuitConnections - AzureFirewallFqdnTags = Azure::Network::Mgmt::V2018_10_01::AzureFirewallFqdnTags - DdosProtectionPlans = Azure::Network::Mgmt::V2018_10_01::DdosProtectionPlans + ExpressRouteCrossConnections = Azure::Network::Mgmt::V2018_10_01::ExpressRouteCrossConnections + ExpressRouteCrossConnectionPeerings = Azure::Network::Mgmt::V2018_10_01::ExpressRouteCrossConnectionPeerings ExpressRouteGateways = Azure::Network::Mgmt::V2018_10_01::ExpressRouteGateways + ExpressRouteConnections = Azure::Network::Mgmt::V2018_10_01::ExpressRouteConnections + ExpressRoutePortsLocations = Azure::Network::Mgmt::V2018_10_01::ExpressRoutePortsLocations + ExpressRoutePorts = Azure::Network::Mgmt::V2018_10_01::ExpressRoutePorts ExpressRouteLinks = Azure::Network::Mgmt::V2018_10_01::ExpressRouteLinks InterfaceEndpoints = Azure::Network::Mgmt::V2018_10_01::InterfaceEndpoints LoadBalancerOutboundRules = Azure::Network::Mgmt::V2018_10_01::LoadBalancerOutboundRules @@ -44,38 +44,39 @@ module Mgmt NetworkProfiles = Azure::Network::Mgmt::V2018_10_01::NetworkProfiles PublicIPPrefixes = Azure::Network::Mgmt::V2018_10_01::PublicIPPrefixes PublicIPAddresses = Azure::Network::Mgmt::V2018_10_01::PublicIPAddresses - ExpressRoutePortsLocations = Azure::Network::Mgmt::V2018_10_01::ExpressRoutePortsLocations - ExpressRouteCrossConnections = Azure::Network::Mgmt::V2018_10_01::ExpressRouteCrossConnections - ExpressRouteCrossConnectionPeerings = Azure::Network::Mgmt::V2018_10_01::ExpressRouteCrossConnectionPeerings + ExpressRouteCircuitConnections = Azure::Network::Mgmt::V2018_10_01::ExpressRouteCircuitConnections + AvailableDelegations = Azure::Network::Mgmt::V2018_10_01::AvailableDelegations + AvailableResourceGroupDelegations = Azure::Network::Mgmt::V2018_10_01::AvailableResourceGroupDelegations Routes = Azure::Network::Mgmt::V2018_10_01::Routes - ExpressRouteConnections = Azure::Network::Mgmt::V2018_10_01::ExpressRouteConnections - ServiceEndpointPolicyDefinitions = Azure::Network::Mgmt::V2018_10_01::ServiceEndpointPolicyDefinitions - ExpressRoutePorts = Azure::Network::Mgmt::V2018_10_01::ExpressRoutePorts + AzureFirewallFqdnTags = Azure::Network::Mgmt::V2018_10_01::AzureFirewallFqdnTags + DdosProtectionPlans = Azure::Network::Mgmt::V2018_10_01::DdosProtectionPlans + RouteFilters = Azure::Network::Mgmt::V2018_10_01::RouteFilters RouteFilterRules = Azure::Network::Mgmt::V2018_10_01::RouteFilterRules RouteTables = Azure::Network::Mgmt::V2018_10_01::RouteTables - VirtualNetworkGateways = Azure::Network::Mgmt::V2018_10_01::VirtualNetworkGateways + ServiceEndpointPolicyDefinitions = Azure::Network::Mgmt::V2018_10_01::ServiceEndpointPolicyDefinitions BgpServiceCommunities = Azure::Network::Mgmt::V2018_10_01::BgpServiceCommunities Usages = Azure::Network::Mgmt::V2018_10_01::Usages VirtualNetworks = Azure::Network::Mgmt::V2018_10_01::VirtualNetworks - RouteFilters = Azure::Network::Mgmt::V2018_10_01::RouteFilters + ServiceEndpointPolicies = Azure::Network::Mgmt::V2018_10_01::ServiceEndpointPolicies Operations = Azure::Network::Mgmt::V2018_10_01::Operations - VirtualNetworkTaps = Azure::Network::Mgmt::V2018_10_01::VirtualNetworkTaps + VirtualNetworkGateways = Azure::Network::Mgmt::V2018_10_01::VirtualNetworkGateways VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2018_10_01::VirtualNetworkGatewayConnections LocalNetworkGateways = Azure::Network::Mgmt::V2018_10_01::LocalNetworkGateways VpnSitesConfiguration = Azure::Network::Mgmt::V2018_10_01::VpnSitesConfiguration - ServiceEndpointPolicies = Azure::Network::Mgmt::V2018_10_01::ServiceEndpointPolicies + VirtualHubs = Azure::Network::Mgmt::V2018_10_01::VirtualHubs Subnets = Azure::Network::Mgmt::V2018_10_01::Subnets VirtualNetworkPeerings = Azure::Network::Mgmt::V2018_10_01::VirtualNetworkPeerings VirtualWans = Azure::Network::Mgmt::V2018_10_01::VirtualWans VpnSites = Azure::Network::Mgmt::V2018_10_01::VpnSites P2sVpnGateways = Azure::Network::Mgmt::V2018_10_01::P2sVpnGateways - VirtualHubs = Azure::Network::Mgmt::V2018_10_01::VirtualHubs HubVirtualNetworkConnections = Azure::Network::Mgmt::V2018_10_01::HubVirtualNetworkConnections VpnGateways = Azure::Network::Mgmt::V2018_10_01::VpnGateways - VpnConnections = Azure::Network::Mgmt::V2018_10_01::VpnConnections + VirtualNetworkTaps = Azure::Network::Mgmt::V2018_10_01::VirtualNetworkTaps P2sVpnServerConfigurations = Azure::Network::Mgmt::V2018_10_01::P2sVpnServerConfigurations + VpnConnections = Azure::Network::Mgmt::V2018_10_01::VpnConnections module Models + VirtualNetworkGatewayConnectionProtocol = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGatewayConnectionProtocol TunnelConnectionStatus = Azure::Network::Mgmt::V2018_10_01::Models::TunnelConnectionStatus HubVirtualNetworkConnectionStatus = Azure::Network::Mgmt::V2018_10_01::Models::HubVirtualNetworkConnectionStatus LogSpecification = Azure::Network::Mgmt::V2018_10_01::Models::LogSpecification @@ -196,13 +197,13 @@ module Models FrontendIPConfiguration = Azure::Network::Mgmt::V2018_10_01::Models::FrontendIPConfiguration VirtualNetworkTap = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkTap ApplicationGatewayRewriteRuleSet = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayRewriteRuleSet - AzureFirewallIPConfiguration = Azure::Network::Mgmt::V2018_10_01::Models::AzureFirewallIPConfiguration + Error = Azure::Network::Mgmt::V2018_10_01::Models::Error ExpressRouteLink = Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteLink ExpressRouteCrossConnection = Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteCrossConnection AzureFirewallNetworkRuleCollection = Azure::Network::Mgmt::V2018_10_01::Models::AzureFirewallNetworkRuleCollection ServiceAssociationLink = Azure::Network::Mgmt::V2018_10_01::Models::ServiceAssociationLink Route = Azure::Network::Mgmt::V2018_10_01::Models::Route - Error = Azure::Network::Mgmt::V2018_10_01::Models::Error + ExpressRouteCircuitConnection = Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteCircuitConnection ServiceEndpointPolicyDefinition = Azure::Network::Mgmt::V2018_10_01::Models::ServiceEndpointPolicyDefinition OutboundRule = Azure::Network::Mgmt::V2018_10_01::Models::OutboundRule ExpressRouteConnection = Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteConnection @@ -385,13 +386,13 @@ module Models ExpressRouteCircuit = Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteCircuit InboundNatPool = Azure::Network::Mgmt::V2018_10_01::Models::InboundNatPool LoadBalancingRule = Azure::Network::Mgmt::V2018_10_01::Models::LoadBalancingRule - Probe = Azure::Network::Mgmt::V2018_10_01::Models::Probe + AzureFirewallIPConfiguration = Azure::Network::Mgmt::V2018_10_01::Models::AzureFirewallIPConfiguration NetworkWatcher = Azure::Network::Mgmt::V2018_10_01::Models::NetworkWatcher PatchRouteFilterRule = Azure::Network::Mgmt::V2018_10_01::Models::PatchRouteFilterRule LoadBalancer = Azure::Network::Mgmt::V2018_10_01::Models::LoadBalancer - BgpServiceCommunity = Azure::Network::Mgmt::V2018_10_01::Models::BgpServiceCommunity + Probe = Azure::Network::Mgmt::V2018_10_01::Models::Probe VirtualNetworkPeering = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkPeering - ExpressRouteCircuitConnection = Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteCircuitConnection + PatchRouteFilter = Azure::Network::Mgmt::V2018_10_01::Models::PatchRouteFilter ExpressRouteCrossConnectionPeering = Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteCrossConnectionPeering VpnClientRootCertificate = Azure::Network::Mgmt::V2018_10_01::Models::VpnClientRootCertificate VirtualNetwork = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetwork @@ -406,14 +407,14 @@ module Models P2SVpnServerConfigVpnClientRootCertificate = Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfigVpnClientRootCertificate VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGatewayIPConfiguration VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGatewayConnectionListEntity - PatchRouteFilter = Azure::Network::Mgmt::V2018_10_01::Models::PatchRouteFilter - VirtualNetworkGateway = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGateway + P2SVpnServerConfigRadiusClientRootCertificate = Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfigRadiusClientRootCertificate + BgpServiceCommunity = Azure::Network::Mgmt::V2018_10_01::Models::BgpServiceCommunity VirtualWAN = Azure::Network::Mgmt::V2018_10_01::Models::VirtualWAN VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGatewayConnection HubVirtualNetworkConnection = Azure::Network::Mgmt::V2018_10_01::Models::HubVirtualNetworkConnection VirtualHub = Azure::Network::Mgmt::V2018_10_01::Models::VirtualHub VpnConnection = Azure::Network::Mgmt::V2018_10_01::Models::VpnConnection - VpnGateway = Azure::Network::Mgmt::V2018_10_01::Models::VpnGateway + VirtualNetworkGateway = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGateway P2SVpnGateway = Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnGateway ApplicationGatewayTier = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayTier SecurityRuleProtocol = Azure::Network::Mgmt::V2018_10_01::Models::SecurityRuleProtocol @@ -427,15 +428,15 @@ module Models ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayProtocol P2SVpnServerConfigVpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfigVpnClientRevokedCertificate P2SVpnServerConfigRadiusServerRootCertificate = Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfigRadiusServerRootCertificate - P2SVpnServerConfigRadiusClientRootCertificate = Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfigRadiusClientRootCertificate + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewaySkuName P2SVpnServerConfiguration = Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfiguration ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewaySslProtocol VpnSite = Azure::Network::Mgmt::V2018_10_01::Models::VpnSite ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewaySslPolicyName ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewaySslCipherSuite ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayCookieBasedAffinity - ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayBackendHealthServerHealth - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewaySkuName + VpnGateway = Azure::Network::Mgmt::V2018_10_01::Models::VpnGateway + ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayOperationalState ApplicationGatewayCustomErrorStatusCode = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayCustomErrorStatusCode IPVersion = Azure::Network::Mgmt::V2018_10_01::Models::IPVersion AzureFirewallApplicationRuleProtocolType = Azure::Network::Mgmt::V2018_10_01::Models::AzureFirewallApplicationRuleProtocolType @@ -443,7 +444,7 @@ module Models ResourceIdentityType = Azure::Network::Mgmt::V2018_10_01::Models::ResourceIdentityType ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayRequestRoutingRuleType ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayRedirectType - ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayOperationalState + ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayBackendHealthServerHealth ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayFirewallMode AuthorizationUseStatus = Azure::Network::Mgmt::V2018_10_01::Models::AuthorizationUseStatus ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState @@ -508,11 +509,10 @@ module Models Container = Azure::Network::Mgmt::V2018_10_01::Models::Container PfsGroup = Azure::Network::Mgmt::V2018_10_01::Models::PfsGroup BgpPeerState = Azure::Network::Mgmt::V2018_10_01::Models::BgpPeerState - VirtualNetworkGatewayConnectionProtocol = Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGatewayConnectionProtocol 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_interface_ipconfigurations, :network_interface_load_balancers, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :azure_firewalls, :available_delegations, :available_resource_group_delegations, :express_route_circuit_connections, :azure_firewall_fqdn_tags, :ddos_protection_plans, :express_route_gateways, :express_route_links, :interface_endpoints, :load_balancer_outbound_rules, :network_interfaces, :network_interface_tap_configurations, :network_profiles, :public_ipprefixes, :public_ipaddresses, :express_route_ports_locations, :express_route_cross_connections, :express_route_cross_connection_peerings, :routes, :express_route_connections, :service_endpoint_policy_definitions, :express_route_ports, :route_filter_rules, :route_tables, :virtual_network_gateways, :bgp_service_communities, :usages, :virtual_networks, :route_filters, :operations, :virtual_network_taps, :virtual_network_gateway_connections, :local_network_gateways, :vpn_sites_configuration, :service_endpoint_policies, :subnets, :virtual_network_peerings, :virtual_wans, :vpn_sites, :p2s_vpn_gateways, :virtual_hubs, :hub_virtual_network_connections, :vpn_gateways, :vpn_connections, :p2s_vpn_server_configurations, :configurable, :base_url, :options, :model_classes + 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_interface_ipconfigurations, :network_interface_load_balancers, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :azure_firewalls, :express_route_cross_connections, :express_route_cross_connection_peerings, :express_route_gateways, :express_route_connections, :express_route_ports_locations, :express_route_ports, :express_route_links, :interface_endpoints, :load_balancer_outbound_rules, :network_interfaces, :network_interface_tap_configurations, :network_profiles, :public_ipprefixes, :public_ipaddresses, :express_route_circuit_connections, :available_delegations, :available_resource_group_delegations, :routes, :azure_firewall_fqdn_tags, :ddos_protection_plans, :route_filters, :route_filter_rules, :route_tables, :service_endpoint_policy_definitions, :bgp_service_communities, :usages, :virtual_networks, :service_endpoint_policies, :operations, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :vpn_sites_configuration, :virtual_hubs, :subnets, :virtual_network_peerings, :virtual_wans, :vpn_sites, :p2s_vpn_gateways, :hub_virtual_network_connections, :vpn_gateways, :virtual_network_taps, :p2s_vpn_server_configurations, :vpn_connections, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -551,12 +551,12 @@ def initialize(configurable, base_url=nil, options=nil) @packet_captures = @client_1.packet_captures @connection_monitors = @client_1.connection_monitors @azure_firewalls = @client_1.azure_firewalls - @available_delegations = @client_1.available_delegations - @available_resource_group_delegations = @client_1.available_resource_group_delegations - @express_route_circuit_connections = @client_1.express_route_circuit_connections - @azure_firewall_fqdn_tags = @client_1.azure_firewall_fqdn_tags - @ddos_protection_plans = @client_1.ddos_protection_plans + @express_route_cross_connections = @client_1.express_route_cross_connections + @express_route_cross_connection_peerings = @client_1.express_route_cross_connection_peerings @express_route_gateways = @client_1.express_route_gateways + @express_route_connections = @client_1.express_route_connections + @express_route_ports_locations = @client_1.express_route_ports_locations + @express_route_ports = @client_1.express_route_ports @express_route_links = @client_1.express_route_links @interface_endpoints = @client_1.interface_endpoints @load_balancer_outbound_rules = @client_1.load_balancer_outbound_rules @@ -565,36 +565,36 @@ def initialize(configurable, base_url=nil, options=nil) @network_profiles = @client_1.network_profiles @public_ipprefixes = @client_1.public_ipprefixes @public_ipaddresses = @client_1.public_ipaddresses - @express_route_ports_locations = @client_1.express_route_ports_locations - @express_route_cross_connections = @client_1.express_route_cross_connections - @express_route_cross_connection_peerings = @client_1.express_route_cross_connection_peerings + @express_route_circuit_connections = @client_1.express_route_circuit_connections + @available_delegations = @client_1.available_delegations + @available_resource_group_delegations = @client_1.available_resource_group_delegations @routes = @client_1.routes - @express_route_connections = @client_1.express_route_connections - @service_endpoint_policy_definitions = @client_1.service_endpoint_policy_definitions - @express_route_ports = @client_1.express_route_ports + @azure_firewall_fqdn_tags = @client_1.azure_firewall_fqdn_tags + @ddos_protection_plans = @client_1.ddos_protection_plans + @route_filters = @client_1.route_filters @route_filter_rules = @client_1.route_filter_rules @route_tables = @client_1.route_tables - @virtual_network_gateways = @client_1.virtual_network_gateways + @service_endpoint_policy_definitions = @client_1.service_endpoint_policy_definitions @bgp_service_communities = @client_1.bgp_service_communities @usages = @client_1.usages @virtual_networks = @client_1.virtual_networks - @route_filters = @client_1.route_filters + @service_endpoint_policies = @client_1.service_endpoint_policies @operations = @client_1.operations - @virtual_network_taps = @client_1.virtual_network_taps + @virtual_network_gateways = @client_1.virtual_network_gateways @virtual_network_gateway_connections = @client_1.virtual_network_gateway_connections @local_network_gateways = @client_1.local_network_gateways @vpn_sites_configuration = @client_1.vpn_sites_configuration - @service_endpoint_policies = @client_1.service_endpoint_policies + @virtual_hubs = @client_1.virtual_hubs @subnets = @client_1.subnets @virtual_network_peerings = @client_1.virtual_network_peerings @virtual_wans = @client_1.virtual_wans @vpn_sites = @client_1.vpn_sites @p2s_vpn_gateways = @client_1.p2s_vpn_gateways - @virtual_hubs = @client_1.virtual_hubs @hub_virtual_network_connections = @client_1.hub_virtual_network_connections @vpn_gateways = @client_1.vpn_gateways - @vpn_connections = @client_1.vpn_connections + @virtual_network_taps = @client_1.virtual_network_taps @p2s_vpn_server_configurations = @client_1.p2s_vpn_server_configurations + @vpn_connections = @client_1.vpn_connections @model_classes = ModelClasses.new end @@ -615,6 +615,9 @@ def method_missing(method, *args) end class ModelClasses + def virtual_network_gateway_connection_protocol + Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGatewayConnectionProtocol + end def tunnel_connection_status Azure::Network::Mgmt::V2018_10_01::Models::TunnelConnectionStatus end @@ -975,8 +978,8 @@ def virtual_network_tap def application_gateway_rewrite_rule_set Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayRewriteRuleSet end - def azure_firewall_ipconfiguration - Azure::Network::Mgmt::V2018_10_01::Models::AzureFirewallIPConfiguration + def error + Azure::Network::Mgmt::V2018_10_01::Models::Error end def express_route_link Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteLink @@ -993,8 +996,8 @@ def service_association_link def route Azure::Network::Mgmt::V2018_10_01::Models::Route end - def error - Azure::Network::Mgmt::V2018_10_01::Models::Error + def express_route_circuit_connection + Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteCircuitConnection end def service_endpoint_policy_definition Azure::Network::Mgmt::V2018_10_01::Models::ServiceEndpointPolicyDefinition @@ -1542,8 +1545,8 @@ def inbound_nat_pool def load_balancing_rule Azure::Network::Mgmt::V2018_10_01::Models::LoadBalancingRule end - def probe - Azure::Network::Mgmt::V2018_10_01::Models::Probe + def azure_firewall_ipconfiguration + Azure::Network::Mgmt::V2018_10_01::Models::AzureFirewallIPConfiguration end def network_watcher Azure::Network::Mgmt::V2018_10_01::Models::NetworkWatcher @@ -1554,14 +1557,14 @@ def patch_route_filter_rule def load_balancer Azure::Network::Mgmt::V2018_10_01::Models::LoadBalancer end - def bgp_service_community - Azure::Network::Mgmt::V2018_10_01::Models::BgpServiceCommunity + def probe + Azure::Network::Mgmt::V2018_10_01::Models::Probe end def virtual_network_peering Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkPeering end - def express_route_circuit_connection - Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteCircuitConnection + def patch_route_filter + Azure::Network::Mgmt::V2018_10_01::Models::PatchRouteFilter end def express_route_cross_connection_peering Azure::Network::Mgmt::V2018_10_01::Models::ExpressRouteCrossConnectionPeering @@ -1605,11 +1608,11 @@ def virtual_network_gateway_ipconfiguration def virtual_network_gateway_connection_list_entity Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGatewayConnectionListEntity end - def patch_route_filter - Azure::Network::Mgmt::V2018_10_01::Models::PatchRouteFilter + def p2_svpn_server_config_radius_client_root_certificate + Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfigRadiusClientRootCertificate end - def virtual_network_gateway - Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGateway + def bgp_service_community + Azure::Network::Mgmt::V2018_10_01::Models::BgpServiceCommunity end def virtual_wan Azure::Network::Mgmt::V2018_10_01::Models::VirtualWAN @@ -1626,8 +1629,8 @@ def virtual_hub def vpn_connection Azure::Network::Mgmt::V2018_10_01::Models::VpnConnection end - def vpn_gateway - Azure::Network::Mgmt::V2018_10_01::Models::VpnGateway + def virtual_network_gateway + Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGateway end def p2_svpn_gateway Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnGateway @@ -1668,8 +1671,8 @@ def p2_svpn_server_config_vpn_client_revoked_certificate def p2_svpn_server_config_radius_server_root_certificate Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfigRadiusServerRootCertificate end - def p2_svpn_server_config_radius_client_root_certificate - Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfigRadiusClientRootCertificate + def application_gateway_sku_name + Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewaySkuName end def p2_svpn_server_configuration Azure::Network::Mgmt::V2018_10_01::Models::P2SVpnServerConfiguration @@ -1689,11 +1692,11 @@ def application_gateway_ssl_cipher_suite def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayCookieBasedAffinity end - def application_gateway_backend_health_server_health - Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayBackendHealthServerHealth + def vpn_gateway + Azure::Network::Mgmt::V2018_10_01::Models::VpnGateway end - def application_gateway_sku_name - Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewaySkuName + def application_gateway_operational_state + Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayOperationalState end def application_gateway_custom_error_status_code Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayCustomErrorStatusCode @@ -1716,8 +1719,8 @@ def application_gateway_request_routing_rule_type def application_gateway_redirect_type Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayRedirectType end - def application_gateway_operational_state - Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayOperationalState + def application_gateway_backend_health_server_health + Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayBackendHealthServerHealth end def application_gateway_firewall_mode Azure::Network::Mgmt::V2018_10_01::Models::ApplicationGatewayFirewallMode @@ -1911,9 +1914,6 @@ def pfs_group def bgp_peer_state Azure::Network::Mgmt::V2018_10_01::Models::BgpPeerState end - def virtual_network_gateway_connection_protocol - Azure::Network::Mgmt::V2018_10_01::Models::VirtualNetworkGatewayConnectionProtocol - 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 94db915232..a91b757221 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -9,10 +9,12 @@ module NewsSearch NewsOperations = Azure::CognitiveServices::NewsSearch::V1_0::NewsOperations module Models + Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject ErrorSubCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness - ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject TextFormat = Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response @@ -22,17 +24,15 @@ module Models Thing = Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing NewsArticle = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News + Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject SafeSearch = Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch ErrorCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode CreativeWork = Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork - Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error - MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject end class NewsSearchDataClass @@ -65,6 +65,15 @@ def method_missing(method, *args) end class ModelClasses + def query + Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + end + def image_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + end + def media_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject + end def error_sub_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode end @@ -74,9 +83,6 @@ def error_response def freshness Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness end - def image_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject - end def text_format Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat end @@ -104,6 +110,9 @@ def news_article def news Azure::CognitiveServices::NewsSearch::V1_0::Models::News end + def identifiable + Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable + end def news_topic Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic end @@ -113,9 +122,6 @@ def article def trending_topics Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics end - def identifiable - Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable - end def video_object Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject end @@ -128,15 +134,9 @@ def error_code def creative_work Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork end - def query - Azure::CognitiveServices::NewsSearch::V1_0::Models::Query - end def error Azure::CognitiveServices::NewsSearch::V1_0::Models::Error end - def media_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - 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 4f1a7b019a..8256a7932d 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -7,9 +7,9 @@ module Azure::Profiles::Latest module NotificationHubs module Mgmt - Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces - NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs 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 AccessRights = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights @@ -49,7 +49,7 @@ module Models end class NotificationHubsManagementClass - attr_reader :namespaces, :notification_hubs, :operations, :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 @@ -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 - @notification_hubs = @client_0.notification_hubs @operations = @client_0.operations + @notification_hubs = @client_0.notification_hubs + @namespaces = @client_0.namespaces @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb index 92a055a21b..177a393059 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -9,12 +9,13 @@ 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 module Models + Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight @@ -31,15 +32,14 @@ module Models 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 - Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag 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 StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState - StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource @@ -66,7 +66,7 @@ module Models end class OperationalInsightsManagementClass - attr_reader :storage_insights, :saved_searches, :linked_services, :data_sources, :workspaces, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :storage_insights, :saved_searches, :data_sources, :workspaces, :operations, :linked_services, :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 @model_classes = ModelClasses.new end @@ -108,6 +108,9 @@ def method_missing(method, *args) end class ModelClasses + def tag + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + end def search_schema_value Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue end @@ -156,9 +159,6 @@ def workspace_purge_body_filters def workspace_purge_body Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody end - def tag - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - end def workspace_purge_response Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse end @@ -174,15 +174,15 @@ def storage_insight def search_sort_enum Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum end + def storage_insight_state + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + end def storage_account Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount 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 proxy_resource Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource end diff --git a/azure_sdk/lib/latest/modules/policy_profile_module.rb b/azure_sdk/lib/latest/modules/policy_profile_module.rb index 4497a70644..bf456efaba 100644 --- a/azure_sdk/lib/latest/modules/policy_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policy_profile_module.rb @@ -12,6 +12,9 @@ module Mgmt PolicySetDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicySetDefinitions module Models + PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult + PolicySku = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku + PolicyAssignment = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment PolicyDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition PolicyAssignmentListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignmentListResult PolicyDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult @@ -20,9 +23,6 @@ module Models PolicyMode = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference PolicySetDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition - PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult - PolicySku = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku - PolicyAssignment = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment end class PolicyManagementClass @@ -57,6 +57,15 @@ def method_missing(method, *args) end class ModelClasses + def policy_set_definition_list_result + Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult + end + def policy_sku + Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku + end + def policy_assignment + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment + end def policy_definition Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition end @@ -81,15 +90,6 @@ def policy_definition_reference def policy_set_definition Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition end - def policy_set_definition_list_result - Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult - end - def policy_sku - Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku - end - def policy_assignment - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment - 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 b6ec9f5bec..7cd0853b22 100644 --- a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb @@ -7,31 +7,31 @@ 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 + PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent + PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState + PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults + QueryFailure = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError + OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource + SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions 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 + OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay Summary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Summary - 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 Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation - OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay - OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults - PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState - SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults 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,12 +62,30 @@ 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 policy_states_query_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults + end + def query_failure + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure + end def query_failure_error Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError end + def operations_list_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults + end def policy_states_resource Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource end + def summary_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + end def query_options Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions end @@ -80,35 +98,17 @@ def policy_assignment_summary def policy_events_query_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults end + def operation_display + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay + end def summary Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Summary end - def query_failure - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure - end - def summarize_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults - end - def policy_states_query_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults - 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 operation_display - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay - end - def operations_list_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults - end - def policy_state - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState - end - def summary_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults + def summarize_results + Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults 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 ed0803c128..2fe9e430d3 100644 --- a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb +++ b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb @@ -11,6 +11,7 @@ module Mgmt Workspaces = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Workspaces module Models + Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList WorkspaceCollectionAccessKeys = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys WorkspaceCollection = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection @@ -29,7 +30,6 @@ module Models CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation - Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error end class PowerBiEmbeddedManagementClass @@ -63,6 +63,9 @@ def method_missing(method, *args) end class ModelClasses + def error + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error + end def operation_list Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList end @@ -117,9 +120,6 @@ def azure_sku def operation Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation end - def error - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error - end end end end diff --git a/azure_sdk/lib/latest/modules/qnamaker_profile_module.rb b/azure_sdk/lib/latest/modules/qnamaker_profile_module.rb index b12f94218c..614ac681a1 100644 --- a/azure_sdk/lib/latest/modules/qnamaker_profile_module.rb +++ b/azure_sdk/lib/latest/modules/qnamaker_profile_module.rb @@ -12,6 +12,12 @@ module Qnamaker Operations = Azure::CognitiveServices::Qnamaker::V4_0::Operations module Models + QnADTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO + EndpointKeysDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO + FileDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO + WordAlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO + KnowledgebasesDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO + UpdateQnaDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO QnADocumentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADocumentsDTO UpdateQuestionsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQuestionsDTO CreateKbDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbDTO @@ -26,24 +32,18 @@ module Models AlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO UpdateKbOperationDTOAdd = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOAdd UpdateKbOperationDTODelete = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTODelete - UpdateQnaDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO - UpdateQnaDTOQuestions = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOQuestions UpdateKbOperationDTOUpdate = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOUpdate - KnowledgebaseEnvironmentType = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseEnvironmentType + UpdateQnaDTOQuestions = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOQuestions UpdateQnaDTOMetadata = Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOMetadata - OperationStateType = Azure::CognitiveServices::Qnamaker::V4_0::Models::OperationStateType + KnowledgebaseEnvironmentType = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseEnvironmentType ErrorCodeType = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorCodeType + OperationStateType = Azure::CognitiveServices::Qnamaker::V4_0::Models::OperationStateType EnvironmentType = Azure::CognitiveServices::Qnamaker::V4_0::Models::EnvironmentType Operation = Azure::CognitiveServices::Qnamaker::V4_0::Models::Operation ErrorResponseError = Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponseError + Error = Azure::CognitiveServices::Qnamaker::V4_0::Models::Error CreateKbInputDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbInputDTO DeleteKbContentsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::DeleteKbContentsDTO - QnADTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO - EndpointKeysDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO - FileDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO - Error = Azure::CognitiveServices::Qnamaker::V4_0::Models::Error - WordAlterationsDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO - KnowledgebasesDTO = Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO end class QnamakerDataClass @@ -79,6 +79,24 @@ def method_missing(method, *args) end class ModelClasses + def qn_adto + Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO + end + def endpoint_keys_dto + Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO + end + def file_dto + Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO + end + def word_alterations_dto + Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO + end + def knowledgebases_dto + Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO + end + def update_qna_dto + Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO + end def qn_adocuments_dto Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADocumentsDTO end @@ -121,27 +139,24 @@ def update_kb_operation_dtoadd def update_kb_operation_dtodelete Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTODelete end - def update_qna_dto - Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTO + def update_kb_operation_dtoupdate + Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOUpdate end def update_qna_dtoquestions Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOQuestions end - def update_kb_operation_dtoupdate - Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateKbOperationDTOUpdate + def update_qna_dtometadata + Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOMetadata end def knowledgebase_environment_type Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebaseEnvironmentType end - def update_qna_dtometadata - Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOMetadata + def error_code_type + Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorCodeType end def operation_state_type Azure::CognitiveServices::Qnamaker::V4_0::Models::OperationStateType end - def error_code_type - Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorCodeType - end def environment_type Azure::CognitiveServices::Qnamaker::V4_0::Models::EnvironmentType end @@ -151,30 +166,15 @@ def operation def error_response_error Azure::CognitiveServices::Qnamaker::V4_0::Models::ErrorResponseError end + def error + Azure::CognitiveServices::Qnamaker::V4_0::Models::Error + end def create_kb_input_dto Azure::CognitiveServices::Qnamaker::V4_0::Models::CreateKbInputDTO end def delete_kb_contents_dto Azure::CognitiveServices::Qnamaker::V4_0::Models::DeleteKbContentsDTO end - def qn_adto - Azure::CognitiveServices::Qnamaker::V4_0::Models::QnADTO - end - def endpoint_keys_dto - Azure::CognitiveServices::Qnamaker::V4_0::Models::EndpointKeysDTO - end - def file_dto - Azure::CognitiveServices::Qnamaker::V4_0::Models::FileDTO - end - def error - Azure::CognitiveServices::Qnamaker::V4_0::Models::Error - end - def word_alterations_dto - Azure::CognitiveServices::Qnamaker::V4_0::Models::WordAlterationsDTO - end - def knowledgebases_dto - Azure::CognitiveServices::Qnamaker::V4_0::Models::KnowledgebasesDTO - 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 7d4de4e500..d900d16c33 100644 --- a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module RecoveryServices module Mgmt + Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates - Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities - VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages + VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations + Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations - Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages module Models TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource @@ -23,37 +23,37 @@ module Models ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource + VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse JobsSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary 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 ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification - VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary VaultUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList - 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 - UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties - ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo - PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource + ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails - VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource + ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault - VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState + PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType - UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit + VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType + VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState + UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku end class RecoveryServicesManagementClass - attr_reader :vault_certificates, :vaults, :registered_identities, :vault_extended_info_operations, :replication_usages, :operations, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :usages, :vault_certificates, :registered_identities, :replication_usages, :vault_extended_info_operations, :vaults, :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) + @usages = @client_0.usages @vault_certificates = @client_0.vault_certificates - @vaults = @client_0.vaults @registered_identities = @client_0.registered_identities - @vault_extended_info_operations = @client_0.vault_extended_info_operations @replication_usages = @client_0.replication_usages + @vault_extended_info_operations = @client_0.vault_extended_info_operations + @vaults = @client_0.vaults @operations = @client_0.operations - @usages = @client_0.usages @model_classes = ModelClasses.new end @@ -109,6 +109,9 @@ def raw_certificate_data def resource Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource end + def vault_certificate_response + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse + end def jobs_summary Azure::RecoveryServices::Mgmt::V2016_06_01::Models::JobsSummary end @@ -124,9 +127,6 @@ def client_discovery_display def client_discovery_for_service_specification Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification end - def vault_certificate_response - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse - end def monitoring_summary Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary end @@ -136,8 +136,8 @@ def vault_usage def vault_usage_list Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList end - def client_discovery_for_log_specification - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification + def upgrade_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails end def replication_usage_list Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList @@ -145,42 +145,42 @@ def replication_usage_list def resource_certificate_details Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails end - def upgrade_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails - end def vault_properties Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties end - def resource_certificate_and_aad_details - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails - end def name_info Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo end - def patch_tracked_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource + def client_discovery_for_log_specification + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification end def resource_certificate_and_acs_details Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails end - def vault_extended_info_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource + def resource_certificate_and_aad_details + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails end def patch_vault Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault end - def vault_upgrade_state - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState + def patch_tracked_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource end def auth_type Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType end - def usages_unit - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit + def vault_extended_info_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource end def trigger_type Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType end + def vault_upgrade_state + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState + end + def usages_unit + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit + end def vault Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault end diff --git a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb index 3705c77c83..d3ac60aa91 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb @@ -8,6 +8,12 @@ module Azure::Profiles::Latest module RecoveryServicesBackup module Mgmt Operations = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Operations + ProtectionContainers = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionContainers + BackupWorkloadItems = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupWorkloadItems + ProtectionContainerOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionContainerOperationResults + ProtectedItems = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectedItems + Backups = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Backups + ProtectedItemOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectedItemOperationResults ProtectedItemOperationStatuses = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectedItemOperationStatuses RecoveryPoints = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::RecoveryPoints ItemLevelRecoveryConnections = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ItemLevelRecoveryConnections @@ -27,31 +33,25 @@ module Mgmt BackupEngines = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupEngines ProtectionContainerRefreshOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionContainerRefreshOperationResults ProtectableContainers = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectableContainers - ProtectionContainers = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionContainers - BackupWorkloadItems = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::BackupWorkloadItems - ProtectionContainerOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectionContainerOperationResults - ProtectedItems = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectedItems - Backups = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Backups - ProtectedItemOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::ProtectedItemOperationResults + BackupProtectedItems = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupProtectedItems + BackupUsageSummaries = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupUsageSummaries + BackupPolicies = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupPolicies 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 - BackupPolicies = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupPolicies - BackupProtectedItems = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupProtectedItems - BackupUsageSummaries = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupUsageSummaries Operation = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Operation + ExportJobsOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ExportJobsOperationResults module Models - 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 AzureWorkloadContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo DPMContainerExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DPMContainerExtendedInfo InquiryInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryInfo @@ -100,8 +100,8 @@ module Models 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 - AzureIaaSClassicComputeVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem AzureIaaSClassicComputeVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMContainer + AzureIaaSClassicComputeVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem AzureIaaSComputeVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMContainer AzureIaaSComputeVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSComputeVMProtectableItem AzureSqlContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSqlContainer @@ -172,9 +172,15 @@ module Models OperationStatusValues = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest StorageType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType + DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + AzureBackupGoalFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest + ValidateOperationResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse + AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob - AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem TargetAFSRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetAFSRestoreInfo TargetRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetRestoreInfo @@ -184,60 +190,59 @@ module Models MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails - AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest AzureWorkloadAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping - AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob - AzureWorkloadSQLAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent - DpmJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails + AzureRecoveryServiceVaultProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent + BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem AzureFileShareProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy - AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList AzureFileShareRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareRestoreRequest - OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob AzureIaaSVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem AzureIaaSClassicComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem - DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob AzureIaaSComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem AzureIaaSVMProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy - PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList AzureSqlProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem AzureSqlProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy - JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList - ValidateIaasVMRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest - JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction + ValidateRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest + BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource - ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList + AzureWorkloadSQLAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent AzureVmWorkloadProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItem AzureVmWorkloadProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource AzureVmWorkloadSAPHanaDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectedItem - SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction + OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource AzureVmWorkloadSQLDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject - ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus HttpStatusCode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType AzureWorkloadRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadRestoreRequest - ValidateRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest - JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + ValidateIaasVMRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest AzureWorkloadSAPHanaRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaRestoreRequest AzureWorkloadSAPHanaPointInTimeRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaPointInTimeRestoreRequest AzureWorkloadSQLPointInTimeRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest AzureWorkloadSQLRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLRestoreRequest HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState - ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job DPMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource @@ -248,6 +253,7 @@ module Models LogSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LogSchedulePolicy LongTermRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermRetentionPolicy LongTermSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy + JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus MabFileFolderProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem MabProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy ProtectedItemResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource @@ -278,8 +284,8 @@ module Models DayOfWeek = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek ScheduleRunType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType RetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy - NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings + NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo UsagesUnit = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit RestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequest SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy @@ -310,22 +316,16 @@ module Models BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo - BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse - BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse - AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo JobQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject - DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo - BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest - ValidateOperationResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse - AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo - AzureBackupGoalFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest - AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob - AzureRecoveryServiceVaultProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent + DpmJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails end class RecoveryServicesBackupManagementClass - attr_reader :operations, :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, :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, :jobs, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :backup_policies, :backup_protected_items, :backup_usage_summaries, :operation, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :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, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :backup_protected_items, :backup_usage_summaries, :backup_policies, :jobs, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :operation, :export_jobs_operation_results, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -342,6 +342,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @protection_containers = @client_1.protection_containers + @backup_workload_items = @client_1.backup_workload_items + @protection_container_operation_results = @client_1.protection_container_operation_results + @protected_items = @client_1.protected_items + @backups = @client_1.backups + @protected_item_operation_results = @client_1.protected_item_operation_results @protected_item_operation_statuses = @client_1.protected_item_operation_statuses @recovery_points = @client_1.recovery_points @item_level_recovery_connections = @client_1.item_level_recovery_connections @@ -361,29 +367,23 @@ def initialize(configurable, base_url=nil, options=nil) @backup_engines = @client_1.backup_engines @protection_container_refresh_operation_results = @client_1.protection_container_refresh_operation_results @protectable_containers = @client_1.protectable_containers - @protection_containers = @client_1.protection_containers - @backup_workload_items = @client_1.backup_workload_items - @protection_container_operation_results = @client_1.protection_container_operation_results - @protected_items = @client_1.protected_items - @backups = @client_1.backups - @protected_item_operation_results = @client_1.protected_item_operation_results @client_2 = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::RecoveryServicesBackupClient.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) + @backup_protected_items = @client_2.backup_protected_items + @backup_usage_summaries = @client_2.backup_usage_summaries + @backup_policies = @client_2.backup_policies @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 - @backup_policies = @client_2.backup_policies - @backup_protected_items = @client_2.backup_protected_items - @backup_usage_summaries = @client_2.backup_usage_summaries @operation = @client_2.operation + @export_jobs_operation_results = @client_2.export_jobs_operation_results @model_classes = ModelClasses.new end @@ -406,9 +406,6 @@ def method_missing(method, *args) end class ModelClasses - 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 @@ -424,6 +421,9 @@ def client_discovery_response 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 azure_workload_container_extended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo end @@ -568,12 +568,12 @@ def azure_file_share_protectable_item def azure_file_share_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint end - def azure_iaa_sclassic_compute_vmprotectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem - 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 @@ -784,14 +784,32 @@ def backup_request def storage_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType end + def dpm_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + end + def dpmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + end + def azure_sql_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + end + def azure_backup_goal_feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest + end + def validate_operation_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse + end + def azure_iaa_svmjob + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob + 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 azure_vmresource_feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + def azure_storage_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo end def protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem @@ -820,8 +838,8 @@ def weekly_retention_format def encryption_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails end - def azure_iaa_svmjob_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + def azure_vmresource_feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest end def azure_workload_auto_protection_intent Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent @@ -832,8 +850,8 @@ def weekly_retention_schedule def sqldata_directory_mapping Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping end - def azure_iaa_svmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + 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 @@ -844,11 +862,11 @@ def feature_support_request def azure_workload_job Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob end - def azure_workload_sqlauto_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent + def azure_recovery_service_vault_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent end - def dpm_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails + def backup_status_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse end def azure_fileshare_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem @@ -856,14 +874,14 @@ def azure_fileshare_protected_item def azure_file_share_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy end - def azure_sql_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo + def job_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList end def azure_file_share_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareRestoreRequest end - def operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo + def azure_iaa_svmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo end def dpm_job Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob @@ -874,8 +892,8 @@ def azure_iaa_svmprotected_item def azure_iaa_sclassic_compute_vmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem end - def dpm_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + def protection_policy_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList end def mab_job Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob @@ -886,8 +904,8 @@ def azure_iaa_scompute_vmprotected_item def azure_iaa_svmprotection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy end - def pre_validate_enable_backup_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse + def protected_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList end def azure_sql_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem @@ -895,20 +913,20 @@ def azure_sql_protected_item def azure_sql_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy end - def job_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + def validate_restore_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest end - def validate_iaas_vmrestore_operation_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + def backup_management_usage_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList end - def job_supported_action - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction + def backup_status_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest end 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 azure_workload_sqlauto_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent end def azure_vm_workload_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItem @@ -922,8 +940,11 @@ def job_resource def azure_vm_workload_saphana_database_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectedItem end - def support_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + 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 end def fabric_name Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName @@ -943,8 +964,8 @@ def export_jobs_operation_result_info def bmsbackup_summaries_query_object Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject end - def protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + def support_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus end def http_status_code Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode @@ -958,11 +979,8 @@ def mab_server_type def azure_workload_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadRestoreRequest end - def validate_restore_operation_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest - end - def job_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + def validate_iaas_vmrestore_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest end def azure_workload_saphana_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaRestoreRequest @@ -979,9 +997,6 @@ def azure_workload_sqlrestore_request def health_state Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState end - def protection_policy_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList - end def job Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job end @@ -1012,6 +1027,9 @@ def long_term_retention_policy def long_term_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy end + def job_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + end def mab_file_folder_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem end @@ -1102,12 +1120,12 @@ def schedule_run_type def retention_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy end - def name_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo - end def settings Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings end + def name_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + end def usages_unit Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit end @@ -1198,41 +1216,23 @@ def protection_policy_query_object def azure_vm_workload_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo end - def backup_status_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + def protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy end - def backup_management_usage_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList + def pre_validate_enable_backup_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse end def azure_vmresource_feature_support_response Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse end - def azure_storage_error_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo + def azure_iaa_svmjob_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo end def job_query_object Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject end - def dpmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo - end - def backup_status_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest - end - def validate_operation_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse - end - def azure_storage_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo - end - def azure_backup_goal_feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest - end - def azure_iaa_svmjob - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob - end - def azure_recovery_service_vault_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent + def dpm_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails 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 d00cbff4e7..2503f81b01 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb @@ -7,6 +7,12 @@ module Azure::Profiles::Latest module RecoveryServicesSiteRecovery module Mgmt + TargetComputeSizes = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::TargetComputeSizes + ReplicationProtectionContainerMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectionContainerMappings + ReplicationRecoveryServicesProviders = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationRecoveryServicesProviders + ReplicationStorageClassifications = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationStorageClassifications + ReplicationStorageClassificationMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationStorageClassificationMappings + ReplicationvCenters = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationvCenters ReplicationJobs = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationJobs RecoveryPoints = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::RecoveryPoints ReplicationPolicies = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationPolicies @@ -22,12 +28,6 @@ module Mgmt ReplicationProtectionContainers = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectionContainers ReplicationProtectableItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectableItems ReplicationProtectedItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectedItems - TargetComputeSizes = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::TargetComputeSizes - ReplicationProtectionContainerMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectionContainerMappings - ReplicationRecoveryServicesProviders = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationRecoveryServicesProviders - ReplicationStorageClassifications = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationStorageClassifications - ReplicationStorageClassificationMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationStorageClassificationMappings - ReplicationvCenters = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationvCenters module Models Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Display @@ -302,33 +302,33 @@ module Models InMagePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyInput JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReprotectInput - LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ManualActionTaskDetails NetworkMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping - ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping + LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork + ProtectableItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RcmAzureMigrationPolicyDetails RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlan RecoveryPlanAutomationRunbookActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAutomationRunbookActionDetails JobTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobTaskDetails - RecoveryPlanGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupTaskDetails + ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping RecoveryPlanHyperVReplicaAzureFailbackInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput - RecoveryPlanInMageAzureV2FailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageAzureV2FailoverInput - ProtectableItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem + RecoveryPlanGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupTaskDetails RecoveryPlanInMageFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageFailoverInput RecoveryPlanManualActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanManualActionDetails RecoveryPlanScriptActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanScriptActionDetails + RecoveryPlanShutdownGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanShutdownGroupTaskDetails RecoveryPlanA2AFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanA2AFailoverInput - RecoveryServicesProvider = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProvider ReplicationGroupDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationGroupDetails ReplicationProtectedItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItem - Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job - RecoveryPlanShutdownGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanShutdownGroupTaskDetails SanEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SanEnableProtectionInput - StorageClassificationMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMapping + Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job + RecoveryPlanInMageAzureV2FailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageAzureV2FailoverInput StorageClassification = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassification - RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput + StorageClassificationMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMapping SwitchProtectionJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionJobDetails + RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput + RecoveryServicesProvider = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProvider TestFailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverJobDetails VirtualMachineTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VirtualMachineTaskDetails VCenter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenter @@ -377,7 +377,7 @@ module Models end class RecoveryServicesSiteRecoveryManagementClass - attr_reader :replication_jobs, :recovery_points, :replication_policies, :replication_vault_health, :replication_recovery_plans, :operations, :replication_alert_settings, :replication_events, :replication_fabrics, :replication_logical_networks, :replication_networks, :replication_network_mappings, :replication_protection_containers, :replication_protectable_items, :replication_protected_items, :target_compute_sizes, :replication_protection_container_mappings, :replication_recovery_services_providers, :replication_storage_classifications, :replication_storage_classification_mappings, :replicationv_centers, :configurable, :base_url, :options, :model_classes + attr_reader :target_compute_sizes, :replication_protection_container_mappings, :replication_recovery_services_providers, :replication_storage_classifications, :replication_storage_classification_mappings, :replicationv_centers, :replication_jobs, :recovery_points, :replication_policies, :replication_vault_health, :replication_recovery_plans, :operations, :replication_alert_settings, :replication_events, :replication_fabrics, :replication_logical_networks, :replication_networks, :replication_network_mappings, :replication_protection_containers, :replication_protectable_items, :replication_protected_items, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -387,6 +387,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @target_compute_sizes = @client_0.target_compute_sizes + @replication_protection_container_mappings = @client_0.replication_protection_container_mappings + @replication_recovery_services_providers = @client_0.replication_recovery_services_providers + @replication_storage_classifications = @client_0.replication_storage_classifications + @replication_storage_classification_mappings = @client_0.replication_storage_classification_mappings + @replicationv_centers = @client_0.replicationv_centers @replication_jobs = @client_0.replication_jobs @recovery_points = @client_0.recovery_points @replication_policies = @client_0.replication_policies @@ -402,12 +408,6 @@ def initialize(configurable, base_url=nil, options=nil) @replication_protection_containers = @client_0.replication_protection_containers @replication_protectable_items = @client_0.replication_protectable_items @replication_protected_items = @client_0.replication_protected_items - @target_compute_sizes = @client_0.target_compute_sizes - @replication_protection_container_mappings = @client_0.replication_protection_container_mappings - @replication_recovery_services_providers = @client_0.replication_recovery_services_providers - @replication_storage_classifications = @client_0.replication_storage_classifications - @replication_storage_classification_mappings = @client_0.replication_storage_classification_mappings - @replicationv_centers = @client_0.replicationv_centers @model_classes = ModelClasses.new end @@ -1242,17 +1242,17 @@ def job_status_event_details def in_mage_reprotect_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReprotectInput end - def logical_network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork - end def manual_action_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ManualActionTaskDetails end def network_mapping Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping end - def protection_container_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping + def logical_network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork + end + def protectable_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem end def resource Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource @@ -1269,17 +1269,14 @@ def recovery_plan_automation_runbook_action_details def job_task_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobTaskDetails end - def recovery_plan_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupTaskDetails + def protection_container_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping end def recovery_plan_hyper_vreplica_azure_failback_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput end - def recovery_plan_in_mage_azure_v2_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageAzureV2FailoverInput - end - def protectable_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem + def recovery_plan_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupTaskDetails end def recovery_plan_in_mage_failover_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageFailoverInput @@ -1290,38 +1287,41 @@ def recovery_plan_manual_action_details def recovery_plan_script_action_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanScriptActionDetails end + def recovery_plan_shutdown_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanShutdownGroupTaskDetails + end def recovery_plan_a2_afailover_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanA2AFailoverInput end - def recovery_services_provider - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProvider - end def replication_group_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationGroupDetails end def replication_protected_item Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItem end + def san_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SanEnableProtectionInput + end def job Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job end - def recovery_plan_shutdown_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanShutdownGroupTaskDetails + def recovery_plan_in_mage_azure_v2_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageAzureV2FailoverInput end - def san_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SanEnableProtectionInput + def storage_classification + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassification end def storage_classification_mapping Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMapping end - def storage_classification - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassification + def switch_protection_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionJobDetails end def recovery_plan_hyper_vreplica_azure_failover_input Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput end - def switch_protection_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionJobDetails + def recovery_services_provider + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProvider end def test_failover_job_details Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverJobDetails diff --git a/azure_sdk/lib/latest/modules/redis_profile_module.rb b/azure_sdk/lib/latest/modules/redis_profile_module.rb index e7db135343..980bb62d67 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 Redis = Azure::Redis::Mgmt::V2018_03_01::Redis + PatchSchedules = Azure::Redis::Mgmt::V2018_03_01::PatchSchedules LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer Operations = Azure::Redis::Mgmt::V2018_03_01::Operations - PatchSchedules = Azure::Redis::Mgmt::V2018_03_01::PatchSchedules FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules module Models + ReplicationRole = Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole TrackedResource = Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource ProxyResource = Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource DayOfWeek = Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek @@ -22,40 +23,39 @@ module Models RedisRebootParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters Operation = Azure::Redis::Mgmt::V2018_03_01::Models::Operation ExportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters - OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult RedisAccessKeys = Azure::Redis::Mgmt::V2018_03_01::Models::RedisAccessKeys - CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters - NotificationListResponse = Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters - RedisListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult + NotificationListResponse = Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse + OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult + ImportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters + RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters + RedisUpdateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters ScheduleEntry = Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry - RedisPatchScheduleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult + CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters UpgradeNotification = Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification - RedisForceRebootResponse = Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse + RedisPatchScheduleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult RedisLinkedServer = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer - RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult + RedisForceRebootResponse = Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList - RedisUpdateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters - ImportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters - RedisFirewallRuleCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters - RedisCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters + RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters - RedisFirewallRule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule + RedisCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters RedisResource = Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource - RedisPatchSchedule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule + RedisFirewallRule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties + RedisListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult + SkuName = Azure::Redis::Mgmt::V2018_03_01::Models::SkuName SkuFamily = Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily - TlsVersion = Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion + RedisPatchSchedule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule RedisKeyType = Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType - SkuName = Azure::Redis::Mgmt::V2018_03_01::Models::SkuName - ReplicationRole = Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole - Sku = Azure::Redis::Mgmt::V2018_03_01::Models::Sku RebootType = Azure::Redis::Mgmt::V2018_03_01::Models::RebootType + TlsVersion = Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion + Sku = Azure::Redis::Mgmt::V2018_03_01::Models::Sku ProvisioningState = Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState end class RedisManagementClass - attr_reader :redis, :linked_server, :operations, :patch_schedules, :firewall_rules, :configurable, :base_url, :options, :model_classes + attr_reader :redis, :patch_schedules, :linked_server, :operations, :firewall_rules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -66,9 +66,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @redis = @client_0.redis + @patch_schedules = @client_0.patch_schedules @linked_server = @client_0.linked_server @operations = @client_0.operations - @patch_schedules = @client_0.patch_schedules @firewall_rules = @client_0.firewall_rules @model_classes = ModelClasses.new @@ -88,6 +88,9 @@ def method_missing(method, *args) end class ModelClasses + def replication_role + Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole + end def tracked_resource Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource end @@ -112,93 +115,90 @@ def operation def export_rdbparameters Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters end - def operation_list_result - Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult - end def redis_access_keys Azure::Redis::Mgmt::V2018_03_01::Models::RedisAccessKeys end - def check_name_availability_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters + def redis_regenerate_key_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters end def notification_list_response Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse end - def redis_regenerate_key_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters + def operation_list_result + Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult end - def redis_list_result - Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult + def import_rdbparameters + Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters + end + def redis_firewall_rule_create_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters + end + def redis_update_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters end def schedule_entry Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry end - def redis_patch_schedule_list_result - Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult + def check_name_availability_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters end def upgrade_notification Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification end - def redis_force_reboot_response - Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse + def redis_patch_schedule_list_result + Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult end def redis_linked_server Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer end - def redis_firewall_rule_list_result - Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult + def redis_force_reboot_response + Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse end def redis_linked_server_with_properties_list Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList end - def redis_update_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters - end - def import_rdbparameters - Azure::Redis::Mgmt::V2018_03_01::Models::ImportRDBParameters - end - def redis_firewall_rule_create_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleCreateParameters - end - def redis_create_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters + def redis_firewall_rule_list_result + Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult end def redis_linked_server_create_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters end - def redis_firewall_rule - Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule + def redis_create_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters end def redis_resource Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource end - def redis_patch_schedule - Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule + def redis_firewall_rule + Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule end def redis_linked_server_with_properties Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties end + def redis_list_result + Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult + end + def sku_name + Azure::Redis::Mgmt::V2018_03_01::Models::SkuName + end def sku_family Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily end - def tls_version - Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion + def redis_patch_schedule + Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule end def redis_key_type Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType end - def sku_name - Azure::Redis::Mgmt::V2018_03_01::Models::SkuName + def reboot_type + Azure::Redis::Mgmt::V2018_03_01::Models::RebootType end - def replication_role - Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole + def tls_version + Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion end def sku Azure::Redis::Mgmt::V2018_03_01::Models::Sku end - def reboot_type - Azure::Redis::Mgmt::V2018_03_01::Models::RebootType - end def provisioning_state Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState end diff --git a/azure_sdk/lib/latest/modules/relay_profile_module.rb b/azure_sdk/lib/latest/modules/relay_profile_module.rb index 5bc1b55091..eee96d6696 100644 --- a/azure_sdk/lib/latest/modules/relay_profile_module.rb +++ b/azure_sdk/lib/latest/modules/relay_profile_module.rb @@ -7,43 +7,43 @@ module Azure::Profiles::Latest module Relay module Mgmt - Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces HybridConnections = Azure::Relay::Mgmt::V2017_04_01::HybridConnections WCFRelays = Azure::Relay::Mgmt::V2017_04_01::WCFRelays Operations = Azure::Relay::Mgmt::V2017_04_01::Operations + Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces module Models + HybridConnection = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult CheckNameAvailability = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability - HybridConnectionListResult = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult - WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult + Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult + AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch 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 CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult Relaytype = Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype + AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult + UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + HybridConnectionListResult = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult ProvisioningStateEnum = Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum - AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys KeyType = Azure::Relay::Mgmt::V2017_04_01::Models::KeyType - ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation - UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier - HybridConnection = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection end class RelayManagementClass - attr_reader :namespaces, :hybrid_connections, :wcfrelays, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :hybrid_connections, :wcfrelays, :operations, :namespaces, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -53,10 +53,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @namespaces = @client_0.namespaces @hybrid_connections = @client_0.hybrid_connections @wcfrelays = @client_0.wcfrelays @operations = @client_0.operations + @namespaces = @client_0.namespaces @model_classes = ModelClasses.new end @@ -75,6 +75,9 @@ def method_missing(method, *args) end class ModelClasses + def hybrid_connection + Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection + end def access_rights Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights end @@ -93,23 +96,23 @@ def relay_namespace_list_result 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 + def operation_display + Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay end def wcf_relays_list_result Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult end - def operation_display - Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + def operation + Azure::Relay::Mgmt::V2017_04_01::Models::Operation end def operation_list_result Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult end - def regenerate_access_key_parameters - Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + 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 + def resource_namespace_patch + Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end def wcf_relay Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay @@ -129,23 +132,23 @@ def check_name_availability_result def relaytype Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype end - def provisioning_state_enum - Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum + def authorization_rule_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult end - def access_keys - Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys + def unavailable_reason + Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason end - def key_type - Azure::Relay::Mgmt::V2017_04_01::Models::KeyType + def regenerate_access_key_parameters + Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters end - def resource_namespace_patch - Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + def hybrid_connection_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult end - def operation - Azure::Relay::Mgmt::V2017_04_01::Models::Operation + def provisioning_state_enum + Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum end - def unavailable_reason - Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + def key_type + Azure::Relay::Mgmt::V2017_04_01::Models::KeyType end def sku Azure::Relay::Mgmt::V2017_04_01::Models::Sku @@ -153,9 +156,6 @@ def sku def sku_tier Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier end - def hybrid_connection - Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection - 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 f9296c42eb..89c5048afd 100644 --- a/azure_sdk/lib/latest/modules/resources_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resources_profile_module.rb @@ -7,13 +7,13 @@ module Azure::Profiles::Latest module Resources module Mgmt + DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations + ResourceGroups = Azure::Resources::Mgmt::V2018_05_01::ResourceGroups Resources = Azure::Resources::Mgmt::V2018_05_01::Resources - Deployments = Azure::Resources::Mgmt::V2018_05_01::Deployments Operations = Azure::Resources::Mgmt::V2018_05_01::Operations - ResourceGroups = Azure::Resources::Mgmt::V2018_05_01::ResourceGroups - Tags = Azure::Resources::Mgmt::V2018_05_01::Tags + Deployments = Azure::Resources::Mgmt::V2018_05_01::Deployments Providers = Azure::Resources::Mgmt::V2018_05_01::Providers - DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations + Tags = Azure::Resources::Mgmt::V2018_05_01::Tags module Models Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency @@ -29,12 +29,12 @@ module Models ResourceGroup = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroup ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable Provider = Azure::Resources::Mgmt::V2018_05_01::Models::Provider - AliasType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasType ResourceGroupListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult + ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended ExportTemplateRequest = Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest - ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo DeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended + TagCount = Azure::Resources::Mgmt::V2018_05_01::Models::TagCount ProviderListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult TagValue = Azure::Resources::Mgmt::V2018_05_01::Models::TagValue ResourceGroupFilter = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter @@ -47,9 +47,9 @@ module Models HttpMessage = Azure::Resources::Mgmt::V2018_05_01::Models::HttpMessage DeploymentValidateResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult DeploymentOperationProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationProperties - DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter + AliasType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasType DeploymentOperation = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperation - TagCount = Azure::Resources::Mgmt::V2018_05_01::Models::TagCount + DeploymentExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult DeploymentOperationsListResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationsListResult Resource = Azure::Resources::Mgmt::V2018_05_01::Models::Resource ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceProviderOperationDisplayProperties @@ -57,23 +57,23 @@ module Models DeploymentListResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentListResult ProviderResourceType = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderResourceType ResourceGroupExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupExportResult - OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter GenericResource = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource - DeploymentExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult OperationDisplay = Azure::Resources::Mgmt::V2018_05_01::Models::OperationDisplay - Operation = Azure::Resources::Mgmt::V2018_05_01::Models::Operation OnErrorDeploymentType = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType + Operation = Azure::Resources::Mgmt::V2018_05_01::Models::Operation OperationListResult = Azure::Resources::Mgmt::V2018_05_01::Models::OperationListResult SubResource = Azure::Resources::Mgmt::V2018_05_01::Models::SubResource ResourceListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceListResult DeploymentMode = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentMode + OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended Plan = Azure::Resources::Mgmt::V2018_05_01::Models::Plan ResourceIdentityType = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceIdentityType Sku = Azure::Resources::Mgmt::V2018_05_01::Models::Sku end class ResourcesManagementClass - attr_reader :resources, :deployments, :operations, :resource_groups, :tags, :providers, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :deployment_operations, :resource_groups, :resources, :operations, :deployments, :providers, :tags, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -83,13 +83,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @deployment_operations = @client_0.deployment_operations + @resource_groups = @client_0.resource_groups @resources = @client_0.resources - @deployments = @client_0.deployments @operations = @client_0.operations - @resource_groups = @client_0.resource_groups - @tags = @client_0.tags + @deployments = @client_0.deployments @providers = @client_0.providers - @deployment_operations = @client_0.deployment_operations + @tags = @client_0.tags @model_classes = ModelClasses.new end @@ -147,24 +147,24 @@ def resource_group_patchable def provider Azure::Resources::Mgmt::V2018_05_01::Models::Provider end - def alias_type - Azure::Resources::Mgmt::V2018_05_01::Models::AliasType - end def resource_group_list_result Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult end + def resources_move_info + Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo + end def deployment_properties_extended Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended end def export_template_request Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest end - def resources_move_info - Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo - end def deployment_extended Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended end + def tag_count + Azure::Resources::Mgmt::V2018_05_01::Models::TagCount + end def provider_list_result Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult end @@ -201,14 +201,14 @@ def deployment_validate_result def deployment_operation_properties Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationProperties end - def deployment_extended_filter - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter + def alias_type + Azure::Resources::Mgmt::V2018_05_01::Models::AliasType end def deployment_operation Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperation end - def tag_count - Azure::Resources::Mgmt::V2018_05_01::Models::TagCount + def deployment_export_result + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult end def deployment_operations_list_result Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationsListResult @@ -231,24 +231,21 @@ def provider_resource_type def resource_group_export_result Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupExportResult end - def on_error_deployment_extended - Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + def deployment_extended_filter + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter end def generic_resource Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource end - def deployment_export_result - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult - end def operation_display Azure::Resources::Mgmt::V2018_05_01::Models::OperationDisplay end - def operation - Azure::Resources::Mgmt::V2018_05_01::Models::Operation - end def on_error_deployment_type Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType end + def operation + Azure::Resources::Mgmt::V2018_05_01::Models::Operation + end def operation_list_result Azure::Resources::Mgmt::V2018_05_01::Models::OperationListResult end @@ -261,6 +258,9 @@ def resource_list_result def deployment_mode Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentMode end + def on_error_deployment_extended + Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + end def plan Azure::Resources::Mgmt::V2018_05_01::Models::Plan end diff --git a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb index 71fb7e4a05..07aad061b1 100644 --- a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb @@ -7,10 +7,10 @@ module Azure::Profiles::Latest module ResourcesManagement module Mgmt - Entities = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Entities ManagementGroups = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroups ManagementGroupSubscriptions = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::ManagementGroupSubscriptions Operations = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Operations + Entities = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Entities module Models ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse @@ -18,32 +18,32 @@ module Models Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults - OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties EntityParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo EntityInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo + OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult + TenantBackfillStatusResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult ManagementGroupListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupListResult EntityHierarchyItem = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityHierarchyItem ManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupDetails PatchManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo - CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup - CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo + CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo - CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest + CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo - TenantBackfillStatusResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult + CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest CreateManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest Reason = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason Status = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status end class ResourcesManagementManagementClass - attr_reader :entities, :management_groups, :management_group_subscriptions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :management_groups, :management_group_subscriptions, :operations, :entities, :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) - @entities = @client_0.entities @management_groups = @client_0.management_groups @management_group_subscriptions = @client_0.management_group_subscriptions @operations = @client_0.operations + @entities = @client_0.entities @model_classes = ModelClasses.new end @@ -90,9 +90,6 @@ def operation def operation_results Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults end - def operation_list_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult - end def operation_display_properties Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties end @@ -102,6 +99,12 @@ def entity_parent_group_info def entity_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo end + def operation_list_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult + end + def tenant_backfill_status_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult + end def entity_list_result Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult end @@ -120,23 +123,20 @@ def patch_management_group_request def create_parent_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo end - def check_name_availability_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult - end def parent_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo end def management_group Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup end - def create_management_group_child_info - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo + def check_name_availability_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult end def management_group_child_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo end - def check_name_availability_request - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest + def create_management_group_child_info + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo end def create_management_group_details Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails @@ -144,8 +144,8 @@ def create_management_group_details def management_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo end - def tenant_backfill_status_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult + def check_name_availability_request + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest end def create_management_group_request Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest diff --git a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb index a6f35d0bf0..b3414a1a1e 100644 --- a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb +++ b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb @@ -11,6 +11,9 @@ module Mgmt JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections module Models + 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 @@ -52,9 +55,6 @@ module Models BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku - 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 end class SchedulerManagementClass @@ -88,6 +88,15 @@ def method_missing(method, *args) end class ModelClasses + 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 @@ -211,15 +220,6 @@ def job_status def sku Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku 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 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 89e6993bd2..22307952e8 100644 --- a/azure_sdk/lib/latest/modules/search_profile_module.rb +++ b/azure_sdk/lib/latest/modules/search_profile_module.rb @@ -13,24 +13,24 @@ module Mgmt Operations = Azure::Search::Mgmt::V2015_08_19::Operations module Models + OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService + CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode + CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput + UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason + AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName Identity = Azure::Search::Mgmt::V2015_08_19::Models::Identity Resource = Azure::Search::Mgmt::V2015_08_19::Models::Resource - QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey Sku = Azure::Search::Mgmt::V2015_08_19::Models::Sku + QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay - OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult - SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService - AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult - CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput - CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput - UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason end class SearchManagementClass @@ -66,9 +66,27 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + end + def search_service + Azure::Search::Mgmt::V2015_08_19::Models::SearchService + end + def check_name_availability_input + Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput + end def hosting_mode Azure::Search::Mgmt::V2015_08_19::Models::HostingMode end + def check_name_availability_output + Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput + end + def unavailable_name_reason + Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason + end + def admin_key_result + Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult + end def search_service_status Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus end @@ -87,12 +105,12 @@ def identity def resource Azure::Search::Mgmt::V2015_08_19::Models::Resource end - def query_key - Azure::Search::Mgmt::V2015_08_19::Models::QueryKey - end def sku Azure::Search::Mgmt::V2015_08_19::Models::Sku end + def query_key + Azure::Search::Mgmt::V2015_08_19::Models::QueryKey + end def search_management_request_options Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions end @@ -102,24 +120,6 @@ def operation 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 search_service - Azure::Search::Mgmt::V2015_08_19::Models::SearchService - end - def admin_key_result - Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult - end - def check_name_availability_input - Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput - end - def check_name_availability_output - Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput - end - def unavailable_name_reason - Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason - end end end end diff --git a/azure_sdk/lib/latest/modules/security_profile_module.rb b/azure_sdk/lib/latest/modules/security_profile_module.rb index b81f1584ba..028a38a19c 100644 --- a/azure_sdk/lib/latest/modules/security_profile_module.rb +++ b/azure_sdk/lib/latest/modules/security_profile_module.rb @@ -7,13 +7,19 @@ module Azure::Profiles::Latest module Security module Mgmt + Pricings = Azure::Security::Mgmt::V2017_08_01_preview::Pricings SecurityContacts = Azure::Security::Mgmt::V2017_08_01_preview::SecurityContacts WorkspaceSettings = Azure::Security::Mgmt::V2017_08_01_preview::WorkspaceSettings AutoProvisioningSettings = Azure::Security::Mgmt::V2017_08_01_preview::AutoProvisioningSettings Compliances = Azure::Security::Mgmt::V2017_08_01_preview::Compliances - Pricings = Azure::Security::Mgmt::V2017_08_01_preview::Pricings module Models + WorkspaceSettingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList + SecurityContact = Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact + Pricing = Azure::Security::Mgmt::V2017_08_01_preview::Models::Pricing + WorkspaceSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSetting + AutoProvisioningSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSetting + Compliance = Azure::Security::Mgmt::V2017_08_01_preview::Models::Compliance AlertNotifications = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertNotifications AlertsToAdmins = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins PricingTier = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier @@ -24,16 +30,10 @@ module Models ComplianceSegment = Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceSegment SecurityContactList = Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContactList ComplianceList = Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceList - WorkspaceSettingList = Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList - SecurityContact = Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact - Pricing = Azure::Security::Mgmt::V2017_08_01_preview::Models::Pricing - WorkspaceSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSetting - AutoProvisioningSetting = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSetting - Compliance = Azure::Security::Mgmt::V2017_08_01_preview::Models::Compliance end class SecurityManagementClass - attr_reader :security_contacts, :workspace_settings, :auto_provisioning_settings, :compliances, :pricings, :configurable, :base_url, :options, :model_classes + attr_reader :pricings, :security_contacts, :workspace_settings, :auto_provisioning_settings, :compliances, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -43,11 +43,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @pricings = @client_0.pricings @security_contacts = @client_0.security_contacts @workspace_settings = @client_0.workspace_settings @auto_provisioning_settings = @client_0.auto_provisioning_settings @compliances = @client_0.compliances - @pricings = @client_0.pricings @model_classes = ModelClasses.new end @@ -66,6 +66,24 @@ def method_missing(method, *args) end class ModelClasses + def workspace_setting_list + Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList + end + def security_contact + Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact + end + def pricing + Azure::Security::Mgmt::V2017_08_01_preview::Models::Pricing + end + def workspace_setting + Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSetting + end + def auto_provisioning_setting + Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSetting + end + def compliance + Azure::Security::Mgmt::V2017_08_01_preview::Models::Compliance + end def alert_notifications Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertNotifications end @@ -96,24 +114,6 @@ def security_contact_list def compliance_list Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceList end - def workspace_setting_list - Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList - end - def security_contact - Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact - end - def pricing - Azure::Security::Mgmt::V2017_08_01_preview::Models::Pricing - end - def workspace_setting - Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSetting - end - def auto_provisioning_setting - Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvisioningSetting - end - def compliance - Azure::Security::Mgmt::V2017_08_01_preview::Models::Compliance - 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 272c6fe0ce..b8fa767e3b 100644 --- a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb @@ -7,17 +7,17 @@ module Azure::Profiles::Latest module ServiceBus module Mgmt + Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces + Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs MigrationConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::MigrationConfigs Queues = Azure::ServiceBus::Mgmt::V2017_04_01::Queues - Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions - Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions - PremiumMessagingRegionsOperations = Azure::ServiceBus::Mgmt::V2017_04_01::PremiumMessagingRegionsOperations Rules = Azure::ServiceBus::Mgmt::V2017_04_01::Rules + PremiumMessagingRegionsOperations = Azure::ServiceBus::Mgmt::V2017_04_01::PremiumMessagingRegionsOperations + Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions EventHubs = Azure::ServiceBus::Mgmt::V2017_04_01::EventHubs Operations = Azure::ServiceBus::Mgmt::V2017_04_01::Operations - Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics module Models AccessRights = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights @@ -38,11 +38,11 @@ module Models CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult - SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku - AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys SqlFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter - ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch + AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter + SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku + ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch SBNamespaceUpdateParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters SBAuthorizationRule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue @@ -52,16 +52,16 @@ module Models SBSubscription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub - ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions MigrationConfigProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties SqlRuleAction = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction SBTopic = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType - EncodingCaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason - PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions - KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType RoleDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery + EncodingCaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType ProvisioningStateDR = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR SkuTier = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource @@ -69,13 +69,13 @@ module Models Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName EntityStatus = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus end class ServiceBusManagementClass - attr_reader :namespaces, :disaster_recovery_configs, :migration_configs, :queues, :regions, :subscriptions, :premium_messaging_regions_operations, :rules, :event_hubs, :operations, :topics, :configurable, :base_url, :options, :model_classes + attr_reader :topics, :namespaces, :subscriptions, :disaster_recovery_configs, :migration_configs, :queues, :rules, :premium_messaging_regions_operations, :regions, :event_hubs, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -85,17 +85,17 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @topics = @client_0.topics @namespaces = @client_0.namespaces + @subscriptions = @client_0.subscriptions @disaster_recovery_configs = @client_0.disaster_recovery_configs @migration_configs = @client_0.migration_configs @queues = @client_0.queues - @regions = @client_0.regions - @subscriptions = @client_0.subscriptions - @premium_messaging_regions_operations = @client_0.premium_messaging_regions_operations @rules = @client_0.rules + @premium_messaging_regions_operations = @client_0.premium_messaging_regions_operations + @regions = @client_0.regions @event_hubs = @client_0.event_hubs @operations = @client_0.operations - @topics = @client_0.topics @model_classes = ModelClasses.new end @@ -168,21 +168,21 @@ def capture_description def event_hub_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult end - def sbsku - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku + 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 sql_filter - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter + def correlation_filter + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter + end + def sbsku + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku end def resource_namespace_patch Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end - def correlation_filter - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter - end def sbnamespace_update_parameters Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters end @@ -210,8 +210,8 @@ def rule_list_result def eventhub Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub end - def arm_disaster_recovery - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery + def premium_messaging_regions + Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions end def migration_config_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties @@ -225,21 +225,21 @@ def sbtopic def filter_type Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType end - def encoding_capture_description - Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + def arm_disaster_recovery + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery end def unavailable_reason Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason end - def premium_messaging_regions - Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions + def role_disaster_recovery + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery + end + def encoding_capture_description + Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription end def key_type Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType end - def role_disaster_recovery - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery - end def provisioning_state_dr Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR end @@ -261,12 +261,12 @@ def operation_list_result def check_name_availability_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end - def sku_name - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName - end def action Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action end + def sku_name + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName + end def entity_status Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus end diff --git a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb index 4959f7b057..2288d44694 100644 --- a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb @@ -18,6 +18,12 @@ module ServiceFabric MeshGateway = Azure::ServiceFabric::V6_4_0_36::MeshGateway module Models + ChaosNodeRestartScheduledEvent = Azure::ServiceFabric::V6_4_0_36::Models::ChaosNodeRestartScheduledEvent + SecretResourceProperties = Azure::ServiceFabric::V6_4_0_36::Models::SecretResourceProperties + InlinedValueSecretResourceProperties = Azure::ServiceFabric::V6_4_0_36::Models::InlinedValueSecretResourceProperties + ApplicationScopedVolume = Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolume + ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk = Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk + NetworkResourceProperties = Azure::ServiceFabric::V6_4_0_36::Models::NetworkResourceProperties LocalNetworkResourceProperties = Azure::ServiceFabric::V6_4_0_36::Models::LocalNetworkResourceProperties AzureInternalMonitoringPipelineSinkDescription = Azure::ServiceFabric::V6_4_0_36::Models::AzureInternalMonitoringPipelineSinkDescription AddRemoveReplicaScalingMechanism = Azure::ServiceFabric::V6_4_0_36::Models::AddRemoveReplicaScalingMechanism @@ -588,12 +594,6 @@ module Models ChaosPartitionSecondaryMoveScheduledEvent = Azure::ServiceFabric::V6_4_0_36::Models::ChaosPartitionSecondaryMoveScheduledEvent ChaosPartitionPrimaryMoveScheduledEvent = Azure::ServiceFabric::V6_4_0_36::Models::ChaosPartitionPrimaryMoveScheduledEvent ChaosReplicaRestartScheduledEvent = Azure::ServiceFabric::V6_4_0_36::Models::ChaosReplicaRestartScheduledEvent - ChaosNodeRestartScheduledEvent = Azure::ServiceFabric::V6_4_0_36::Models::ChaosNodeRestartScheduledEvent - SecretResourceProperties = Azure::ServiceFabric::V6_4_0_36::Models::SecretResourceProperties - InlinedValueSecretResourceProperties = Azure::ServiceFabric::V6_4_0_36::Models::InlinedValueSecretResourceProperties - ApplicationScopedVolume = Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolume - ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk = Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk - NetworkResourceProperties = Azure::ServiceFabric::V6_4_0_36::Models::NetworkResourceProperties end class ServiceFabricDataClass @@ -634,6 +634,24 @@ def method_missing(method, *args) end class ModelClasses + def chaos_node_restart_scheduled_event + Azure::ServiceFabric::V6_4_0_36::Models::ChaosNodeRestartScheduledEvent + end + def secret_resource_properties + Azure::ServiceFabric::V6_4_0_36::Models::SecretResourceProperties + end + def inlined_value_secret_resource_properties + Azure::ServiceFabric::V6_4_0_36::Models::InlinedValueSecretResourceProperties + end + def application_scoped_volume + Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolume + end + def application_scoped_volume_creation_parameters_service_fabric_volume_disk + Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk + end + def network_resource_properties + Azure::ServiceFabric::V6_4_0_36::Models::NetworkResourceProperties + end def local_network_resource_properties Azure::ServiceFabric::V6_4_0_36::Models::LocalNetworkResourceProperties end @@ -2344,36 +2362,20 @@ def chaos_partition_primary_move_scheduled_event def chaos_replica_restart_scheduled_event Azure::ServiceFabric::V6_4_0_36::Models::ChaosReplicaRestartScheduledEvent end - def chaos_node_restart_scheduled_event - Azure::ServiceFabric::V6_4_0_36::Models::ChaosNodeRestartScheduledEvent - end - def secret_resource_properties - Azure::ServiceFabric::V6_4_0_36::Models::SecretResourceProperties - end - def inlined_value_secret_resource_properties - Azure::ServiceFabric::V6_4_0_36::Models::InlinedValueSecretResourceProperties - end - def application_scoped_volume - Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolume - end - def application_scoped_volume_creation_parameters_service_fabric_volume_disk - Azure::ServiceFabric::V6_4_0_36::Models::ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk - end - def network_resource_properties - Azure::ServiceFabric::V6_4_0_36::Models::NetworkResourceProperties - end end end module Mgmt + Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version 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 - Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version - Clusters = Azure::ServiceFabric::Mgmt::V2018_02_01::Clusters ClusterVersions = Azure::ServiceFabric::Mgmt::V2018_02_01::ClusterVersions Operations = Azure::ServiceFabric::Mgmt::V2018_02_01::Operations + Clusters = Azure::ServiceFabric::Mgmt::V2018_02_01::Clusters module Models + ApplicationTypeResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList + ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList ApplicationUpgradePolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationUpgradePolicy VersionResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::VersionResourceList ServiceResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceList @@ -2402,8 +2404,10 @@ module Models ServiceLoadMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription RollingUpgradeMonitoringPolicy = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy - ApplicationTypeResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList - ApplicationResourceList = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList + ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy + ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName + ClientCertificateThumbprint = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint + ClusterUpgradeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy ClusterVersionDetails = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails SettingsParameterDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy @@ -2431,14 +2435,10 @@ module Models AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory - ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy - ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName - ClientCertificateThumbprint = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint - ClusterUpgradeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy end class ServiceFabricManagementClass - attr_reader :application_type, :service, :application, :version, :clusters, :cluster_versions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :version, :application_type, :service, :application, :cluster_versions, :operations, :clusters, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -2448,19 +2448,19 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @version = @client_0.version @application_type = @client_0.application_type @service = @client_0.service @application = @client_0.application - @version = @client_0.version @client_1 = Azure::ServiceFabric::Mgmt::V2018_02_01::ServiceFabricManagementClient.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) - @clusters = @client_1.clusters @cluster_versions = @client_1.cluster_versions @operations = @client_1.operations + @clusters = @client_1.clusters @model_classes = ModelClasses.new end @@ -2481,6 +2481,12 @@ def method_missing(method, *args) end class ModelClasses + def application_type_resource_list + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList + end + def application_resource_list + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList + end def application_upgrade_policy Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationUpgradePolicy end @@ -2565,11 +2571,17 @@ def partition_scheme_description def rolling_upgrade_monitoring_policy Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy end - def application_type_resource_list - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationTypeResourceList + def service_type_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy end - def application_resource_list - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationResourceList + def client_certificate_common_name + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName + end + def client_certificate_thumbprint + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint + end + def cluster_upgrade_delta_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy end def cluster_version_details Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails @@ -2652,18 +2664,6 @@ def cluster_health_policy def azure_active_directory Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory end - def service_type_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy - end - def client_certificate_common_name - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName - end - def client_certificate_thumbprint - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint - end - def cluster_upgrade_delta_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy - 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 1e515c4a36..d9ad777f80 100644 --- a/azure_sdk/lib/latest/modules/signalr_profile_module.rb +++ b/azure_sdk/lib/latest/modules/signalr_profile_module.rb @@ -7,9 +7,9 @@ module Azure::Profiles::Latest module Signalr module Mgmt - SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations Usages = Azure::Signalr::Mgmt::V2018_03_01_preview::Usages + SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR module Models SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList @@ -40,7 +40,7 @@ module Models end class SignalrManagementClass - attr_reader :signal_r, :operations, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :usages, :signal_r, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -50,9 +50,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @signal_r = @client_0.signal_r @operations = @client_0.operations @usages = @client_0.usages + @signal_r = @client_0.signal_r @model_classes = ModelClasses.new end diff --git a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb index b00fe817dd..8faa76d51f 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -8,10 +8,11 @@ module Azure::Profiles::Latest module SpellCheck module Models + Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase Answer = Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType ErrorSubCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken @@ -21,7 +22,6 @@ module Models SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error - Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response end class SpellCheckDataClass @@ -53,6 +53,12 @@ def method_missing(method, *args) end class ModelClasses + def response + Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + end + def action_type + Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType + end def response_base Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase end @@ -62,9 +68,6 @@ def answer def error_response Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse end - def action_type - Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType - end def error_sub_code Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode end @@ -92,9 +95,6 @@ def error_type def error Azure::CognitiveServices::SpellCheck::V1_0::Models::Error end - def response - Azure::CognitiveServices::SpellCheck::V1_0::Models::Response - 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 36cf51c454..ee04d5071a 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -7,12 +7,13 @@ module Azure::Profiles::Latest module SQL module Mgmt - BackupLongTermRetentionVaults = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionVaults + ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages RecoverableDatabases = Azure::SQL::Mgmt::V2014_04_01::RecoverableDatabases RestorableDroppedDatabases = Azure::SQL::Mgmt::V2014_04_01::RestorableDroppedDatabases ServerConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::ServerConnectionPolicies DatabaseThreatDetectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseThreatDetectionPolicies DataMaskingPolicies = Azure::SQL::Mgmt::V2014_04_01::DataMaskingPolicies + DataMaskingRules = Azure::SQL::Mgmt::V2014_04_01::DataMaskingRules TransparentDataEncryptionConfigurations = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptionConfigurations Extensions = Azure::SQL::Mgmt::V2014_04_01::Extensions DisasterRecoveryConfigurations = Azure::SQL::Mgmt::V2014_04_01::DisasterRecoveryConfigurations @@ -20,8 +21,8 @@ module Mgmt Queries = Azure::SQL::Mgmt::V2014_04_01::Queries QueryStatistics = Azure::SQL::Mgmt::V2014_04_01::QueryStatistics QueryTexts = Azure::SQL::Mgmt::V2014_04_01::QueryTexts + BackupLongTermRetentionVaults = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionVaults RecommendedElasticPools = Azure::SQL::Mgmt::V2014_04_01::RecommendedElasticPools - DataMaskingRules = Azure::SQL::Mgmt::V2014_04_01::DataMaskingRules ReplicationLinks = Azure::SQL::Mgmt::V2014_04_01::ReplicationLinks ServerAzureADAdministrators = Azure::SQL::Mgmt::V2014_04_01::ServerAzureADAdministrators ServerCommunicationLinks = Azure::SQL::Mgmt::V2014_04_01::ServerCommunicationLinks @@ -35,7 +36,9 @@ module Mgmt DatabaseConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseConnectionPolicies DatabaseTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseTableAuditingPolicies DatabaseUsages = Azure::SQL::Mgmt::V2014_04_01::DatabaseUsages - ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages + Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers + DatabaseRecommendedActions = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseRecommendedActions + 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 ManagedInstances = Azure::SQL::Mgmt::V2015_05_01_preview::ManagedInstances @@ -49,33 +52,31 @@ module Mgmt DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules - Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers - DatabaseRecommendedActions = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseRecommendedActions - DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations + 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 + 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 + JobAgents = Azure::SQL::Mgmt::V2017_03_01_preview::JobAgents 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 SensitivityLabels = Azure::SQL::Mgmt::V2017_03_01_preview::SensitivityLabels + LongTermRetentionBackups = Azure::SQL::Mgmt::V2017_03_01_preview::LongTermRetentionBackups ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases - DatabaseVulnerabilityAssessments = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessments ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs - 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 - DatabaseVulnerabilityAssessmentRuleBaselines = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseVulnerabilityAssessmentRuleBaselines - DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies + DatabaseOperations = Azure::SQL::Mgmt::V2017_10_01_preview::DatabaseOperations ElasticPools = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPools Capabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Capabilities ElasticPoolOperations = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPoolOperations @@ -85,9 +86,14 @@ module Mgmt TdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::TdeCertificates ManagedInstanceTdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::ManagedInstanceTdeCertificates Databases = Azure::SQL::Mgmt::V2017_10_01_preview::Databases - DatabaseOperations = Azure::SQL::Mgmt::V2017_10_01_preview::DatabaseOperations module Models + QueryExecutionType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryExecutionType + QueryObservedMetricType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType + QueryMetricUnit = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit + UnitDefinitionType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType + ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus UnitType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitType ServerVersion = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion ReplicationState = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState @@ -195,12 +201,6 @@ module Models PrimaryAggregationType = Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType AuthenticationType = Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType 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 - QueryMetricUnit = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit - UnitDefinitionType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType - ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState - TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus VirtualNetworkRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay @@ -280,6 +280,11 @@ module Models 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 + SensitivityLabel = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabel + ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase + ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias + ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy JobExecutionLifecycle = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult @@ -344,11 +349,9 @@ module Models JobStep = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup JobVersion = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion - SensitivityLabel = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabel - ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase - ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias - ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning - ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy + ManagementOperationState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState + DatabaseStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus + CatalogCollationType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType MaxSizeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability EditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::EditionCapability TrackedResource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::TrackedResource @@ -413,13 +416,10 @@ module Models CreateMode = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CreateMode DatabaseVulnerabilityAssessment = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessment Sku = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku - ManagementOperationState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState - DatabaseStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus - CatalogCollationType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType 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, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :data_masking_rules, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :server_table_auditing_policies, :transparent_data_encryption_activities, :database_connection_policies, :database_table_auditing_policies, :database_usages, :server_usages, :encryption_protectors, :failover_groups, :managed_instances, :server_keys, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :server_advisors, :database_advisors, :operations, :firewall_rules, :servers, :database_recommended_actions, :database_automatic_tuning_operations, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :managed_databases, :sensitivity_labels, :server_automatic_tuning_operations, :server_dns_aliases, :database_vulnerability_assessments, :server_security_alert_policies, :backup_long_term_retention_policies, :restore_points, :jobs, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_blob_auditing_policies, :elastic_pools, :capabilities, :elastic_pool_operations, :database_vulnerability_assessment_scans, :instance_failover_groups, :backup_short_term_retention_policies, :tde_certificates, :managed_instance_tde_certificates, :databases, :database_operations, :configurable, :base_url, :options, :model_classes + attr_reader :server_usages, :recoverable_databases, :restorable_dropped_databases, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :geo_backup_policies, :queries, :query_statistics, :query_texts, :backup_long_term_retention_vaults, :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, :server_table_auditing_policies, :transparent_data_encryption_activities, :database_connection_policies, :database_table_auditing_policies, :database_usages, :servers, :database_recommended_actions, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :managed_instances, :server_keys, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :server_advisors, :database_advisors, :operations, :firewall_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_credentials, :job_executions, :job_agents, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :managed_databases, :sensitivity_labels, :long_term_retention_backups, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :backup_long_term_retention_policies, :restore_points, :jobs, :database_operations, :elastic_pools, :capabilities, :elastic_pool_operations, :database_vulnerability_assessment_scans, :instance_failover_groups, :backup_short_term_retention_policies, :tde_certificates, :managed_instance_tde_certificates, :databases, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -429,12 +429,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @backup_long_term_retention_vaults = @client_0.backup_long_term_retention_vaults + @server_usages = @client_0.server_usages @recoverable_databases = @client_0.recoverable_databases @restorable_dropped_databases = @client_0.restorable_dropped_databases @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 + @data_masking_rules = @client_0.data_masking_rules @transparent_data_encryption_configurations = @client_0.transparent_data_encryption_configurations @extensions = @client_0.extensions @disaster_recovery_configurations = @client_0.disaster_recovery_configurations @@ -442,8 +443,8 @@ def initialize(configurable, base_url=nil, options=nil) @queries = @client_0.queries @query_statistics = @client_0.query_statistics @query_texts = @client_0.query_texts + @backup_long_term_retention_vaults = @client_0.backup_long_term_retention_vaults @recommended_elastic_pools = @client_0.recommended_elastic_pools - @data_masking_rules = @client_0.data_masking_rules @replication_links = @client_0.replication_links @server_azure_adadministrators = @client_0.server_azure_adadministrators @server_communication_links = @client_0.server_communication_links @@ -457,13 +458,15 @@ def initialize(configurable, base_url=nil, options=nil) @database_connection_policies = @client_0.database_connection_policies @database_table_auditing_policies = @client_0.database_table_auditing_policies @database_usages = @client_0.database_usages - @server_usages = @client_0.server_usages @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) + @servers = @client_1.servers + @database_recommended_actions = @client_1.database_recommended_actions + @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations @encryption_protectors = @client_1.encryption_protectors @failover_groups = @client_1.failover_groups @managed_instances = @client_1.managed_instances @@ -477,45 +480,43 @@ def initialize(configurable, base_url=nil, options=nil) @database_advisors = @client_1.database_advisors @operations = @client_1.operations @firewall_rules = @client_1.firewall_rules - @servers = @client_1.servers - @database_recommended_actions = @client_1.database_recommended_actions - @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations @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) + @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_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 + @job_agents = @client_2.job_agents @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 @sensitivity_labels = @client_2.sensitivity_labels + @long_term_retention_backups = @client_2.long_term_retention_backups @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations @server_dns_aliases = @client_2.server_dns_aliases - @database_vulnerability_assessments = @client_2.database_vulnerability_assessments @server_security_alert_policies = @client_2.server_security_alert_policies @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies @restore_points = @client_2.restore_points @jobs = @client_2.jobs - @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_vulnerability_assessment_rule_baselines = @client_2.database_vulnerability_assessment_rule_baselines - @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @client_3 = Azure::SQL::Mgmt::V2017_10_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_3.respond_to?(:subscription_id)) @client_3.subscription_id = configurable.subscription_id end add_telemetry(@client_3) + @database_operations = @client_3.database_operations @elastic_pools = @client_3.elastic_pools @capabilities = @client_3.capabilities @elastic_pool_operations = @client_3.elastic_pool_operations @@ -525,7 +526,6 @@ def initialize(configurable, base_url=nil, options=nil) @tde_certificates = @client_3.tde_certificates @managed_instance_tde_certificates = @client_3.managed_instance_tde_certificates @databases = @client_3.databases - @database_operations = @client_3.database_operations @model_classes = ModelClasses.new end @@ -550,6 +550,24 @@ def method_missing(method, *args) end class ModelClasses + 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 + end + def query_metric_unit + Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit + end + def unit_definition_type + Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType + end + def server_state + Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + end + def transparent_data_encryption_activity_status + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus + end def unit_type Azure::SQL::Mgmt::V2014_04_01::Models::UnitType end @@ -871,24 +889,6 @@ def authentication_type def query_aggregation_function Azure::SQL::Mgmt::V2014_04_01::Models::QueryAggregationFunction end - 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 - end - def query_metric_unit - Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit - end - def unit_definition_type - Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType - end - def server_state - Azure::SQL::Mgmt::V2014_04_01::Models::ServerState - end - def transparent_data_encryption_activity_status - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus - end def virtual_network_rule_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult end @@ -1126,6 +1126,21 @@ def firewall_rule def operation_origin Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin end + def sensitivity_label + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabel + end + def managed_database + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase + 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 + end + def server_security_alert_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy + end def job_execution_lifecycle Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle end @@ -1318,20 +1333,14 @@ def long_term_retention_backup def job_version Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion end - def sensitivity_label - Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabel - end - def managed_database - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase - end - def server_dns_alias - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias + def management_operation_state + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState end - def server_automatic_tuning - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + def database_status + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus end - def server_security_alert_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy + def catalog_collation_type + Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType end def max_size_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability @@ -1525,15 +1534,6 @@ def database_vulnerability_assessment def sku Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku end - def management_operation_state - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState - end - def database_status - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus - end - def catalog_collation_type - Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType - end end end end diff --git a/azure_sdk/lib/latest/modules/sqlvirtualmachine_profile_module.rb b/azure_sdk/lib/latest/modules/sqlvirtualmachine_profile_module.rb index 326fa87687..d6ef06f7c7 100644 --- a/azure_sdk/lib/latest/modules/sqlvirtualmachine_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sqlvirtualmachine_profile_module.rb @@ -7,57 +7,57 @@ module Azure::Profiles::Latest module Sqlvirtualmachine module Mgmt - AvailabilityGroupListeners = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::AvailabilityGroupListeners SqlVirtualMachineGroups = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::SqlVirtualMachineGroups SqlVirtualMachines = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::SqlVirtualMachines Operations = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Operations + AvailabilityGroupListeners = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::AvailabilityGroupListeners module Models + ScaleType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ScaleType TrackedResource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::TrackedResource IdentityType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::IdentityType ProxyResource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ProxyResource ResourceIdentity = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ResourceIdentity SqlVirtualMachineGroupListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupListResult - Resource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Resource + LoadBalancerConfiguration = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::LoadBalancerConfiguration WsfcDomainCredentials = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainCredentials PrivateIPAddress = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::PrivateIPAddress + Resource = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Resource ServerConfigurationsManagementSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ServerConfigurationsManagementSettings AutoPatchingSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoPatchingSettings SqlVirtualMachineListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult - LoadBalancerConfiguration = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::LoadBalancerConfiguration AutoBackupSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoBackupSettings OperationDisplay = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationDisplay - KeyVaultCredentialSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::KeyVaultCredentialSettings - SqlVirtualMachineGroupUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate - Operation = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation - WsfcDomainProfile = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainProfile - OperationListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationListResult - SqlWorkloadTypeUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadTypeUpdateSettings - AdditionalFeaturesServerConfigurations = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AdditionalFeaturesServerConfigurations + SqlConnectivityUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings SqlVirtualMachineUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate + SqlWorkloadTypeUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadTypeUpdateSettings + OperationListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationListResult + SqlStorageUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings AvailabilityGroupListenerListResult = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListenerListResult - SqlVirtualMachineGroup = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroup - SqlConnectivityUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings - SqlVmGroupImageSku = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVmGroupImageSku - SqlVirtualMachine = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachine + WsfcDomainProfile = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainProfile + AdditionalFeaturesServerConfigurations = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AdditionalFeaturesServerConfigurations + SqlVirtualMachineGroupUpdate = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate + KeyVaultCredentialSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::KeyVaultCredentialSettings AvailabilityGroupListener = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListener - SqlStorageUpdateSettings = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings + Operation = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation + SqlVirtualMachine = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachine OperationOrigin = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationOrigin - SqlImageSku = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlImageSku + SqlVirtualMachineGroup = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroup + ClusterConfiguration = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterConfiguration + SqlVmGroupImageSku = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVmGroupImageSku ClusterManagerType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterManagerType SqlServerLicenseType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlServerLicenseType - ClusterConfiguration = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterConfiguration + SqlImageSku = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlImageSku BackupScheduleType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::BackupScheduleType FullBackupFrequencyType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::FullBackupFrequencyType ConnectivityType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ConnectivityType SqlWorkloadType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadType DiskConfigurationType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DiskConfigurationType DayOfWeek = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DayOfWeek - ScaleType = Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ScaleType end class SqlvirtualmachineManagementClass - attr_reader :availability_group_listeners, :sql_virtual_machine_groups, :sql_virtual_machines, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :sql_virtual_machine_groups, :sql_virtual_machines, :operations, :availability_group_listeners, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -67,10 +67,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @availability_group_listeners = @client_0.availability_group_listeners @sql_virtual_machine_groups = @client_0.sql_virtual_machine_groups @sql_virtual_machines = @client_0.sql_virtual_machines @operations = @client_0.operations + @availability_group_listeners = @client_0.availability_group_listeners @model_classes = ModelClasses.new end @@ -89,6 +89,9 @@ def method_missing(method, *args) end class ModelClasses + def scale_type + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ScaleType + end def tracked_resource Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::TrackedResource end @@ -104,8 +107,8 @@ def resource_identity def sql_virtual_machine_group_list_result Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupListResult end - def resource - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Resource + def load_balancer_configuration + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::LoadBalancerConfiguration end def wsfc_domain_credentials Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainCredentials @@ -113,6 +116,9 @@ def wsfc_domain_credentials def private_ipaddress Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::PrivateIPAddress end + def resource + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Resource + end def server_configurations_management_settings Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ServerConfigurationsManagementSettings end @@ -122,65 +128,62 @@ def auto_patching_settings def sql_virtual_machine_list_result Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineListResult end - def load_balancer_configuration - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::LoadBalancerConfiguration - end def auto_backup_settings Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AutoBackupSettings end def operation_display Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationDisplay end - def key_vault_credential_settings - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::KeyVaultCredentialSettings - end - def sql_virtual_machine_group_update - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate - end - def operation - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation - end - def wsfc_domain_profile - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainProfile + def sql_connectivity_update_settings + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings end - def operation_list_result - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationListResult + def sql_virtual_machine_update + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate end def sql_workload_type_update_settings Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlWorkloadTypeUpdateSettings end - def additional_features_server_configurations - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AdditionalFeaturesServerConfigurations + def operation_list_result + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationListResult end - def sql_virtual_machine_update - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineUpdate + def sql_storage_update_settings + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings end def availability_group_listener_list_result Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListenerListResult end - def sql_virtual_machine_group - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroup + def wsfc_domain_profile + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::WsfcDomainProfile end - def sql_connectivity_update_settings - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlConnectivityUpdateSettings + def additional_features_server_configurations + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AdditionalFeaturesServerConfigurations end - def sql_vm_group_image_sku - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVmGroupImageSku + def sql_virtual_machine_group_update + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroupUpdate end - def sql_virtual_machine - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachine + def key_vault_credential_settings + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::KeyVaultCredentialSettings end def availability_group_listener Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::AvailabilityGroupListener end - def sql_storage_update_settings - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings + def operation + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::Operation + end + def sql_virtual_machine + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachine end def operation_origin Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::OperationOrigin end - def sql_image_sku - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlImageSku + def sql_virtual_machine_group + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVirtualMachineGroup + end + def cluster_configuration + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterConfiguration + end + def sql_vm_group_image_sku + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlVmGroupImageSku end def cluster_manager_type Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterManagerType @@ -188,8 +191,8 @@ def cluster_manager_type def sql_server_license_type Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlServerLicenseType end - def cluster_configuration - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ClusterConfiguration + def sql_image_sku + Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlImageSku end def backup_schedule_type Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::BackupScheduleType @@ -209,9 +212,6 @@ def disk_configuration_type def day_of_week Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::DayOfWeek end - def scale_type - Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::ScaleType - end 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 61c526d456..722d5b2116 100644 --- a/azure_sdk/lib/latest/modules/storage_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storage_profile_module.rb @@ -7,12 +7,12 @@ module Azure::Profiles::Latest module Storage module Mgmt + Usages = Azure::Storage::Mgmt::V2018_07_01::Usages BlobServices = Azure::Storage::Mgmt::V2018_07_01::BlobServices Skus = Azure::Storage::Mgmt::V2018_07_01::Skus BlobContainers = Azure::Storage::Mgmt::V2018_07_01::BlobContainers Operations = Azure::Storage::Mgmt::V2018_07_01::Operations StorageAccounts = Azure::Storage::Mgmt::V2018_07_01::StorageAccounts - Usages = Azure::Storage::Mgmt::V2018_07_01::Usages module Models ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter @@ -26,13 +26,15 @@ module Models CorsRule = Azure::Storage::Mgmt::V2018_07_01::Models::CorsRule BlobServiceProperties = Azure::Storage::Mgmt::V2018_07_01::Models::BlobServiceProperties GeoReplicationStatus = Azure::Storage::Mgmt::V2018_07_01::Models::GeoReplicationStatus + State = Azure::Storage::Mgmt::V2018_07_01::Models::State StorageAccountExpand = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountExpand ProvisioningState = Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState - State = Azure::Storage::Mgmt::V2018_07_01::Models::State + Reason = Azure::Storage::Mgmt::V2018_07_01::Models::Reason NetworkRuleSet = Azure::Storage::Mgmt::V2018_07_01::Models::NetworkRuleSet StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCheckNameAvailabilityParameters StorageAccountKey = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountKey StorageAccountListResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListResult + Identity = Azure::Storage::Mgmt::V2018_07_01::Models::Identity EncryptionService = Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionService StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListKeysResult Encryption = Azure::Storage::Mgmt::V2018_07_01::Models::Encryption @@ -40,20 +42,18 @@ module Models Endpoints = Azure::Storage::Mgmt::V2018_07_01::Models::Endpoints CustomDomain = Azure::Storage::Mgmt::V2018_07_01::Models::CustomDomain EncryptionServices = Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionServices - UsageListResult = Azure::Storage::Mgmt::V2018_07_01::Models::UsageListResult UsageName = Azure::Storage::Mgmt::V2018_07_01::Models::UsageName StorageAccount = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccount - Identity = Azure::Storage::Mgmt::V2018_07_01::Models::Identity + UsageListResult = Azure::Storage::Mgmt::V2018_07_01::Models::UsageListResult Kind = Azure::Storage::Mgmt::V2018_07_01::Models::Kind VirtualNetworkRule = Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule AccessTier = Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier KeyPermission = Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission SkuTier = Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier - Reason = Azure::Storage::Mgmt::V2018_07_01::Models::Reason + Services = Azure::Storage::Mgmt::V2018_07_01::Models::Services UsageUnit = Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit AccountStatus = Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus DefaultAction = Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction - Services = Azure::Storage::Mgmt::V2018_07_01::Models::Services SKUCapability = Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability AccountSasParameters = Azure::Storage::Mgmt::V2018_07_01::Models::AccountSasParameters ListAccountSasResponse = Azure::Storage::Mgmt::V2018_07_01::Models::ListAccountSasResponse @@ -82,27 +82,27 @@ module Models HttpProtocol = Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_07_01::Models::CheckNameAvailabilityResult SignedResourceTypes = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes + LeaseStatus = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus Permissions = Azure::Storage::Mgmt::V2018_07_01::Models::Permissions - SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource ServiceSpecification = Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSpecification IPRule = Azure::Storage::Mgmt::V2018_07_01::Models::IPRule LeaseState = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState - LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action SkuName = Azure::Storage::Mgmt::V2018_07_01::Models::SkuName - LeaseStatus = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus + ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType Usage = Azure::Storage::Mgmt::V2018_07_01::Models::Usage - ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState - Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action + SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + PublicAccess = Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess + LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration Dimension = Azure::Storage::Mgmt::V2018_07_01::Models::Dimension ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicy MetricSpecification = Azure::Storage::Mgmt::V2018_07_01::Models::MetricSpecification Sku = Azure::Storage::Mgmt::V2018_07_01::Models::Sku - ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType - PublicAccess = Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess + ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState end class StorageManagementClass - attr_reader :blob_services, :skus, :blob_containers, :operations, :storage_accounts, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :usages, :blob_services, :skus, :blob_containers, :operations, :storage_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -118,12 +118,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @usages = @client_1.usages @blob_services = @client_1.blob_services @skus = @client_1.skus @blob_containers = @client_1.blob_containers @operations = @client_1.operations @storage_accounts = @client_1.storage_accounts - @usages = @client_1.usages @model_classes = ModelClasses.new end @@ -177,14 +177,17 @@ def blob_service_properties def geo_replication_status Azure::Storage::Mgmt::V2018_07_01::Models::GeoReplicationStatus end + def state + Azure::Storage::Mgmt::V2018_07_01::Models::State + end def storage_account_expand Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountExpand end def provisioning_state Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState end - def state - Azure::Storage::Mgmt::V2018_07_01::Models::State + def reason + Azure::Storage::Mgmt::V2018_07_01::Models::Reason end def network_rule_set Azure::Storage::Mgmt::V2018_07_01::Models::NetworkRuleSet @@ -198,6 +201,9 @@ def storage_account_key def storage_account_list_result Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListResult end + def identity + Azure::Storage::Mgmt::V2018_07_01::Models::Identity + end def encryption_service Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionService end @@ -219,17 +225,14 @@ def custom_domain def encryption_services Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionServices end - def usage_list_result - Azure::Storage::Mgmt::V2018_07_01::Models::UsageListResult - end def usage_name Azure::Storage::Mgmt::V2018_07_01::Models::UsageName end def storage_account Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccount end - def identity - Azure::Storage::Mgmt::V2018_07_01::Models::Identity + def usage_list_result + Azure::Storage::Mgmt::V2018_07_01::Models::UsageListResult end def kind Azure::Storage::Mgmt::V2018_07_01::Models::Kind @@ -246,8 +249,8 @@ def key_permission def sku_tier Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier end - def reason - Azure::Storage::Mgmt::V2018_07_01::Models::Reason + def services + Azure::Storage::Mgmt::V2018_07_01::Models::Services end def usage_unit Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit @@ -258,9 +261,6 @@ def account_status def default_action Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction end - def services - Azure::Storage::Mgmt::V2018_07_01::Models::Services - end def skucapability Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability end @@ -345,12 +345,12 @@ def check_name_availability_result def signed_resource_types Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes end + def lease_status + Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus + end def permissions Azure::Storage::Mgmt::V2018_07_01::Models::Permissions end - def signed_resource - Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource - end def service_specification Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSpecification end @@ -360,23 +360,26 @@ def iprule def lease_state Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState end - def lease_duration - Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + def action + Azure::Storage::Mgmt::V2018_07_01::Models::Action end def sku_name Azure::Storage::Mgmt::V2018_07_01::Models::SkuName end - def lease_status - Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus + def immutability_policy_update_type + Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType end def usage Azure::Storage::Mgmt::V2018_07_01::Models::Usage end - def immutability_policy_state - Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState + def signed_resource + Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource end - def action - Azure::Storage::Mgmt::V2018_07_01::Models::Action + def public_access + Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess + end + def lease_duration + Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration end def dimension Azure::Storage::Mgmt::V2018_07_01::Models::Dimension @@ -390,11 +393,8 @@ def metric_specification def sku Azure::Storage::Mgmt::V2018_07_01::Models::Sku end - def immutability_policy_update_type - Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType - end - def public_access - Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess + def immutability_policy_state + Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState 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 83d2aba0e7..38e71509c6 100644 --- a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb @@ -7,24 +7,30 @@ module Azure::Profiles::Latest module StorSimple8000Series module Mgmt + Managers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Managers + AccessControlRecords = Azure::StorSimple8000Series::Mgmt::V2017_06_01::AccessControlRecords + Alerts = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Alerts + BandwidthSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BandwidthSettings + CloudAppliances = Azure::StorSimple8000Series::Mgmt::V2017_06_01::CloudAppliances Devices = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Devices DeviceSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::DeviceSettings BackupSchedules = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupSchedules HardwareComponentGroups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::HardwareComponentGroups + Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups VolumeContainers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::VolumeContainers - CloudAppliances = Azure::StorSimple8000Series::Mgmt::V2017_06_01::CloudAppliances Volumes = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Volumes StorageAccountCredentials = Azure::StorSimple8000Series::Mgmt::V2017_06_01::StorageAccountCredentials Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs Operations = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Operations 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 - Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups - BandwidthSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BandwidthSettings module Models + BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType + BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus + ControllerPowerStateAction = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction + ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus ControllerStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus RecurrenceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType DeviceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus @@ -126,13 +132,13 @@ module Models CloudApplianceConfigurationList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfigurationList ManagerList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerList SecuritySettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettingsPatch - ManagerPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch + Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time DeviceRolloverDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails - MetricAvailablity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity + ManagerPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch DimensionFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter - MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + MetricAvailablity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity AvailableProviderOperationDisplay = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay - Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time + MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList DeviceList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings @@ -178,16 +184,10 @@ module Models AlertEmailNotificationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus VolumeContainer = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer ScheduleStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus - BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType - EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus - ControllerPowerStateAction = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction - ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus end class StorSimple8000SeriesManagementClass - attr_reader :devices, :device_settings, :backup_schedules, :hardware_component_groups, :volume_containers, :cloud_appliances, :volumes, :storage_account_credentials, :jobs, :operations, :backup_policies, :managers, :access_control_records, :alerts, :backups, :bandwidth_settings, :configurable, :base_url, :options, :model_classes + attr_reader :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :devices, :device_settings, :backup_schedules, :hardware_component_groups, :backups, :volume_containers, :volumes, :storage_account_credentials, :jobs, :operations, :backup_policies, :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) + @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_schedules = @client_0.backup_schedules @hardware_component_groups = @client_0.hardware_component_groups + @backups = @client_0.backups @volume_containers = @client_0.volume_containers - @cloud_appliances = @client_0.cloud_appliances @volumes = @client_0.volumes @storage_account_credentials = @client_0.storage_account_credentials @jobs = @client_0.jobs @operations = @client_0.operations @backup_policies = @client_0.backup_policies - @managers = @client_0.managers - @access_control_records = @client_0.access_control_records - @alerts = @client_0.alerts - @backups = @client_0.backups - @bandwidth_settings = @client_0.bandwidth_settings @model_classes = ModelClasses.new end @@ -231,6 +231,24 @@ def method_missing(method, *args) end class ModelClasses + def backup_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType + end + def backup_policy_creation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + end + def encryption_algorithm + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm + end + def device_configuration_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus + end + def controller_power_state_action + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction + end + def scheduled_backup_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus + end def controller_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus end @@ -534,26 +552,26 @@ def manager_list def security_settings_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettingsPatch end - def manager_patch - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch + def time + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time end def device_rollover_details Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceRolloverDetails end - def metric_availablity - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAvailablity + def manager_patch + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch end def dimension_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DimensionFilter end - def metric_data - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData + 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 time - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time + def metric_data + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData end def backup_policy_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList @@ -690,24 +708,6 @@ def volume_container def schedule_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus end - def backup_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - end - def backup_policy_creation_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType - end - def encryption_algorithm - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - end - def device_configuration_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus - end - def controller_power_state_action - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction - end - def scheduled_backup_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus - 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 ee3ddf4b2d..eed8a1fdb6 100644 --- a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb @@ -34,11 +34,11 @@ module Models FunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters AzureSqlDatabaseDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource - StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount - StartStreamingJobParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters - InputListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputListResult 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 OAuthBasedDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OAuthBasedDataSourceProperties + ResourceTestStatus = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus SubscriptionQuotasListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult Input = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input @@ -50,16 +50,16 @@ module Models 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 + StartStreamingJobParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization - AzureMachineLearningWebServiceOutputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn - CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization + StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics - PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource + CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource EventHubDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubDataSourceProperties ServiceBusTopicOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource - ResourceTestStatus = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus + PowerBIOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource DocumentDbOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource ServiceBusQueueOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusQueueOutputDataSource @@ -180,21 +180,21 @@ def azure_sql_database_data_source_properties def stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource end - def storage_account - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount - end - def start_streaming_job_parameters - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters + 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 streaming_job_list_result - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult + def azure_machine_learning_web_service_output_column + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn 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 subscription_quotas_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult end @@ -228,20 +228,20 @@ def scalar_function_properties def avro_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization end + def start_streaming_job_parameters + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters + end def json_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization end - def azure_machine_learning_web_service_output_column - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceOutputColumn - end - def csv_serialization - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization + def storage_account + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount end def diagnostics Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics end - def power_bioutput_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource + def csv_serialization + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization end def azure_data_lake_store_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource @@ -255,8 +255,8 @@ def event_hub_data_source_properties def service_bus_topic_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ServiceBusTopicOutputDataSource end - def resource_test_status - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus + def power_bioutput_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::PowerBIOutputDataSource end def document_db_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DocumentDbOutputDataSource diff --git a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb index 6d7ab7b9ef..926ad38753 100644 --- a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb @@ -7,27 +7,27 @@ module Azure::Profiles::Latest module Subscriptions module Mgmt - Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions - Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations + Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit - OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult - OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay - 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 SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription + SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult + OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult + SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult + OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation - SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end class SubscriptionsManagementClass - attr_reader :subscriptions, :tenants, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :tenants, :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) - @subscriptions = @client_0.subscriptions - @tenants = @client_0.tenants @operations = @client_0.operations + @tenants = @client_0.tenants + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -61,21 +61,6 @@ class ModelClasses def location Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location end - def spending_limit - Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit - end - def operation_list_result - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult - end - def operation_display - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay - end - def tenant_id_description - Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - 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 @@ -85,14 +70,29 @@ def subscription_list_result def subscription Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription end + def subscription_state + Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + end + def tenant_list_result + Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult + end + def operation_list_result + Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult + end + def spending_limit + Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit + end def location_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult end + def operation_display + Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay + end def operation Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation end - def subscription_state - Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + def tenant_id_description + Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end end end diff --git a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb index 1c0e915de5..fb833c3204 100644 --- a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb @@ -8,6 +8,12 @@ module Azure::Profiles::Latest module TextAnalytics module Models + MatchRecordV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MatchRecordV2dot1 + ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::ErrorRecord + EntityRecordV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntityRecordV2dot1 + EntitiesBatchResultItemV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultItemV2dot1 + InternalError = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::InternalError + Input = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::Input EntitiesBatchResultV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultV2dot1 MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MultiLanguageBatchInput ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::ErrorResponse @@ -20,12 +26,6 @@ module Models SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::SentimentBatchResultItem SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::SentimentBatchResult BatchInput = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::BatchInput - MatchRecordV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MatchRecordV2dot1 - ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::ErrorRecord - EntityRecordV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntityRecordV2dot1 - EntitiesBatchResultItemV2dot1 = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultItemV2dot1 - InternalError = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::InternalError - Input = Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::Input end class TextAnalyticsDataClass @@ -57,6 +57,24 @@ def method_missing(method, *args) end class ModelClasses + def match_record_v2dot1 + Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MatchRecordV2dot1 + end + def error_record + Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::ErrorRecord + end + def entity_record_v2dot1 + Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntityRecordV2dot1 + end + def entities_batch_result_item_v2dot1 + Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultItemV2dot1 + end + def internal_error + Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::InternalError + end + def input + Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::Input + end def entities_batch_result_v2dot1 Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultV2dot1 end @@ -93,24 +111,6 @@ def sentiment_batch_result def batch_input Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::BatchInput end - def match_record_v2dot1 - Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::MatchRecordV2dot1 - end - def error_record - Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::ErrorRecord - end - def entity_record_v2dot1 - Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntityRecordV2dot1 - end - def entities_batch_result_item_v2dot1 - Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::EntitiesBatchResultItemV2dot1 - end - def internal_error - Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::InternalError - end - def input - Azure::CognitiveServices::TextAnalytics::V2_1_preview::Models::Input - 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 4d01471719..3fa5c11856 100644 --- a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb +++ b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb @@ -7,16 +7,17 @@ module Azure::Profiles::Latest module TrafficManager module Mgmt - Endpoints = Azure::TrafficManager::Mgmt::V2018_04_01::Endpoints - Profiles = Azure::TrafficManager::Mgmt::V2018_04_01::Profiles GeographicHierarchies = Azure::TrafficManager::Mgmt::V2018_04_01::GeographicHierarchies HeatMap = Azure::TrafficManager::Mgmt::V2018_04_01::HeatMap TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerUserMetricsKeys + Endpoints = Azure::TrafficManager::Mgmt::V2018_04_01::Endpoints + Profiles = Azure::TrafficManager::Mgmt::V2018_04_01::Profiles module Models TrackedResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource ProxyResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource ProfileListResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult + Resource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource MonitorConfigCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem MonitorConfigExpectedStatusCodeRangesItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigExpectedStatusCodeRangesItem EndpointPropertiesSubnetsItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointPropertiesSubnetsItem @@ -28,13 +29,12 @@ module Models TrafficFlow = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficFlow Region = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Region DnsConfig = Azure::TrafficManager::Mgmt::V2018_04_01::Models::DnsConfig - CheckTrafficManagerRelativeDnsNameAvailabilityParameters = Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters TrafficManagerNameAvailability = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability HeatMapModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::HeatMapModel UserMetricsModel = Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel - Resource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy EndpointStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus + CheckTrafficManagerRelativeDnsNameAvailabilityParameters = Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters EndpointMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus ProfileMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileMonitorStatus MonitorProtocol = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol @@ -46,7 +46,7 @@ module Models end class TrafficManagerManagementClass - attr_reader :endpoints, :profiles, :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :configurable, :base_url, :options, :model_classes + attr_reader :geographic_hierarchies, :heat_map, :traffic_manager_user_metrics_keys, :endpoints, :profiles, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -56,11 +56,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @endpoints = @client_0.endpoints - @profiles = @client_0.profiles @geographic_hierarchies = @client_0.geographic_hierarchies @heat_map = @client_0.heat_map @traffic_manager_user_metrics_keys = @client_0.traffic_manager_user_metrics_keys + @endpoints = @client_0.endpoints + @profiles = @client_0.profiles @model_classes = ModelClasses.new end @@ -88,6 +88,9 @@ def proxy_resource def profile_list_result Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult end + def resource + Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource + end def monitor_config_custom_headers_item Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem end @@ -121,9 +124,6 @@ def region def dns_config Azure::TrafficManager::Mgmt::V2018_04_01::Models::DnsConfig end - def check_traffic_manager_relative_dns_name_availability_parameters - Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters - end def traffic_manager_name_availability Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability end @@ -133,15 +133,15 @@ def heat_map_model def user_metrics_model Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel end - def resource - Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource - end def traffic_manager_geographic_hierarchy Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy end def endpoint_status Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus end + def check_traffic_manager_relative_dns_name_availability_parameters + Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters + end def endpoint_monitor_status Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus end diff --git a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb index 80e7708651..4349c52868 100644 --- a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb @@ -9,9 +9,11 @@ module VideoSearch VideosOperations = Azure::CognitiveServices::VideoSearch::V1_0::VideosOperations module Models + Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject - ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode + ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory @@ -37,10 +39,8 @@ module Models VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch - PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error - Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query - MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject + PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions end class VideoSearchDataClass @@ -73,15 +73,21 @@ def method_missing(method, *args) end class ModelClasses + def query + Azure::CognitiveServices::VideoSearch::V1_0::Models::Query + end def image_object Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject end - def error_response - Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + def media_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject end def error_sub_code Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode end + def error_response + Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + end def freshness Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness end @@ -157,17 +163,11 @@ def error_code def safe_search Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch end - def pivot_suggestions - Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions - end def error Azure::CognitiveServices::VideoSearch::V1_0::Models::Error end - def query - Azure::CognitiveServices::VideoSearch::V1_0::Models::Query - end - def media_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject + def pivot_suggestions + Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions end end end diff --git a/azure_sdk/lib/latest/modules/visualsearch_profile_module.rb b/azure_sdk/lib/latest/modules/visualsearch_profile_module.rb index 65e260c867..7bc11e248b 100644 --- a/azure_sdk/lib/latest/modules/visualsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/visualsearch_profile_module.rb @@ -9,6 +9,10 @@ module VisualSearch Images = Azure::CognitiveServices::VisualSearch::V1_0::Images module Models + SafeSearch = Azure::CognitiveServices::VisualSearch::V1_0::Models::SafeSearch + Query = Azure::CognitiveServices::VisualSearch::V1_0::Models::Query + ImageObject = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageObject + MediaObject = Azure::CognitiveServices::VisualSearch::V1_0::Models::MediaObject ErrorSubCode = Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorSubCode ErrorResponse = Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorResponse Organization = Azure::CognitiveServices::VisualSearch::V1_0::Models::Organization @@ -18,9 +22,9 @@ module Models ImageTag = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageTag RelatedSearchesModule = Azure::CognitiveServices::VisualSearch::V1_0::Models::RelatedSearchesModule PropertiesItem = Azure::CognitiveServices::VisualSearch::V1_0::Models::PropertiesItem + Error = Azure::CognitiveServices::VisualSearch::V1_0::Models::Error RecipesModule = Azure::CognitiveServices::VisualSearch::V1_0::Models::RecipesModule ImagesImageMetadata = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImagesImageMetadata - Error = Azure::CognitiveServices::VisualSearch::V1_0::Models::Error ImagesModule = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImagesModule AggregateRating = Azure::CognitiveServices::VisualSearch::V1_0::Models::AggregateRating Offer = Azure::CognitiveServices::VisualSearch::V1_0::Models::Offer @@ -35,6 +39,7 @@ module Models Thing = Azure::CognitiveServices::VisualSearch::V1_0::Models::Thing CreativeWork = Azure::CognitiveServices::VisualSearch::V1_0::Models::CreativeWork Identifiable = Azure::CognitiveServices::VisualSearch::V1_0::Models::Identifiable + Action = Azure::CognitiveServices::VisualSearch::V1_0::Models::Action CropArea = Azure::CognitiveServices::VisualSearch::V1_0::Models::CropArea ImageInfo = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageInfo ImageTagRegion = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageTagRegion @@ -46,16 +51,11 @@ module Models ImageKnowledge = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageKnowledge ImageEntityAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageEntityAction ImageModuleAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageModuleAction - Action = Azure::CognitiveServices::VisualSearch::V1_0::Models::Action ImageRecipesAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRecipesAction + ImageRelatedSearchesAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRelatedSearchesAction ImageShoppingSourcesAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageShoppingSourcesAction ContentTypes = Azure::CognitiveServices::VisualSearch::V1_0::Models::ContentTypes - ImageRelatedSearchesAction = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRelatedSearchesAction ErrorCode = Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorCode - SafeSearch = Azure::CognitiveServices::VisualSearch::V1_0::Models::SafeSearch - Query = Azure::CognitiveServices::VisualSearch::V1_0::Models::Query - ImageObject = Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageObject - MediaObject = Azure::CognitiveServices::VisualSearch::V1_0::Models::MediaObject end class VisualSearchDataClass @@ -88,6 +88,18 @@ def method_missing(method, *args) end class ModelClasses + def safe_search + Azure::CognitiveServices::VisualSearch::V1_0::Models::SafeSearch + end + def query + Azure::CognitiveServices::VisualSearch::V1_0::Models::Query + end + def image_object + Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageObject + end + def media_object + Azure::CognitiveServices::VisualSearch::V1_0::Models::MediaObject + end def error_sub_code Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorSubCode end @@ -115,15 +127,15 @@ def related_searches_module def properties_item Azure::CognitiveServices::VisualSearch::V1_0::Models::PropertiesItem end + def error + Azure::CognitiveServices::VisualSearch::V1_0::Models::Error + end def recipes_module Azure::CognitiveServices::VisualSearch::V1_0::Models::RecipesModule end def images_image_metadata Azure::CognitiveServices::VisualSearch::V1_0::Models::ImagesImageMetadata end - def error - Azure::CognitiveServices::VisualSearch::V1_0::Models::Error - end def images_module Azure::CognitiveServices::VisualSearch::V1_0::Models::ImagesModule end @@ -166,6 +178,9 @@ def creative_work def identifiable Azure::CognitiveServices::VisualSearch::V1_0::Models::Identifiable end + def action + Azure::CognitiveServices::VisualSearch::V1_0::Models::Action + end def crop_area Azure::CognitiveServices::VisualSearch::V1_0::Models::CropArea end @@ -199,36 +214,21 @@ def image_entity_action def image_module_action Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageModuleAction end - def action - Azure::CognitiveServices::VisualSearch::V1_0::Models::Action - end def image_recipes_action Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRecipesAction end + def image_related_searches_action + Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRelatedSearchesAction + end def image_shopping_sources_action Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageShoppingSourcesAction end def content_types Azure::CognitiveServices::VisualSearch::V1_0::Models::ContentTypes end - def image_related_searches_action - Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageRelatedSearchesAction - end def error_code Azure::CognitiveServices::VisualSearch::V1_0::Models::ErrorCode end - def safe_search - Azure::CognitiveServices::VisualSearch::V1_0::Models::SafeSearch - end - def query - Azure::CognitiveServices::VisualSearch::V1_0::Models::Query - end - def image_object - Azure::CognitiveServices::VisualSearch::V1_0::Models::ImageObject - end - def media_object - Azure::CognitiveServices::VisualSearch::V1_0::Models::MediaObject - end 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 e33e26926d..0ef00f906b 100644 --- a/azure_sdk/lib/latest/modules/web_profile_module.rb +++ b/azure_sdk/lib/latest/modules/web_profile_module.rb @@ -7,6 +7,8 @@ module Azure::Profiles::Latest module Web module Mgmt + Domains = Azure::Web::Mgmt::V2018_02_01::Domains + AppServiceEnvironments = Azure::Web::Mgmt::V2018_02_01::AppServiceEnvironments AppServicePlans = Azure::Web::Mgmt::V2018_02_01::AppServicePlans WebApps = Azure::Web::Mgmt::V2018_02_01::WebApps Certificates = Azure::Web::Mgmt::V2018_02_01::Certificates @@ -16,13 +18,17 @@ module Mgmt ResourceHealthMetadataOperations = Azure::Web::Mgmt::V2018_02_01::ResourceHealthMetadataOperations AppServiceCertificateOrders = Azure::Web::Mgmt::V2018_02_01::AppServiceCertificateOrders CertificateRegistrationProvider = Azure::Web::Mgmt::V2018_02_01::CertificateRegistrationProvider + Provider = Azure::Web::Mgmt::V2018_02_01::Provider TopLevelDomains = Azure::Web::Mgmt::V2018_02_01::TopLevelDomains DomainRegistrationProvider = Azure::Web::Mgmt::V2018_02_01::DomainRegistrationProvider - Domains = Azure::Web::Mgmt::V2018_02_01::Domains - Provider = Azure::Web::Mgmt::V2018_02_01::Provider - AppServiceEnvironments = Azure::Web::Mgmt::V2018_02_01::AppServiceEnvironments module Models + GeoRegionCollection = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection + ResourceMetricCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection + VirtualNetworkProfile = Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile + ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection + VirtualIPMapping = Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping + WebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection NetworkAccessControlEntry = Azure::Web::Mgmt::V2018_02_01::Models::NetworkAccessControlEntry DeletedSite = Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite AppServicePlanCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanCollection @@ -82,13 +88,13 @@ module Models ResourceMetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition PushSettings = Azure::Web::Mgmt::V2018_02_01::Models::PushSettings HybridConnectionKey = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey + Identifier = Azure::Web::Mgmt::V2018_02_01::Models::Identifier HybridConnection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection Site = Azure::Web::Mgmt::V2018_02_01::Models::Site AppServicePlan = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan DetectorDefinition = Azure::Web::Mgmt::V2018_02_01::Models::DetectorDefinition AnalysisDefinition = Azure::Web::Mgmt::V2018_02_01::Models::AnalysisDefinition DetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse - Identifier = Azure::Web::Mgmt::V2018_02_01::Models::Identifier DiagnosticAnalysis = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis DiagnosticCategory = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory DiagnosticDetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse @@ -184,21 +190,21 @@ module Models SiteSealRequest = Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest AppServiceCertificate = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate AzureStorageInfoValue = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue + Contact = Azure::Web::Mgmt::V2018_02_01::Models::Contact DomainPurchaseConsent = Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent DomainAvailablilityCheckResult = Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult - Contact = Azure::Web::Mgmt::V2018_02_01::Models::Contact DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest + DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection DomainRecommendationSearchParameters = Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters TldLegalAgreement = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreement - DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection AppServiceCertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection + PrivateAccessVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork NetworkTrace = Azure::Web::Mgmt::V2018_02_01::Models::NetworkTrace HostName = Azure::Web::Mgmt::V2018_02_01::Models::HostName - PrivateAccessVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork DomainCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection + TldLegalAgreementCollection = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection PrivateAccessSubnet = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessSubnet SiteSeal = Azure::Web::Mgmt::V2018_02_01::Models::SiteSeal - TldLegalAgreementCollection = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection Address = Azure::Web::Mgmt::V2018_02_01::Models::Address TopLevelDomainAgreementOption = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainAgreementOption NameIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection @@ -287,13 +293,13 @@ module Models MSDeployStatus = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployStatus MigrateMySqlRequest = Azure::Web::Mgmt::V2018_02_01::Models::MigrateMySqlRequest MigrateMySqlStatus = Azure::Web::Mgmt::V2018_02_01::Models::MigrateMySqlStatus + ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity RelayServiceConnectionEntity = Azure::Web::Mgmt::V2018_02_01::Models::RelayServiceConnectionEntity NetworkFeatures = Azure::Web::Mgmt::V2018_02_01::Models::NetworkFeatures PremierAddOn = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOn ProcessThreadInfo = Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfo ProcessModuleInfo = Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfo ProcessInfo = Azure::Web::Mgmt::V2018_02_01::Models::ProcessInfo - ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity PublicCertificate = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificate RestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest SiteAuthSettings = Azure::Web::Mgmt::V2018_02_01::Models::SiteAuthSettings @@ -353,16 +359,10 @@ module Models ResourceMetricValue = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricValue SkuCapacity = Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity ResourceMetric = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric - GeoRegionCollection = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection - ResourceMetricCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection - VirtualNetworkProfile = Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile - ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection - VirtualIPMapping = Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping - WebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection end class WebManagementClass - attr_reader :app_service_plans, :web_apps, :certificates, :deleted_web_apps, :diagnostics, :recommendations, :resource_health_metadata_operations, :app_service_certificate_orders, :certificate_registration_provider, :top_level_domains, :domain_registration_provider, :domains, :provider, :app_service_environments, :configurable, :base_url, :options, :model_classes + attr_reader :domains, :app_service_environments, :app_service_plans, :web_apps, :certificates, :deleted_web_apps, :diagnostics, :recommendations, :resource_health_metadata_operations, :app_service_certificate_orders, :certificate_registration_provider, :provider, :top_level_domains, :domain_registration_provider, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -372,6 +372,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @domains = @client_0.domains + @app_service_environments = @client_0.app_service_environments @app_service_plans = @client_0.app_service_plans @web_apps = @client_0.web_apps @certificates = @client_0.certificates @@ -381,11 +383,9 @@ def initialize(configurable, base_url=nil, options=nil) @resource_health_metadata_operations = @client_0.resource_health_metadata_operations @app_service_certificate_orders = @client_0.app_service_certificate_orders @certificate_registration_provider = @client_0.certificate_registration_provider + @provider = @client_0.provider @top_level_domains = @client_0.top_level_domains @domain_registration_provider = @client_0.domain_registration_provider - @domains = @client_0.domains - @provider = @client_0.provider - @app_service_environments = @client_0.app_service_environments @model_classes = ModelClasses.new end @@ -404,6 +404,24 @@ def method_missing(method, *args) end class ModelClasses + def geo_region_collection + Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection + end + def resource_metric_collection + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection + end + def virtual_network_profile + Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile + end + def resource_metric_definition_collection + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection + end + def virtual_ipmapping + Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping + end + def web_app_collection + Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection + end def network_access_control_entry Azure::Web::Mgmt::V2018_02_01::Models::NetworkAccessControlEntry end @@ -581,6 +599,9 @@ def push_settings def hybrid_connection_key Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey end + def identifier + Azure::Web::Mgmt::V2018_02_01::Models::Identifier + end def hybrid_connection Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection end @@ -599,9 +620,6 @@ def analysis_definition def detector_response Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponse end - def identifier - Azure::Web::Mgmt::V2018_02_01::Models::Identifier - end def diagnostic_analysis Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis end @@ -887,51 +905,51 @@ def app_service_certificate def azure_storage_info_value Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue end + def contact + Azure::Web::Mgmt::V2018_02_01::Models::Contact + end def domain_purchase_consent Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent end def domain_availablility_check_result Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult end - def contact - Azure::Web::Mgmt::V2018_02_01::Models::Contact - end def domain_control_center_sso_request Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest end + def domain_ownership_identifier_collection + Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection + end def domain_recommendation_search_parameters Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters end def tld_legal_agreement Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreement end - def domain_ownership_identifier_collection - Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection - end def app_service_certificate_collection Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection end + def private_access_virtual_network + Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork + end def network_trace Azure::Web::Mgmt::V2018_02_01::Models::NetworkTrace end def host_name Azure::Web::Mgmt::V2018_02_01::Models::HostName end - def private_access_virtual_network - Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork - end def domain_collection Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection end + def tld_legal_agreement_collection + Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection + end def private_access_subnet Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessSubnet end def site_seal Azure::Web::Mgmt::V2018_02_01::Models::SiteSeal end - def tld_legal_agreement_collection - Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection - end def address Azure::Web::Mgmt::V2018_02_01::Models::Address end @@ -1196,6 +1214,9 @@ def migrate_my_sql_request def migrate_my_sql_status Azure::Web::Mgmt::V2018_02_01::Models::MigrateMySqlStatus end + def managed_service_identity + Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity + end def relay_service_connection_entity Azure::Web::Mgmt::V2018_02_01::Models::RelayServiceConnectionEntity end @@ -1214,9 +1235,6 @@ def process_module_info def process_info Azure::Web::Mgmt::V2018_02_01::Models::ProcessInfo end - def managed_service_identity - Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity - end def public_certificate Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificate end @@ -1394,24 +1412,6 @@ def sku_capacity def resource_metric Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric end - def geo_region_collection - Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection - end - def resource_metric_collection - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection - end - def virtual_network_profile - Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile - end - def resource_metric_definition_collection - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection - end - def virtual_ipmapping - Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping - end - def web_app_collection - Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection - 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 4d29166bf9..f37149c340 100644 --- a/azure_sdk/lib/latest/modules/websearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/websearch_profile_module.rb @@ -9,10 +9,12 @@ module WebSearch Web = Azure::CognitiveServices::WebSearch::V1_0::Web module Models + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query + ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject + MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse - Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer @@ -23,33 +25,31 @@ module Models Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup - Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response - QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext + RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping + TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer - Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation - Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response + QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions - TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation + News = Azure::CognitiveServices::WebSearch::V1_0::Models::News VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer - RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse + SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone - Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article - News = Azure::CognitiveServices::WebSearch::V1_0::Models::News - Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible - StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing + Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode - SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error - ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue end class WebSearchDataClass @@ -82,6 +82,15 @@ def method_missing(method, *args) end class ModelClasses + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query + end + def image_object + Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject + end + def media_object + Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + end def web_page Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage end @@ -91,9 +100,6 @@ def error_sub_code def error_response Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query - end def freshness Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness end @@ -124,15 +130,15 @@ def ranking_ranking_item def ranking_ranking_group Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end - def response - Azure::CognitiveServices::WebSearch::V1_0::Models::Response - end - def query_context - Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext + 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 time_zone_time_zone_information + Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation + end def response_base Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase end @@ -142,11 +148,11 @@ def answer def search_results_answer Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer end - def computation - Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + def response + Azure::CognitiveServices::WebSearch::V1_0::Models::Response 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 @@ -160,8 +166,8 @@ def identifiable def spell_suggestions Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions end - def time_zone_time_zone_information - Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation + def news + Azure::CognitiveServices::WebSearch::V1_0::Models::News end def video_object Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject @@ -169,41 +175,35 @@ def video_object def related_searches_related_search_answer Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer end - def ranking_ranking_response - Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse + def safe_search + Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch end def time_zone Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone end - def article - Azure::CognitiveServices::WebSearch::V1_0::Models::Article + def thing + Azure::CognitiveServices::WebSearch::V1_0::Models::Thing end - def news - Azure::CognitiveServices::WebSearch::V1_0::Models::News + def computation + Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + end + def answer_type + Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType end def intangible Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible end - def structured_value - Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue - end - def answer_type - Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + def article + Azure::CognitiveServices::WebSearch::V1_0::Models::Article end def error_code Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode end - def safe_search - Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch - end def error Azure::CognitiveServices::WebSearch::V1_0::Models::Error end - def image_object - Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - end - def media_object - Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + def structured_value + Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb index c6c9fda848..14be166b3b 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 - VirtualMachineScaleSets = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSets - VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineScaleSetVMs - AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages 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 + AvailabilitySets = Azure::Compute::Mgmt::V2016_03_30::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2016_03_30::VirtualMachineExtensionImages module Models + StorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile + VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetStorageProfile + WinRMListener = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener + WindowsConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration + ApiEntityReference = Azure::Compute::Mgmt::V2016_03_30::Models::ApiEntityReference SshConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::SshConfiguration VaultCertificate = Azure::Compute::Mgmt::V2016_03_30::Models::VaultCertificate OSProfile = Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile @@ -114,15 +119,10 @@ module Models Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku VirtualHardDisk = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualHardDisk OSDisk = Azure::Compute::Mgmt::V2016_03_30::Models::OSDisk - StorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile - VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetStorageProfile - WinRMListener = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener - WindowsConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration - ApiEntityReference = Azure::Compute::Mgmt::V2016_03_30::Models::ApiEntityReference end class ComputeManagementClass - attr_reader :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :availability_sets, :virtual_machine_extension_images, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -132,15 +132,15 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @virtual_machine_scale_sets = @client_0.virtual_machine_scale_sets - @virtual_machine_scale_set_vms = @client_0.virtual_machine_scale_set_vms - @availability_sets = @client_0.availability_sets - @virtual_machine_extension_images = @client_0.virtual_machine_extension_images @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 + @availability_sets = @client_0.availability_sets + @virtual_machine_extension_images = @client_0.virtual_machine_extension_images @model_classes = ModelClasses.new end @@ -159,6 +159,21 @@ def method_missing(method, *args) end class ModelClasses + def storage_profile + Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile + end + def virtual_machine_scale_set_storage_profile + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetStorageProfile + end + def win_rmlistener + Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener + end + def windows_configuration + Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration + end + def api_entity_reference + Azure::Compute::Mgmt::V2016_03_30::Models::ApiEntityReference + end def ssh_configuration Azure::Compute::Mgmt::V2016_03_30::Models::SshConfiguration end @@ -447,21 +462,6 @@ def virtual_hard_disk def osdisk Azure::Compute::Mgmt::V2016_03_30::Models::OSDisk end - def storage_profile - Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile - end - def virtual_machine_scale_set_storage_profile - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetStorageProfile - end - def win_rmlistener - Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener - end - def windows_configuration - Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration - end - def api_entity_reference - Azure::Compute::Mgmt::V2016_03_30::Models::ApiEntityReference - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb index 588c5c286c..fc782aafa5 100644 --- a/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/dns_profile_module.rb @@ -11,6 +11,12 @@ module Mgmt Zones = Azure::Dns::Mgmt::V2016_04_01::Zones module Models + AaaaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord + ARecord = Azure::Dns::Mgmt::V2016_04_01::Models::ARecord + MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord + PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord + SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord + CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult RecordSet = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult @@ -27,12 +33,6 @@ module Models Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource RecordSetUpdateParameters = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters RecordSetListResult = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult - AaaaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord - ARecord = Azure::Dns::Mgmt::V2016_04_01::Models::ARecord - MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord - PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord - SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord end class DnsManagementClass @@ -66,6 +66,24 @@ def method_missing(method, *args) end class ModelClasses + def aaaa_record + Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord + end + def arecord + Azure::Dns::Mgmt::V2016_04_01::Models::ARecord + end + def mx_record + Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord + end + def ptr_record + Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord + end + def srv_record + Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord + end + def cname_record + Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + end def zone_delete_result Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult end @@ -114,24 +132,6 @@ def record_set_update_parameters def record_set_list_result Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult end - def aaaa_record - Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord - end - def arecord - Azure::Dns::Mgmt::V2016_04_01::Models::ARecord - end - def mx_record - Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord - end - def ptr_record - Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord - end - def srv_record - Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - end - def cname_record - Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb index 2e21203c18..ca920adbe5 100644 --- a/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb @@ -10,12 +10,12 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models - Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation - FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult OperationListResult = Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult + Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation + FeatureResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult end class FeaturesManagementClass @@ -48,12 +48,6 @@ def method_missing(method, *args) end class ModelClasses - def operation - Azure::Features::Mgmt::V2015_12_01::Models::Operation - end - def feature_result - Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult - end def operation_list_result Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult end @@ -66,6 +60,12 @@ def operation_display def feature_operations_list_result Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult end + def operation + Azure::Features::Mgmt::V2015_12_01::Models::Operation + end + def feature_result + Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb index 4147902708..29062f7371 100644 --- a/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/keyvault_profile_module.rb @@ -53,13 +53,13 @@ module Models DeletedKeyListResult = Azure::KeyVault::V2016_10_01::Models::DeletedKeyListResult CertificateIssuerItem = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerItem SecretListResult = Azure::KeyVault::V2016_10_01::Models::SecretListResult + Error = Azure::KeyVault::V2016_10_01::Models::Error X509CertificateProperties = Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties DeletedSecretListResult = Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult IssuerParameters = Azure::KeyVault::V2016_10_01::Models::IssuerParameters CertificateListResult = Azure::KeyVault::V2016_10_01::Models::CertificateListResult SasDefinitionBundle = Azure::KeyVault::V2016_10_01::Models::SasDefinitionBundle DeletedCertificateListResult = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateListResult - Error = Azure::KeyVault::V2016_10_01::Models::Error AdministratorDetails = Azure::KeyVault::V2016_10_01::Models::AdministratorDetails CertificateIssuerListResult = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerListResult Contact = Azure::KeyVault::V2016_10_01::Models::Contact @@ -259,6 +259,9 @@ def certificate_issuer_item def secret_list_result Azure::KeyVault::V2016_10_01::Models::SecretListResult end + def error + Azure::KeyVault::V2016_10_01::Models::Error + end def x509_certificate_properties Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties end @@ -277,9 +280,6 @@ def sas_definition_bundle def deleted_certificate_list_result Azure::KeyVault::V2016_10_01::Models::DeletedCertificateListResult end - def error - Azure::KeyVault::V2016_10_01::Models::Error - end def administrator_details Azure::KeyVault::V2016_10_01::Models::AdministratorDetails end @@ -400,12 +400,12 @@ module Models OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault - OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult - VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult - VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties + 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 VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties @@ -414,17 +414,17 @@ module Models 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 - VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters + VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult + OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName + Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault + SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions - ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult + StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions - SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode - StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end @@ -474,24 +474,24 @@ def operation def deleted_vault Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault end - def operation_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult - end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult end - def vault_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult + def vault_properties + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties end def vault_access_policy_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties end - def vault_properties - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties + def resource_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult end def vault_create_or_update_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters end + def vault_check_name_availability_parameters + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters + end def vault_access_policy_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters end @@ -516,39 +516,39 @@ def access_policy_entry def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties end - def vault - Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault + def vault_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult end - def vault_check_name_availability_parameters - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters + def operation_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName end + def vault + Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault + 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 resource_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult + def storage_permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions end def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end - def secret_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind end def create_mode Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode end - def storage_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions - end def reason Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind - end def sku Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end 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 e450c025f8..c113a1a603 100644 --- a/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb @@ -11,14 +11,14 @@ module Mgmt Operations = Azure::Links::Mgmt::V2016_09_01::Operations module Models + OperationListResult = Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult + ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink + Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay ResourceLinkFilter = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties - OperationListResult = Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult - ResourceLink = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink - Filter = Azure::Links::Mgmt::V2016_09_01::Models::Filter end class LinksManagementClass @@ -52,6 +52,15 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult + end + def resource_link + Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink + end + def filter + Azure::Links::Mgmt::V2016_09_01::Models::Filter + end def resource_link_result Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult end @@ -67,15 +76,6 @@ def operation def resource_link_properties Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties end - def operation_list_result - Azure::Links::Mgmt::V2016_09_01::Models::OperationListResult - end - def resource_link - Azure::Links::Mgmt::V2016_09_01::Models::ResourceLink - 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..51768d6ba0 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 + ManagementLockObject = Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject 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 end class LocksManagementClass @@ -45,15 +45,15 @@ def method_missing(method, *args) end class ModelClasses + 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 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 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 af5c5dfc51..697abaaa67 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,26 +7,28 @@ module Azure::Profiles::V2017_03_09 module Network module Mgmt + RouteTables = Azure::Network::Mgmt::V2015_06_15::RouteTables + Routes = Azure::Network::Mgmt::V2015_06_15::Routes + Usages = Azure::Network::Mgmt::V2015_06_15::Usages + VirtualNetworks = Azure::Network::Mgmt::V2015_06_15::VirtualNetworks Subnets = Azure::Network::Mgmt::V2015_06_15::Subnets VirtualNetworkGateways = Azure::Network::Mgmt::V2015_06_15::VirtualNetworkGateways ApplicationGateways = Azure::Network::Mgmt::V2015_06_15::ApplicationGateways - NetworkInterfaces = Azure::Network::Mgmt::V2015_06_15::NetworkInterfaces PublicIPAddresses = Azure::Network::Mgmt::V2015_06_15::PublicIPAddresses + LocalNetworkGateways = Azure::Network::Mgmt::V2015_06_15::LocalNetworkGateways + NetworkInterfaces = Azure::Network::Mgmt::V2015_06_15::NetworkInterfaces 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 + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2015_06_15::ExpressRouteServiceProviders VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2015_06_15::VirtualNetworkGatewayConnections - LocalNetworkGateways = Azure::Network::Mgmt::V2015_06_15::LocalNetworkGateways NetworkSecurityGroups = Azure::Network::Mgmt::V2015_06_15::NetworkSecurityGroups SecurityRules = Azure::Network::Mgmt::V2015_06_15::SecurityRules - RouteTables = Azure::Network::Mgmt::V2015_06_15::RouteTables - Routes = Azure::Network::Mgmt::V2015_06_15::Routes - Usages = Azure::Network::Mgmt::V2015_06_15::Usages - VirtualNetworks = Azure::Network::Mgmt::V2015_06_15::VirtualNetworks module Models + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku + RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderBandwidthsOffered @@ -57,36 +59,36 @@ module Models SecurityRule = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRule ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration - IPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration + PublicIPAddress = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress + FrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration 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 + NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration ApplicationGatewayProbe = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe NetworkInterface = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterface - NetworkSecurityGroup = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup + ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort Route = Azure::Network::Mgmt::V2015_06_15::Models::Route RouteTable = Azure::Network::Mgmt::V2015_06_15::Models::RouteTable - ApplicationGateway = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGateway ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayUrlPathMap ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool - Subnet = Azure::Network::Mgmt::V2015_06_15::Models::Subnet + NetworkSecurityGroup = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization - NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration + ApplicationGateway = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGateway ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRule ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering ExpressRouteCircuit = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + ExpressRouteServiceProvider = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider LoadBalancingRule = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule Probe = Azure::Network::Mgmt::V2015_06_15::Models::Probe InboundNatPool = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatPool OutboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::OutboundNatRule LoadBalancer = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer - ExpressRouteServiceProvider = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider - SecurityRuleDirection = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection - PublicIPAddress = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress - FrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + IPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration + IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod + Subnet = Azure::Network::Mgmt::V2015_06_15::Models::Subnet TransportProtocol = Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol VirtualNetwork = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration @@ -95,13 +97,13 @@ module Models VirtualNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway LocalNetworkGateway = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection - IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod + SecurityRuleDirection = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayCookieBasedAffinity ApplicationGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName ApplicationGatewayTier = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier SecurityRuleAccess = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType RouteNextHopType = Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayOperationalState @@ -143,12 +145,10 @@ module Models AddressSpace = Azure::Network::Mgmt::V2015_06_15::Models::AddressSpace DnsNameAvailabilityResult = Azure::Network::Mgmt::V2015_06_15::Models::DnsNameAvailabilityResult AuthorizationListResult = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult - ExpressRouteCircuitSku = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku - RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult end class NetworkManagementClass - attr_reader :subnets, :virtual_network_gateways, :application_gateways, :network_interfaces, :public_ipaddresses, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :virtual_network_gateway_connections, :local_network_gateways, :network_security_groups, :security_rules, :route_tables, :routes, :usages, :virtual_networks, :configurable, :base_url, :options, :model_classes + attr_reader :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :application_gateways, :public_ipaddresses, :local_network_gateways, :network_interfaces, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :load_balancers, :express_route_service_providers, :virtual_network_gateway_connections, :network_security_groups, :security_rules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -158,24 +158,24 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @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 @application_gateways = @client_0.application_gateways - @network_interfaces = @client_0.network_interfaces @public_ipaddresses = @client_0.public_ipaddresses + @local_network_gateways = @client_0.local_network_gateways + @network_interfaces = @client_0.network_interfaces @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 + @express_route_service_providers = @client_0.express_route_service_providers @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections - @local_network_gateways = @client_0.local_network_gateways @network_security_groups = @client_0.network_security_groups @security_rules = @client_0.security_rules - @route_tables = @client_0.route_tables - @routes = @client_0.routes - @usages = @client_0.usages - @virtual_networks = @client_0.virtual_networks @model_classes = ModelClasses.new end @@ -194,6 +194,12 @@ def method_missing(method, *args) end class ModelClasses + def express_route_circuit_sku + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku + end + def route_list_result + Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult + end def express_route_circuits_arp_table_list_result Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult end @@ -284,8 +290,11 @@ def application_gateway_backend_http_settings def application_gateway_ipconfiguration Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration end - def ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration + def public_ipaddress + Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress + end + def frontend_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration end def application_gateway_ssl_certificate Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate @@ -293,23 +302,23 @@ def application_gateway_ssl_certificate 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 def backend_address_pool Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool end def inbound_nat_rule Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule end + def network_interface_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration + end def application_gateway_probe Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe end def network_interface Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterface end - def network_security_group - Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup + def application_gateway_frontend_port + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort end def route Azure::Network::Mgmt::V2015_06_15::Models::Route @@ -317,23 +326,20 @@ def route def route_table Azure::Network::Mgmt::V2015_06_15::Models::RouteTable end - def application_gateway - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGateway - end def application_gateway_url_path_map Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayUrlPathMap end def application_gateway_backend_address_pool Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool end - def subnet - Azure::Network::Mgmt::V2015_06_15::Models::Subnet + def network_security_group + Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup end def express_route_circuit_authorization Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization end - def network_interface_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration + def application_gateway + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGateway end def application_gateway_request_routing_rule Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRule @@ -344,8 +350,8 @@ def express_route_circuit_peering def express_route_circuit Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit end - def application_gateway_path_rule - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + def express_route_service_provider + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider end def load_balancing_rule Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule @@ -362,17 +368,17 @@ def outbound_nat_rule def load_balancer Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer end - def express_route_service_provider - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider + def application_gateway_path_rule + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule end - def security_rule_direction - Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection + def ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration end - def public_ipaddress - Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress + def ipallocation_method + Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration + def subnet + Azure::Network::Mgmt::V2015_06_15::Models::Subnet end def transport_protocol Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol @@ -398,8 +404,11 @@ def local_network_gateway 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 security_rule_direction + Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection + end + def application_gateway_protocol + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol end def application_gateway_http_listener Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener @@ -416,9 +425,6 @@ def application_gateway_tier def security_rule_access Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess end - def application_gateway_protocol - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol - end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType end @@ -542,12 +548,6 @@ def dns_name_availability_result def authorization_list_result Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult end - def express_route_circuit_sku - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku - end - def route_list_result - Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb index b85968cb11..7391bc7eac 100644 --- a/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/policy_profile_module.rb @@ -11,11 +11,11 @@ module Mgmt PolicyAssignments = Azure::Policy::Mgmt::V2015_10_01_preview::PolicyAssignments module Models - PolicyDefinition = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition - PolicyAssignmentListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult PolicyDefinitionListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult PolicyType = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType PolicyAssignment = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment + PolicyDefinition = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition + PolicyAssignmentListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult end class PolicyManagementClass @@ -49,12 +49,6 @@ def method_missing(method, *args) end class ModelClasses - def policy_definition - Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition - end - def policy_assignment_list_result - Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult - end def policy_definition_list_result Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult end @@ -64,6 +58,12 @@ def policy_type def policy_assignment Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment end + def policy_definition + Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition + end + def policy_assignment_list_result + Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult + 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 6eb1c2a61c..bbd3e80594 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 + 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 module Models Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency @@ -64,7 +64,7 @@ module Models end class ResourcesManagementClass - attr_reader :resources, :deployments, :providers, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :deployment_operations, :resources, :deployments, :providers, :resource_groups, :tags, :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) + @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 @model_classes = ModelClasses.new 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 49bacbc869..b5322f18b1 100644 --- a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb @@ -7,18 +7,25 @@ module Azure::Profiles::V2017_03_09 module Storage module Mgmt - StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations + StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts module Models + AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters Resource = Azure::Storage::Mgmt::V2016_01_01::Models::Resource ProvisioningState = Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters StorageAccountKey = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey + Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult @@ -26,23 +33,16 @@ module Models StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain - EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices UsageListResult = Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult - Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku - UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason - Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier - Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage - 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 - StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount + Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku + EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices end class StorageManagementClass - attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes + attr_reader :usage_operations, :storage_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -52,8 +52,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @storage_accounts = @client_0.storage_accounts @usage_operations = @client_0.usage_operations + @storage_accounts = @client_0.storage_accounts @model_classes = ModelClasses.new end @@ -72,6 +72,21 @@ def method_missing(method, *args) end class ModelClasses + def account_status + Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + end + def usage_name + Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + end + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + end + def key_permission + Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + end + def kind + Azure::Storage::Mgmt::V2016_01_01::Models::Kind + end def storage_account_create_parameters Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters end @@ -87,6 +102,9 @@ def provisioning_state def check_name_availability_result Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult end + def reason + Azure::Storage::Mgmt::V2016_01_01::Models::Reason + end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end @@ -96,6 +114,9 @@ def storage_account_check_name_availability_parameters def storage_account_key Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey end + def usage + Azure::Storage::Mgmt::V2016_01_01::Models::Usage + end def storage_account_list_result Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult end @@ -117,44 +138,23 @@ def endpoints def custom_domain Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain end - def encryption_services - Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices - end def usage_list_result Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult end - def sku - Azure::Storage::Mgmt::V2016_01_01::Models::Sku - end - def usage_name - Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + def storage_account + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount end def sku_tier Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - def reason - Azure::Storage::Mgmt::V2016_01_01::Models::Reason - end - def kind - Azure::Storage::Mgmt::V2016_01_01::Models::Kind - end def access_tier Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier end - def usage - Azure::Storage::Mgmt::V2016_01_01::Models::Usage - end - def account_status - Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus - end - def key_permission - Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission - end - def usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def sku + Azure::Storage::Mgmt::V2016_01_01::Models::Sku end - def storage_account - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount + def encryption_services + Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices 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 1eb02f05eb..66574cda5d 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,27 +7,27 @@ 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 Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations + Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit - OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult - OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay - 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 SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription + SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult + OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult + SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult + OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation - SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end class SubscriptionsManagementClass - attr_reader :subscriptions, :tenants, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :tenants, :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) - @subscriptions = @client_0.subscriptions - @tenants = @client_0.tenants @operations = @client_0.operations + @tenants = @client_0.tenants + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -61,21 +61,6 @@ class ModelClasses def location Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location end - def spending_limit - Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit - end - def operation_list_result - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult - end - def operation_display - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay - end - def tenant_id_description - Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - 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 @@ -85,14 +70,29 @@ def subscription_list_result def subscription Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription end + def subscription_state + Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + end + def tenant_list_result + Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult + end + def operation_list_result + Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult + end + def spending_limit + Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit + end def location_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult end + def operation_display + Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay + end def operation Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation end - def subscription_state - Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + def tenant_id_description + Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb index 8d03b2206e..4ef178bba0 100644 --- a/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb @@ -25,6 +25,12 @@ module Mgmt VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineRunCommands module Models + StorageProfile = Azure::Compute::Mgmt::V2017_03_30::Models::StorageProfile + VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetStorageProfile + WinRMListener = Azure::Compute::Mgmt::V2017_03_30::Models::WinRMListener + VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateStorageProfile + WindowsConfiguration = Azure::Compute::Mgmt::V2017_03_30::Models::WindowsConfiguration + ApiEntityReference = Azure::Compute::Mgmt::V2017_03_30::Models::ApiEntityReference SshConfiguration = Azure::Compute::Mgmt::V2017_03_30::Models::SshConfiguration VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings VaultCertificate = Azure::Compute::Mgmt::V2017_03_30::Models::VaultCertificate @@ -188,12 +194,6 @@ module Models KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2017_03_30::Models::KeyVaultAndKeyReference OSDisk = Azure::Compute::Mgmt::V2017_03_30::Models::OSDisk VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetDataDisk - StorageProfile = Azure::Compute::Mgmt::V2017_03_30::Models::StorageProfile - VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetStorageProfile - WinRMListener = Azure::Compute::Mgmt::V2017_03_30::Models::WinRMListener - VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateStorageProfile - WindowsConfiguration = Azure::Compute::Mgmt::V2017_03_30::Models::WindowsConfiguration - ApiEntityReference = Azure::Compute::Mgmt::V2017_03_30::Models::ApiEntityReference end class ComputeManagementClass @@ -241,6 +241,24 @@ def method_missing(method, *args) end class ModelClasses + def storage_profile + Azure::Compute::Mgmt::V2017_03_30::Models::StorageProfile + end + def virtual_machine_scale_set_storage_profile + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetStorageProfile + end + def win_rmlistener + Azure::Compute::Mgmt::V2017_03_30::Models::WinRMListener + end + def virtual_machine_scale_set_update_storage_profile + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateStorageProfile + end + def windows_configuration + Azure::Compute::Mgmt::V2017_03_30::Models::WindowsConfiguration + end + def api_entity_reference + Azure::Compute::Mgmt::V2017_03_30::Models::ApiEntityReference + end def ssh_configuration Azure::Compute::Mgmt::V2017_03_30::Models::SshConfiguration end @@ -730,24 +748,6 @@ def osdisk def virtual_machine_scale_set_data_disk Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetDataDisk end - def storage_profile - Azure::Compute::Mgmt::V2017_03_30::Models::StorageProfile - end - def virtual_machine_scale_set_storage_profile - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetStorageProfile - end - def win_rmlistener - Azure::Compute::Mgmt::V2017_03_30::Models::WinRMListener - end - def virtual_machine_scale_set_update_storage_profile - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateStorageProfile - end - def windows_configuration - Azure::Compute::Mgmt::V2017_03_30::Models::WindowsConfiguration - end - def api_entity_reference - Azure::Compute::Mgmt::V2017_03_30::Models::ApiEntityReference - end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb index fddc2cd278..613e2903b9 100644 --- a/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/dns_profile_module.rb @@ -11,6 +11,12 @@ module Mgmt Zones = Azure::Dns::Mgmt::V2016_04_01::Zones module Models + AaaaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord + ARecord = Azure::Dns::Mgmt::V2016_04_01::Models::ARecord + MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord + PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord + SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord + CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult RecordSet = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult @@ -27,12 +33,6 @@ module Models Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource RecordSetUpdateParameters = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters RecordSetListResult = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult - AaaaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord - ARecord = Azure::Dns::Mgmt::V2016_04_01::Models::ARecord - MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord - PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord - SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord end class DnsManagementClass @@ -66,6 +66,24 @@ def method_missing(method, *args) end class ModelClasses + def aaaa_record + Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord + end + def arecord + Azure::Dns::Mgmt::V2016_04_01::Models::ARecord + end + def mx_record + Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord + end + def ptr_record + Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord + end + def srv_record + Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord + end + def cname_record + Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord + end def zone_delete_result Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult end @@ -114,24 +132,6 @@ def record_set_update_parameters def record_set_list_result Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult end - def aaaa_record - Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord - end - def arecord - Azure::Dns::Mgmt::V2016_04_01::Models::ARecord - end - def mx_record - Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord - end - def ptr_record - Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord - end - def srv_record - Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - end - def cname_record - Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord - end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb index 78a0f22826..d5497fb725 100644 --- a/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/keyvault_profile_module.rb @@ -53,13 +53,13 @@ module Models DeletedKeyListResult = Azure::KeyVault::V2016_10_01::Models::DeletedKeyListResult CertificateIssuerItem = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerItem SecretListResult = Azure::KeyVault::V2016_10_01::Models::SecretListResult + Error = Azure::KeyVault::V2016_10_01::Models::Error X509CertificateProperties = Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties DeletedSecretListResult = Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult IssuerParameters = Azure::KeyVault::V2016_10_01::Models::IssuerParameters CertificateListResult = Azure::KeyVault::V2016_10_01::Models::CertificateListResult SasDefinitionBundle = Azure::KeyVault::V2016_10_01::Models::SasDefinitionBundle DeletedCertificateListResult = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateListResult - Error = Azure::KeyVault::V2016_10_01::Models::Error AdministratorDetails = Azure::KeyVault::V2016_10_01::Models::AdministratorDetails CertificateIssuerListResult = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerListResult Contact = Azure::KeyVault::V2016_10_01::Models::Contact @@ -259,6 +259,9 @@ def certificate_issuer_item def secret_list_result Azure::KeyVault::V2016_10_01::Models::SecretListResult end + def error + Azure::KeyVault::V2016_10_01::Models::Error + end def x509_certificate_properties Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties end @@ -277,9 +280,6 @@ def sas_definition_bundle def deleted_certificate_list_result Azure::KeyVault::V2016_10_01::Models::DeletedCertificateListResult end - def error - Azure::KeyVault::V2016_10_01::Models::Error - end def administrator_details Azure::KeyVault::V2016_10_01::Models::AdministratorDetails end @@ -400,12 +400,12 @@ module Models OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault - OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult - VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult - VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties + 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 VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties @@ -414,17 +414,17 @@ module Models 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 - VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters + VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult + OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName + Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault + SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions - ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult + StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions - SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode - StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end @@ -474,24 +474,24 @@ def operation def deleted_vault Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault end - def operation_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult - end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult end - def vault_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult + def vault_properties + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties end def vault_access_policy_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties end - def vault_properties - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties + def resource_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult end def vault_create_or_update_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters end + def vault_check_name_availability_parameters + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters + end def vault_access_policy_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters end @@ -516,39 +516,39 @@ def access_policy_entry def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties end - def vault - Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault + def vault_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult end - def vault_check_name_availability_parameters - Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters + def operation_list_result + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName end + def vault + Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault + 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 resource_list_result - Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult + def storage_permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions end def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end - def secret_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind end def create_mode Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode end - def storage_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions - end def reason Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason end - def access_policy_update_kind - Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind - end def sku Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end diff --git a/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb index 970e0b4e60..d077dde3ed 100644 --- a/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/locks_profile_module.rb @@ -11,13 +11,13 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks module Models + OperationListResult = Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult + ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject + LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner Operation = Azure::Locks::Mgmt::V2016_09_01::Models::Operation ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult - OperationListResult = Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult - ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject - LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel end class LocksManagementClass @@ -51,6 +51,15 @@ def method_missing(method, *args) end class ModelClasses + def operation_list_result + Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult + end + def management_lock_object + Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject + end + def lock_level + Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel + end def operation_display Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay end @@ -63,15 +72,6 @@ def operation def management_lock_list_result Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult end - def operation_list_result - Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult - end - def management_lock_object - Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject - end - def lock_level - Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel - end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb index 70cc76d5c6..2a8310c311 100644 --- a/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/network_profile_module.rb @@ -7,6 +7,12 @@ module Azure::Profiles::V2018_03_01 module Network module Mgmt + RouteFilterRules = Azure::Network::Mgmt::V2017_10_01::RouteFilterRules + RouteTables = Azure::Network::Mgmt::V2017_10_01::RouteTables + Routes = Azure::Network::Mgmt::V2017_10_01::Routes + BgpServiceCommunities = Azure::Network::Mgmt::V2017_10_01::BgpServiceCommunities + Usages = Azure::Network::Mgmt::V2017_10_01::Usages + VirtualNetworks = Azure::Network::Mgmt::V2017_10_01::VirtualNetworks Subnets = Azure::Network::Mgmt::V2017_10_01::Subnets VirtualNetworkPeerings = Azure::Network::Mgmt::V2017_10_01::VirtualNetworkPeerings VirtualNetworkGateways = Azure::Network::Mgmt::V2017_10_01::VirtualNetworkGateways @@ -38,12 +44,6 @@ module Mgmt PacketCaptures = Azure::Network::Mgmt::V2017_10_01::PacketCaptures ConnectionMonitors = Azure::Network::Mgmt::V2017_10_01::ConnectionMonitors RouteFilters = Azure::Network::Mgmt::V2017_10_01::RouteFilters - RouteFilterRules = Azure::Network::Mgmt::V2017_10_01::RouteFilterRules - RouteTables = Azure::Network::Mgmt::V2017_10_01::RouteTables - Routes = Azure::Network::Mgmt::V2017_10_01::Routes - BgpServiceCommunities = Azure::Network::Mgmt::V2017_10_01::BgpServiceCommunities - Usages = Azure::Network::Mgmt::V2017_10_01::Usages - VirtualNetworks = Azure::Network::Mgmt::V2017_10_01::VirtualNetworks module Models IpTag = Azure::Network::Mgmt::V2017_03_30::Models::IpTag @@ -53,9 +53,9 @@ module Models InterfaceEndpoint = Azure::Network::Mgmt::V2017_03_30::Models::InterfaceEndpoint NetworkInterfaceTapConfiguration = Azure::Network::Mgmt::V2017_03_30::Models::NetworkInterfaceTapConfiguration VirtualNetworkTap = Azure::Network::Mgmt::V2017_03_30::Models::VirtualNetworkTap + ServiceEndpointPolicy = Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicy ServiceEndpointPolicyDefinition = Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicyDefinition IPConfigurationProfile = Azure::Network::Mgmt::V2017_03_30::Models::IPConfigurationProfile - ServiceEndpointPolicy = Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicy ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendAddress PublicIPAddressSku = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressSku PublicIPAddressListResult = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressListResult @@ -137,19 +137,19 @@ module Models TopologyParameters = Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult DnsNameAvailabilityResult = Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult - Dimension = Azure::Network::Mgmt::V2017_10_01::Models::Dimension EndpointServicesListResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult + MetricSpecification = Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification + Dimension = Azure::Network::Mgmt::V2017_10_01::Models::Dimension AuthorizationListResult = Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationListResult - Topology = Azure::Network::Mgmt::V2017_10_01::Models::Topology AddressSpace = Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace VerificationIPFlowParameters = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult - MetricSpecification = Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification + Topology = Azure::Network::Mgmt::V2017_10_01::Models::Topology Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2017_10_01::Models::Ipv6ExpressRouteCircuitPeeringConfig - VerificationIPFlowResult = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult - ExpressRouteCircuitSku = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSku NextHopParameters = Azure::Network::Mgmt::V2017_10_01::Models::NextHopParameters + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSku + NextHopResult = Azure::Network::Mgmt::V2017_10_01::Models::NextHopResult RouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteListResult + SecurityGroupViewParameters = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult NetworkInterfaceAssociation = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableListResult @@ -240,85 +240,85 @@ module Models ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHttpSettings Availability = Azure::Network::Mgmt::V2017_10_01::Models::Availability ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate - SecurityGroupViewParameters = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration - ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule + ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort ApplicationGatewayProbe = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe - ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult + VerificationIPFlowResult = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap - ApplicationGateway = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway - NextHopResult = Azure::Network::Mgmt::V2017_10_01::Models::NextHopResult - ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions - ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy + ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet - ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization - RouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule + ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions + ApplicationGateway = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway EndpointServiceResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult - RouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter - ExpressRouteCircuit = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit + ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization + ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering - LoadBalancingRule = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule - Probe = Azure::Network::Mgmt::V2017_10_01::Models::Probe + RouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter + RouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule ExpressRouteServiceProvider = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider - OutboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule - LoadBalancer = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer + LoadBalancingRule = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule + ExpressRouteCircuit = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit InboundNatPool = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool - PatchRouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule - PatchRouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter + OutboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule + Probe = Azure::Network::Mgmt::V2017_10_01::Models::Probe NetworkWatcher = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher - VirtualNetworkPeering = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering - VirtualNetwork = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork + PatchRouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule + LoadBalancer = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer BgpServiceCommunity = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity - VpnClientRootCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate - VpnClientRevokedCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate + VirtualNetworkPeering = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering + PatchRouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration - LocalNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway - VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection + VpnClientRootCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate + VirtualNetwork = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork VirtualNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol - ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity + LocalNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway + VpnClientRevokedCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity - IPVersion = Azure::Network::Mgmt::V2017_10_01::Models::IPVersion - ApplicationGatewayTier = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName - ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyName + IPVersion = Azure::Network::Mgmt::V2017_10_01::Models::IPVersion + ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol - ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyType - ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectType + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName + ApplicationGatewayTier = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCipherSuite - ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRuleType - AuthorizationUseStatus = Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationUseStatus + ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyType + ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyName ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayOperationalState - ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallMode - ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringType + ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRuleType + ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectType ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState - Access = Azure::Network::Mgmt::V2017_10_01::Models::Access - ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSkuFamily + ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallMode + AuthorizationUseStatus = Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationUseStatus ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringState - ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSkuTier - LoadDistribution = Azure::Network::Mgmt::V2017_10_01::Models::LoadDistribution + Access = Azure::Network::Mgmt::V2017_10_01::Models::Access + ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringType ServiceProviderProvisioningState = Azure::Network::Mgmt::V2017_10_01::Models::ServiceProviderProvisioningState - LoadBalancerSkuName = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerSkuName - EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveSecurityRuleProtocol + ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSkuTier + ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSkuFamily ProbeProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ProbeProtocol - NetworkOperationStatus = Azure::Network::Mgmt::V2017_10_01::Models::NetworkOperationStatus - ProvisioningState = Azure::Network::Mgmt::V2017_10_01::Models::ProvisioningState + LoadBalancerSkuName = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerSkuName + LoadDistribution = Azure::Network::Mgmt::V2017_10_01::Models::LoadDistribution EffectiveRouteSource = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteSource - EffectiveRouteState = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteState - NextHopType = Azure::Network::Mgmt::V2017_10_01::Models::NextHopType + NetworkOperationStatus = Azure::Network::Mgmt::V2017_10_01::Models::NetworkOperationStatus + EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveSecurityRuleProtocol AssociationType = Azure::Network::Mgmt::V2017_10_01::Models::AssociationType + EffectiveRouteState = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteState + ProvisioningState = Azure::Network::Mgmt::V2017_10_01::Models::ProvisioningState + PcProtocol = Azure::Network::Mgmt::V2017_10_01::Models::PcProtocol Direction = Azure::Network::Mgmt::V2017_10_01::Models::Direction Protocol = Azure::Network::Mgmt::V2017_10_01::Models::Protocol - PcProtocol = Azure::Network::Mgmt::V2017_10_01::Models::PcProtocol + Origin = Azure::Network::Mgmt::V2017_10_01::Models::Origin PcStatus = Azure::Network::Mgmt::V2017_10_01::Models::PcStatus PcError = Azure::Network::Mgmt::V2017_10_01::Models::PcError - Origin = Azure::Network::Mgmt::V2017_10_01::Models::Origin + NextHopType = Azure::Network::Mgmt::V2017_10_01::Models::NextHopType IssueType = Azure::Network::Mgmt::V2017_10_01::Models::IssueType ConnectionStatus = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStatus ConnectionState = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState @@ -344,7 +344,7 @@ module Models end class NetworkManagementClass - attr_reader :subnets, :virtual_network_peerings, :virtual_network_gateways, :network_interfaces, :public_ipaddresses, :local_network_gateways, :virtual_network_gateway_connections, :operations, :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_interface_ipconfigurations, :network_interface_load_balancers, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :route_filters, :route_filter_rules, :route_tables, :routes, :bgp_service_communities, :usages, :virtual_networks, :configurable, :base_url, :options, :model_classes + attr_reader :route_filter_rules, :route_tables, :routes, :bgp_service_communities, :usages, :virtual_networks, :subnets, :virtual_network_peerings, :virtual_network_gateways, :network_interfaces, :public_ipaddresses, :local_network_gateways, :virtual_network_gateway_connections, :operations, :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_interface_ipconfigurations, :network_interface_load_balancers, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :route_filters, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -360,6 +360,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) + @route_filter_rules = @client_1.route_filter_rules + @route_tables = @client_1.route_tables + @routes = @client_1.routes + @bgp_service_communities = @client_1.bgp_service_communities + @usages = @client_1.usages + @virtual_networks = @client_1.virtual_networks @subnets = @client_1.subnets @virtual_network_peerings = @client_1.virtual_network_peerings @virtual_network_gateways = @client_1.virtual_network_gateways @@ -391,12 +397,6 @@ def initialize(configurable, base_url=nil, options=nil) @packet_captures = @client_1.packet_captures @connection_monitors = @client_1.connection_monitors @route_filters = @client_1.route_filters - @route_filter_rules = @client_1.route_filter_rules - @route_tables = @client_1.route_tables - @routes = @client_1.routes - @bgp_service_communities = @client_1.bgp_service_communities - @usages = @client_1.usages - @virtual_networks = @client_1.virtual_networks @model_classes = ModelClasses.new end @@ -438,15 +438,15 @@ def network_interface_tap_configuration def virtual_network_tap Azure::Network::Mgmt::V2017_03_30::Models::VirtualNetworkTap end + def service_endpoint_policy + Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicy + end def service_endpoint_policy_definition Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicyDefinition end def ipconfiguration_profile Azure::Network::Mgmt::V2017_03_30::Models::IPConfigurationProfile end - def service_endpoint_policy - Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicy - end def application_gateway_backend_address Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendAddress end @@ -690,45 +690,45 @@ def application_security_group_list_result def dns_name_availability_result Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult end - def dimension - Azure::Network::Mgmt::V2017_10_01::Models::Dimension - end def endpoint_services_list_result Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult end + def metric_specification + Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification + end + def dimension + Azure::Network::Mgmt::V2017_10_01::Models::Dimension + end def authorization_list_result Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationListResult end - def topology - Azure::Network::Mgmt::V2017_10_01::Models::Topology - end def address_space Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace end def verification_ipflow_parameters Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult - end - def metric_specification - Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification + def topology + Azure::Network::Mgmt::V2017_10_01::Models::Topology end def ipv6_express_route_circuit_peering_config Azure::Network::Mgmt::V2017_10_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end - def verification_ipflow_result - Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult + def next_hop_parameters + Azure::Network::Mgmt::V2017_10_01::Models::NextHopParameters end def express_route_circuit_sku Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSku end - def next_hop_parameters - Azure::Network::Mgmt::V2017_10_01::Models::NextHopParameters + def next_hop_result + Azure::Network::Mgmt::V2017_10_01::Models::NextHopResult end def route_list_result Azure::Network::Mgmt::V2017_10_01::Models::RouteListResult end + def security_group_view_parameters + Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters + end def express_route_circuits_arp_table_list_result Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult end @@ -999,8 +999,8 @@ def availability def application_gateway_authentication_certificate Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate end - def security_group_view_parameters - Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration end def application_gateway_frontend_ipconfiguration Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration @@ -1008,23 +1008,23 @@ def application_gateway_frontend_ipconfiguration def application_gateway_ssl_certificate Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration + def application_gateway_http_listener + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener end def application_gateway_frontend_port Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort end - def application_gateway_http_listener - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener + def application_gateway_probe + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe end def application_gateway_path_rule Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayPathRule end - def application_gateway_probe - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbe + def bgp_service_community_list_result + Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult end - def application_gateway_request_routing_rule - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule + def verification_ipflow_result + Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult end def application_gateway_redirect_configuration Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration @@ -1032,191 +1032,191 @@ def application_gateway_redirect_configuration def application_gateway_url_path_map Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap end - def application_gateway - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway + def application_gateway_request_routing_rule + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule end - def next_hop_result - Azure::Network::Mgmt::V2017_10_01::Models::NextHopResult + def application_gateway_firewall_rule_set + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet end def application_gateway_available_ssl_options Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions end - def application_gateway_ssl_predefined_policy - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy + def application_gateway + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway end - def application_gateway_firewall_rule_set - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet + def endpoint_service_result + Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult end def express_route_circuit_authorization Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization end - def route_filter_rule - Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule + def application_gateway_ssl_predefined_policy + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy end - def endpoint_service_result - Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult + def express_route_circuit_peering + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering end def route_filter Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter end - def express_route_circuit - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit + def route_filter_rule + Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule end - def express_route_circuit_peering - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering + def express_route_service_provider + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider end def load_balancing_rule Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule end - def probe - Azure::Network::Mgmt::V2017_10_01::Models::Probe + def express_route_circuit + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit end - def express_route_service_provider - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider + def inbound_nat_pool + Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool end def outbound_nat_rule Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule end - def load_balancer - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer + def probe + Azure::Network::Mgmt::V2017_10_01::Models::Probe end - def inbound_nat_pool - Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool + def network_watcher + Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher end def patch_route_filter_rule Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule end - def patch_route_filter - Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter + def load_balancer + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer end - def network_watcher - Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher + def bgp_service_community + Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity end def virtual_network_peering Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering end - def virtual_network - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork + def patch_route_filter + Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter end - def bgp_service_community - Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity + def virtual_network_gateway_ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration end def vpn_client_root_certificate Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate end - def vpn_client_revoked_certificate - Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate + def virtual_network + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork end - def virtual_network_gateway_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration + def virtual_network_gateway + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway end def local_network_gateway Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway end - def virtual_network_gateway_connection - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection + def vpn_client_revoked_certificate + Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate end - def virtual_network_gateway - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway + def virtual_network_gateway_connection_list_entity + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity end def application_gateway_protocol Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol end - def application_gateway_cookie_based_affinity - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity + def virtual_network_gateway_connection + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection end - def virtual_network_gateway_connection_list_entity - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity + def application_gateway_backend_health_server_health + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth end def ipversion Azure::Network::Mgmt::V2017_10_01::Models::IPVersion end - def application_gateway_tier - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier + def application_gateway_cookie_based_affinity + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity end - def application_gateway_backend_health_server_health - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth + def application_gateway_ssl_protocol + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol end def application_gateway_sku_name Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName end - def application_gateway_ssl_policy_name - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyName + def application_gateway_tier + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier end - def application_gateway_ssl_protocol - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol + def application_gateway_ssl_cipher_suite + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCipherSuite end def application_gateway_ssl_policy_type Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyType end - def application_gateway_redirect_type - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectType + def application_gateway_ssl_policy_name + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyName end - def application_gateway_ssl_cipher_suite - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCipherSuite + def application_gateway_operational_state + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayOperationalState end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRuleType end - def authorization_use_status - Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationUseStatus + def application_gateway_redirect_type + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectType end - def application_gateway_operational_state - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayOperationalState + def express_route_circuit_peering_advertised_public_prefix_state + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState end def application_gateway_firewall_mode Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallMode end - def express_route_circuit_peering_type - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringType + def authorization_use_status + Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationUseStatus end - def express_route_circuit_peering_advertised_public_prefix_state - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + def express_route_circuit_peering_state + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringState end def access Azure::Network::Mgmt::V2017_10_01::Models::Access end - def express_route_circuit_sku_family - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSkuFamily + def express_route_circuit_peering_type + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringType end - def express_route_circuit_peering_state - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringState + def service_provider_provisioning_state + Azure::Network::Mgmt::V2017_10_01::Models::ServiceProviderProvisioningState end def express_route_circuit_sku_tier Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSkuTier end - def load_distribution - Azure::Network::Mgmt::V2017_10_01::Models::LoadDistribution + def express_route_circuit_sku_family + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSkuFamily end - def service_provider_provisioning_state - Azure::Network::Mgmt::V2017_10_01::Models::ServiceProviderProvisioningState + def probe_protocol + Azure::Network::Mgmt::V2017_10_01::Models::ProbeProtocol end def load_balancer_sku_name Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerSkuName end - def effective_security_rule_protocol - Azure::Network::Mgmt::V2017_10_01::Models::EffectiveSecurityRuleProtocol + def load_distribution + Azure::Network::Mgmt::V2017_10_01::Models::LoadDistribution end - def probe_protocol - Azure::Network::Mgmt::V2017_10_01::Models::ProbeProtocol + def effective_route_source + Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteSource end def network_operation_status Azure::Network::Mgmt::V2017_10_01::Models::NetworkOperationStatus end - def provisioning_state - Azure::Network::Mgmt::V2017_10_01::Models::ProvisioningState + def effective_security_rule_protocol + Azure::Network::Mgmt::V2017_10_01::Models::EffectiveSecurityRuleProtocol end - def effective_route_source - Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteSource + def association_type + Azure::Network::Mgmt::V2017_10_01::Models::AssociationType end def effective_route_state Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteState end - def next_hop_type - Azure::Network::Mgmt::V2017_10_01::Models::NextHopType + def provisioning_state + Azure::Network::Mgmt::V2017_10_01::Models::ProvisioningState end - def association_type - Azure::Network::Mgmt::V2017_10_01::Models::AssociationType + def pc_protocol + Azure::Network::Mgmt::V2017_10_01::Models::PcProtocol end def direction Azure::Network::Mgmt::V2017_10_01::Models::Direction @@ -1224,8 +1224,8 @@ def direction def protocol Azure::Network::Mgmt::V2017_10_01::Models::Protocol end - def pc_protocol - Azure::Network::Mgmt::V2017_10_01::Models::PcProtocol + def origin + Azure::Network::Mgmt::V2017_10_01::Models::Origin end def pc_status Azure::Network::Mgmt::V2017_10_01::Models::PcStatus @@ -1233,8 +1233,8 @@ def pc_status def pc_error Azure::Network::Mgmt::V2017_10_01::Models::PcError end - def origin - Azure::Network::Mgmt::V2017_10_01::Models::Origin + def next_hop_type + Azure::Network::Mgmt::V2017_10_01::Models::NextHopType end def issue_type Azure::Network::Mgmt::V2017_10_01::Models::IssueType diff --git a/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb index 44bb0aa0bf..116d9145e3 100644 --- a/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb @@ -11,12 +11,12 @@ module Mgmt PolicyAssignments = Azure::Policy::Mgmt::V2016_12_01::PolicyAssignments module Models - PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition - PolicyAssignmentListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult PolicyDefinitionListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult PolicyType = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyType PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode PolicyAssignment = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment + PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition + PolicyAssignmentListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult end class PolicyManagementClass @@ -50,12 +50,6 @@ def method_missing(method, *args) end class ModelClasses - def policy_definition - Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition - end - def policy_assignment_list_result - Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult - end def policy_definition_list_result Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult end @@ -68,6 +62,12 @@ def policy_mode def policy_assignment Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment end + def policy_definition + Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition + end + def policy_assignment_list_result + Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult + end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb index 7bbf2ed90a..9726a2bef6 100644 --- a/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/resources_profile_module.rb @@ -7,12 +7,12 @@ module Azure::Profiles::V2018_03_01 module Resources module Mgmt + DeploymentOperations = Azure::Resources::Mgmt::V2018_02_01::DeploymentOperations Resources = Azure::Resources::Mgmt::V2018_02_01::Resources Deployments = Azure::Resources::Mgmt::V2018_02_01::Deployments Providers = Azure::Resources::Mgmt::V2018_02_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2018_02_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2018_02_01::Tags - DeploymentOperations = Azure::Resources::Mgmt::V2018_02_01::DeploymentOperations module Models Dependency = Azure::Resources::Mgmt::V2018_02_01::Models::Dependency @@ -53,10 +53,10 @@ module Models OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentExtended ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceProviderOperationDisplayProperties DebugSetting = Azure::Resources::Mgmt::V2018_02_01::Models::DebugSetting + Resource = Azure::Resources::Mgmt::V2018_02_01::Models::Resource DeploymentListResult = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentListResult ProviderResourceType = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderResourceType ResourceGroupExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupExportResult - Resource = Azure::Resources::Mgmt::V2018_02_01::Models::Resource GenericResource = Azure::Resources::Mgmt::V2018_02_01::Models::GenericResource DeploymentMode = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentMode OnErrorDeploymentType = Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentType @@ -68,7 +68,7 @@ module Models end class ResourcesManagementClass - attr_reader :resources, :deployments, :providers, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :deployment_operations, :resources, :deployments, :providers, :resource_groups, :tags, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -78,12 +78,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @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 @model_classes = ModelClasses.new end @@ -216,6 +216,9 @@ def resource_provider_operation_display_properties def debug_setting Azure::Resources::Mgmt::V2018_02_01::Models::DebugSetting end + def resource + Azure::Resources::Mgmt::V2018_02_01::Models::Resource + end def deployment_list_result Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentListResult end @@ -225,9 +228,6 @@ def provider_resource_type def resource_group_export_result Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupExportResult end - def resource - Azure::Resources::Mgmt::V2018_02_01::Models::Resource - end def generic_resource Azure::Resources::Mgmt::V2018_02_01::Models::GenericResource end diff --git a/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb index e35dee7022..7427d61548 100644 --- a/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/storage_profile_module.rb @@ -7,18 +7,25 @@ module Azure::Profiles::V2018_03_01 module Storage module Mgmt - StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations + StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts module Models + AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters Resource = Azure::Storage::Mgmt::V2016_01_01::Models::Resource ProvisioningState = Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters StorageAccountKey = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey + Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult @@ -26,23 +33,16 @@ module Models StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain - EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices UsageListResult = Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult - Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku - UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason - Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier - Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage - 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 - StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount + Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku + EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices end class StorageManagementClass - attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes + attr_reader :usage_operations, :storage_accounts, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -52,8 +52,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @storage_accounts = @client_0.storage_accounts @usage_operations = @client_0.usage_operations + @storage_accounts = @client_0.storage_accounts @model_classes = ModelClasses.new end @@ -72,6 +72,21 @@ def method_missing(method, *args) end class ModelClasses + def account_status + Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + end + def usage_name + Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + end + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + end + def key_permission + Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + end + def kind + Azure::Storage::Mgmt::V2016_01_01::Models::Kind + end def storage_account_create_parameters Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters end @@ -87,6 +102,9 @@ def provisioning_state def check_name_availability_result Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult end + def reason + Azure::Storage::Mgmt::V2016_01_01::Models::Reason + end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end @@ -96,6 +114,9 @@ def storage_account_check_name_availability_parameters def storage_account_key Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey end + def usage + Azure::Storage::Mgmt::V2016_01_01::Models::Usage + end def storage_account_list_result Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult end @@ -117,44 +138,23 @@ def endpoints def custom_domain Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain end - def encryption_services - Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices - end def usage_list_result Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult end - def sku - Azure::Storage::Mgmt::V2016_01_01::Models::Sku - end - def usage_name - Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + def storage_account + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount end def sku_tier Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - def reason - Azure::Storage::Mgmt::V2016_01_01::Models::Reason - end - def kind - Azure::Storage::Mgmt::V2016_01_01::Models::Kind - end def access_tier Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier end - def usage - Azure::Storage::Mgmt::V2016_01_01::Models::Usage - end - def account_status - Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus - end - def key_permission - Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission - end - def usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def sku + Azure::Storage::Mgmt::V2016_01_01::Models::Sku end - def storage_account - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount + def encryption_services + Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/subscriptions_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/subscriptions_profile_module.rb index fc46548b8a..4d5de6f4e3 100644 --- a/azure_sdk/lib/v2018_03_01/modules/subscriptions_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/subscriptions_profile_module.rb @@ -7,27 +7,27 @@ module Azure::Profiles::V2018_03_01 module Subscriptions module Mgmt - Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions - Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations + Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions module Models Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location - SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit - OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult - OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay - 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 SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription + SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + TenantListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult + OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult + SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult + OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation - SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end class SubscriptionsManagementClass - attr_reader :subscriptions, :tenants, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :tenants, :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) - @subscriptions = @client_0.subscriptions - @tenants = @client_0.tenants @operations = @client_0.operations + @tenants = @client_0.tenants + @subscriptions = @client_0.subscriptions @model_classes = ModelClasses.new end @@ -61,21 +61,6 @@ class ModelClasses def location Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location end - def spending_limit - Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit - end - def operation_list_result - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult - end - def operation_display - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay - end - def tenant_id_description - Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - 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 @@ -85,14 +70,29 @@ def subscription_list_result def subscription Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription end + def subscription_state + Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + end + def tenant_list_result + Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantListResult + end + def operation_list_result + Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult + end + def spending_limit + Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit + end def location_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult end + def operation_display + Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay + end def operation Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation end - def subscription_state - Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + def tenant_id_description + Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/web_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/web_profile_module.rb index 44e6588bfc..d4e3cee30c 100644 --- a/azure_sdk/lib/v2018_03_01/modules/web_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/web_profile_module.rb @@ -7,18 +7,19 @@ module Azure::Profiles::V2018_03_01 module Web module Mgmt - Provider = Azure::Web::Mgmt::V2016_03_01::Provider - Certificates = Azure::Web::Mgmt::V2016_03_01::Certificates DeletedWebApps = Azure::Web::Mgmt::V2016_03_01::DeletedWebApps Diagnostics = Azure::Web::Mgmt::V2016_03_01::Diagnostics Recommendations = Azure::Web::Mgmt::V2016_03_01::Recommendations ResourceHealthMetadataOperations = Azure::Web::Mgmt::V2016_03_01::ResourceHealthMetadataOperations BillingMeters = Azure::Web::Mgmt::V2016_03_01::BillingMeters + Provider = Azure::Web::Mgmt::V2016_03_01::Provider + Certificates = Azure::Web::Mgmt::V2016_03_01::Certificates WebApps = Azure::Web::Mgmt::V2016_08_01::WebApps - AppServicePlans = Azure::Web::Mgmt::V2016_09_01::AppServicePlans AppServiceEnvironments = Azure::Web::Mgmt::V2016_09_01::AppServiceEnvironments + AppServicePlans = Azure::Web::Mgmt::V2016_09_01::AppServicePlans module Models + GeoRegionCollection = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection DeletedSite = Azure::Web::Mgmt::V2016_03_01::Models::DeletedSite DeletedWebAppCollection = Azure::Web::Mgmt::V2016_03_01::Models::DeletedWebAppCollection ValidateResponseError = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponseError @@ -42,25 +43,26 @@ module Models DiagnosticData = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticData BillingMeterCollection = Azure::Web::Mgmt::V2016_03_01::Models::BillingMeterCollection DetectorResponseCollection = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection - SkuInfos = Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos ResourceHealthMetadataCollection = Azure::Web::Mgmt::V2016_03_01::Models::ResourceHealthMetadataCollection + NameIdentifier = Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier DiagnosticAnalysisCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysisCollection - DiagnosticCategoryCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection + SkuInfos = Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos RecommendationCollection = Azure::Web::Mgmt::V2016_03_01::Models::RecommendationCollection - DiagnosticDetectorCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection + DiagnosticCategoryCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection ApplicationStackCollection = Azure::Web::Mgmt::V2016_03_01::Models::ApplicationStackCollection - CertificatePatchResource = Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource + DiagnosticDetectorCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection StackMinorVersion = Azure::Web::Mgmt::V2016_03_01::Models::StackMinorVersion - DetectorDefinition = Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition + CertificatePatchResource = Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource AnalysisDefinition = Azure::Web::Mgmt::V2016_03_01::Models::AnalysisDefinition - DetectorResponse = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponse + DetectorDefinition = Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition DiagnosticAnalysis = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis - DiagnosticCategory = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategory + DetectorResponse = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponse DiagnosticDetectorResponse = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse - Recommendation = Azure::Web::Mgmt::V2016_03_01::Models::Recommendation + DiagnosticCategory = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategory RecommendationRule = Azure::Web::Mgmt::V2016_03_01::Models::RecommendationRule - ResourceHealthMetadata = Azure::Web::Mgmt::V2016_03_01::Models::ResourceHealthMetadata BillingMeter = Azure::Web::Mgmt::V2016_03_01::Models::BillingMeter + ResourceHealthMetadata = Azure::Web::Mgmt::V2016_03_01::Models::ResourceHealthMetadata + Recommendation = Azure::Web::Mgmt::V2016_03_01::Models::Recommendation GeoRegion = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegion PremierAddOnOffer = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOffer SourceControl = Azure::Web::Mgmt::V2016_03_01::Models::SourceControl @@ -98,13 +100,9 @@ module Models StackMajorVersion = Azure::Web::Mgmt::V2016_03_01::Models::StackMajorVersion DeploymentLocations = Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations Dimension = Azure::Web::Mgmt::V2016_03_01::Models::Dimension - NameIdentifier = Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier MetricSpecification = Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification GlobalCsmSkuDescription = Azure::Web::Mgmt::V2016_03_01::Models::GlobalCsmSkuDescription - GeoRegionCollection = Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection - HostNameType = Azure::Web::Mgmt::V2016_08_01::Models::HostNameType - TriggeredWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus - PublicCertificateLocation = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + MySqlMigrationType = Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType Deployment = Azure::Web::Mgmt::V2016_08_01::Models::Deployment Snapshot = Azure::Web::Mgmt::V2016_08_01::Models::Snapshot AzureTableStorageApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::AzureTableStorageApplicationLogsConfig @@ -192,21 +190,28 @@ module Models ContinuousWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus AzureResourceType = Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType 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 WebJobType = Azure::Web::Mgmt::V2016_08_01::Models::WebJobType FrequencyUnit = Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit + DnsVerificationTestResult = Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + PublicCertificateLocation = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation 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 - IdentifierCollection = Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection + TriggeredWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType MSDeployLogEntryType = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType MSDeployProvisioningState = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + IdentifierCollection = Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection UnauthenticatedClientAction = Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction - MySqlMigrationType = Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType + ResourceMetric = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric + ResourceMetricCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection + VirtualNetworkProfile = Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile + ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection + VirtualIPMapping = Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping + WebAppCollection = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection NetworkAccessControlEntry = Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry AppServicePlanCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection - WebAppCollection = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection ResourceMetricName = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName SlotSwapStatus = Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus OperationStatus = Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus @@ -298,16 +303,11 @@ module Models ResourceMetricProperty = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty ResourceMetricValue = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue SkuCapacity = Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity - ResourceMetric = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric - ResourceMetricCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection - VirtualNetworkProfile = Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile - ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection - VirtualIPMapping = Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping Identifier = Azure::Web::Mgmt::V2016_09_01::Models::Identifier end class WebManagementClass - attr_reader :provider, :certificates, :deleted_web_apps, :diagnostics, :recommendations, :resource_health_metadata_operations, :billing_meters, :web_apps, :app_service_plans, :app_service_environments, :configurable, :base_url, :options, :model_classes + attr_reader :deleted_web_apps, :diagnostics, :recommendations, :resource_health_metadata_operations, :billing_meters, :provider, :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 @@ -317,13 +317,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @provider = @client_0.provider - @certificates = @client_0.certificates @deleted_web_apps = @client_0.deleted_web_apps @diagnostics = @client_0.diagnostics @recommendations = @client_0.recommendations @resource_health_metadata_operations = @client_0.resource_health_metadata_operations @billing_meters = @client_0.billing_meters + @provider = @client_0.provider + @certificates = @client_0.certificates @client_1 = Azure::Web::Mgmt::V2016_08_01::WebSiteManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @@ -337,8 +337,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) - @app_service_plans = @client_2.app_service_plans @app_service_environments = @client_2.app_service_environments + @app_service_plans = @client_2.app_service_plans @model_classes = ModelClasses.new end @@ -361,6 +361,9 @@ def method_missing(method, *args) end class ModelClasses + def geo_region_collection + Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection + end def deleted_site Azure::Web::Mgmt::V2016_03_01::Models::DeletedSite end @@ -430,62 +433,65 @@ def billing_meter_collection def detector_response_collection Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection end - def sku_infos - Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos - end def resource_health_metadata_collection Azure::Web::Mgmt::V2016_03_01::Models::ResourceHealthMetadataCollection end + def name_identifier + Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier + end 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 + def sku_infos + Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos end def recommendation_collection Azure::Web::Mgmt::V2016_03_01::Models::RecommendationCollection end - def diagnostic_detector_collection - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection + def diagnostic_category_collection + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection end def application_stack_collection Azure::Web::Mgmt::V2016_03_01::Models::ApplicationStackCollection end - def certificate_patch_resource - Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource + def diagnostic_detector_collection + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection end def stack_minor_version Azure::Web::Mgmt::V2016_03_01::Models::StackMinorVersion end - def detector_definition - Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition + def certificate_patch_resource + Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource end def analysis_definition Azure::Web::Mgmt::V2016_03_01::Models::AnalysisDefinition end - def detector_response - Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponse + def detector_definition + Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition end def diagnostic_analysis Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysis end - def diagnostic_category - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategory + def detector_response + Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponse end def diagnostic_detector_response Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorResponse end - def recommendation - Azure::Web::Mgmt::V2016_03_01::Models::Recommendation + def diagnostic_category + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategory end def recommendation_rule Azure::Web::Mgmt::V2016_03_01::Models::RecommendationRule end + def billing_meter + Azure::Web::Mgmt::V2016_03_01::Models::BillingMeter + end def resource_health_metadata Azure::Web::Mgmt::V2016_03_01::Models::ResourceHealthMetadata end - def billing_meter - Azure::Web::Mgmt::V2016_03_01::Models::BillingMeter + def recommendation + Azure::Web::Mgmt::V2016_03_01::Models::Recommendation end def geo_region Azure::Web::Mgmt::V2016_03_01::Models::GeoRegion @@ -598,26 +604,14 @@ def deployment_locations def dimension Azure::Web::Mgmt::V2016_03_01::Models::Dimension end - def name_identifier - Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier - end def metric_specification Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification end def global_csm_sku_description Azure::Web::Mgmt::V2016_03_01::Models::GlobalCsmSkuDescription end - def geo_region_collection - Azure::Web::Mgmt::V2016_03_01::Models::GeoRegionCollection - end - def host_name_type - Azure::Web::Mgmt::V2016_08_01::Models::HostNameType - end - def triggered_web_job_status - Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus - end - def public_certificate_location - Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + def my_sql_migration_type + Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType end def deployment Azure::Web::Mgmt::V2016_08_01::Models::Deployment @@ -880,8 +874,8 @@ def azure_resource_type 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 web_job_type Azure::Web::Mgmt::V2016_08_01::Models::WebJobType @@ -889,6 +883,12 @@ def web_job_type def frequency_unit Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit end + def dns_verification_test_result + Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + end + def public_certificate_location + Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation + end def built_in_authentication_provider Azure::Web::Mgmt::V2016_08_01::Models::BuiltInAuthenticationProvider end @@ -898,8 +898,8 @@ def clone_ability_result def site_extension_type Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType end - def identifier_collection - Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection + def triggered_web_job_status + Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus end def custom_host_name_dns_record_type Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType @@ -910,11 +910,29 @@ def msdeploy_log_entry_type def msdeploy_provisioning_state Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState end + def identifier_collection + Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection + end def unauthenticated_client_action Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction end - def my_sql_migration_type - Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType + def resource_metric + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric + end + def resource_metric_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection + end + def virtual_network_profile + Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile + end + def resource_metric_definition_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection + end + def virtual_ipmapping + Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping + end + def web_app_collection + Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection end def network_access_control_entry Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry @@ -922,9 +940,6 @@ def network_access_control_entry def app_service_plan_collection Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection end - def web_app_collection - Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection - end def resource_metric_name Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName end @@ -1198,21 +1213,6 @@ def resource_metric_value def sku_capacity Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity end - def resource_metric - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric - end - def resource_metric_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection - end - def virtual_network_profile - Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile - end - def resource_metric_definition_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection - end - def virtual_ipmapping - Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping - end def identifier Azure::Web::Mgmt::V2016_09_01::Models::Identifier end From 941088c8356be8acf3f65006bd4803ef04822385 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 12 Feb 2019 08:45:14 +0000 Subject: [PATCH 2/2] Generated from 5b9bc7e1fba71025585ff4dcc89713eb78c7e3e6 Fixing typo, resolving conflicts --- .../generated/azure_mgmt_edgegateway.rb | 136 ++ .../azure_mgmt_edgegateway/alerts.rb | 319 +++ .../bandwidth_schedules.rb | 608 ++++++ .../data_box_edge_management_client.rb | 169 ++ .../azure_mgmt_edgegateway/devices.rb | 1875 +++++++++++++++++ .../models/account_type.rb | 16 + .../azure_mgmt_edgegateway/models/address.rb | 104 + .../azure_mgmt_edgegateway/models/alert.rb | 144 ++ .../models/alert_error_details.rb | 67 + .../models/alert_list.rb | 96 + .../models/alert_severity.rb | 17 + .../models/armbase_model.rb | 67 + .../models/asymmetric_encrypted_secret.rb | 66 + .../models/authentication.rb | 45 + .../models/authentication_type.rb | 16 + .../models/azure_container_data_format.rb | 17 + .../models/azure_container_info.rb | 68 + .../models/bandwidth_schedule.rb | 106 + .../models/bandwidth_schedules_list.rb | 96 + .../models/client_access_right.rb | 56 + .../models/client_permission_type.rb | 17 + .../models/contact_details.rb | 81 + .../models/data_box_edge_device.rb | 264 +++ .../data_box_edge_device_extended_info.rb | 100 + .../models/data_box_edge_device_list.rb | 97 + .../models/data_box_edge_device_patch.rb | 52 + .../models/data_box_edge_device_status.rb | 20 + .../models/data_policy.rb | 16 + .../models/day_of_week.rb | 21 + .../models/device_type.rb | 15 + .../models/download_phase.rb | 18 + .../models/encryption_algorithm.rb | 17 + .../models/file_event_trigger.rb | 107 + .../models/file_source_info.rb | 44 + .../models/install_reboot_behavior.rb | 17 + .../models/io_tdevice_info.rb | 66 + .../azure_mgmt_edgegateway/models/io_trole.rb | 136 ++ .../models/ipv4config.rb | 67 + .../models/ipv6config.rb | 67 + .../azure_mgmt_edgegateway/models/job.rb | 225 ++ .../models/job_error_details.rb | 75 + .../models/job_error_item.rb | 74 + .../models/job_status.rb | 21 + .../azure_mgmt_edgegateway/models/job_type.rb | 19 + .../models/metric_aggregation_type.rb | 21 + .../models/metric_category.rb | 16 + .../models/metric_dimension_v1.rb | 64 + .../models/metric_specification_v1.rb | 172 ++ .../models/metric_unit.rb | 22 + .../models/monitoring_status.rb | 16 + .../models/mount_point_map.rb | 78 + .../models/network_adapter.rb | 212 ++ .../models/network_adapter_dhcpstatus.rb | 16 + .../models/network_adapter_position.rb | 57 + .../models/network_adapter_rdmastatus.rb | 16 + .../models/network_adapter_status.rb | 16 + .../models/network_group.rb | 17 + .../models/network_settings.rb | 77 + .../models/operation.rb | 76 + .../models/operation_display.rb | 75 + .../models/operations_list.rb | 95 + .../azure_mgmt_edgegateway/models/order.rb | 163 ++ .../models/order_list.rb | 96 + .../models/order_status.rb | 70 + .../models/periodic_timer_event_trigger.rb | 107 + .../models/periodic_timer_source_info.rb | 68 + .../models/platform_type.rb | 16 + .../models/refresh_details.rb | 81 + .../azure_mgmt_edgegateway/models/role.rb | 67 + .../models/role_list.rb | 98 + .../models/role_sink_info.rb | 44 + .../models/role_status.rb | 16 + .../models/role_types.rb | 18 + .../models/security_settings.rb | 73 + .../models/service_specification.rb | 53 + .../azure_mgmt_edgegateway/models/share.rb | 191 ++ .../models/share_access_protocol.rb | 16 + .../models/share_access_right.rb | 56 + .../models/share_access_type.rb | 17 + .../models/share_list.rb | 96 + .../models/share_status.rb | 16 + .../azure_mgmt_edgegateway/models/sku.rb | 55 + .../azure_mgmt_edgegateway/models/sku_name.rb | 16 + .../azure_mgmt_edgegateway/models/sku_tier.rb | 15 + .../models/sslstatus.rb | 16 + .../models/status_types.rb | 28 + .../models/storage_account_credential.rb | 132 ++ .../models/storage_account_credential_list.rb | 96 + .../models/symmetric_key.rb | 46 + .../models/time_grain.rb | 22 + .../models/tracking_info.rb | 74 + .../azure_mgmt_edgegateway/models/trigger.rb | 67 + .../models/trigger_list.rb | 98 + .../models/update_download_progress.rb | 101 + .../models/update_install_progress.rb | 67 + .../models/update_operation.rb | 18 + .../models/update_operation_stage.rb | 31 + .../models/update_summary.rb | 263 +++ .../models/upload_certificate_request.rb | 55 + .../models/upload_certificate_response.rb | 105 + .../azure_mgmt_edgegateway/models/user.rb | 90 + .../models/user_access_right.rb | 56 + .../models/user_list.rb | 96 + .../module_definition.rb | 9 + .../azure_mgmt_edgegateway/operations.rb | 212 ++ .../operations_status.rb | 123 ++ .../azure_mgmt_edgegateway/orders.rb | 586 ++++++ .../generated/azure_mgmt_edgegateway/roles.rb | 602 ++++++ .../azure_mgmt_edgegateway/shares.rb | 725 +++++++ .../storage_account_credentials.rb | 603 ++++++ .../azure_mgmt_edgegateway/triggers.rb | 602 ++++++ .../generated/azure_mgmt_edgegateway/users.rb | 606 ++++++ .../azure_mgmt_edgegateway/version.rb | 8 + 113 files changed, 13755 insertions(+) create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/alerts.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/bandwidth_schedules.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/data_box_edge_management_client.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/devices.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/account_type.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/address.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_error_details.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_severity.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/armbase_model.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/asymmetric_encrypted_secret.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/authentication.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/authentication_type.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_data_format.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_info.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedule.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedules_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/client_access_right.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/client_permission_type.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/contact_details.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_extended_info.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_patch.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_status.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_policy.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/day_of_week.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/device_type.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/download_phase.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/encryption_algorithm.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/file_event_trigger.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/file_source_info.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/install_reboot_behavior.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/io_tdevice_info.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/io_trole.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/ipv4config.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/ipv6config.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_details.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_item.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_status.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_type.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_aggregation_type.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_category.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_dimension_v1.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_specification_v1.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_unit.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/monitoring_status.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/mount_point_map.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_dhcpstatus.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_position.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_rdmastatus.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_status.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_group.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_settings.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operation.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operation_display.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operations_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order_status.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_event_trigger.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_source_info.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/platform_type.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/refresh_details.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_sink_info.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_status.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_types.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/security_settings.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/service_specification.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_protocol.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_right.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_type.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_status.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku_name.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku_tier.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sslstatus.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/status_types.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/symmetric_key.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/time_grain.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/tracking_info.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/trigger.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/trigger_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_download_progress.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_install_progress.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation_stage.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_summary.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_request.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_response.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user_access_right.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user_list.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/module_definition.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/operations.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/operations_status.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/orders.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/roles.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/shares.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/storage_account_credentials.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/triggers.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/users.rb create mode 100644 management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/version.rb diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway.rb new file mode 100644 index 0000000000..cd5f0583e1 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway.rb @@ -0,0 +1,136 @@ +# encoding: 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 '2018-07-01/generated/azure_mgmt_edgegateway/module_definition' +require 'ms_rest_azure' + +module Azure::Compute::Mgmt::V2018_07_01 + autoload :Operations, '2018-07-01/generated/azure_mgmt_edgegateway/operations.rb' + autoload :Devices, '2018-07-01/generated/azure_mgmt_edgegateway/devices.rb' + autoload :Alerts, '2018-07-01/generated/azure_mgmt_edgegateway/alerts.rb' + autoload :BandwidthSchedules, '2018-07-01/generated/azure_mgmt_edgegateway/bandwidth_schedules.rb' + autoload :OperationsStatus, '2018-07-01/generated/azure_mgmt_edgegateway/operations_status.rb' + autoload :Orders, '2018-07-01/generated/azure_mgmt_edgegateway/orders.rb' + autoload :Roles, '2018-07-01/generated/azure_mgmt_edgegateway/roles.rb' + autoload :Shares, '2018-07-01/generated/azure_mgmt_edgegateway/shares.rb' + autoload :StorageAccountCredentials, '2018-07-01/generated/azure_mgmt_edgegateway/storage_account_credentials.rb' + autoload :Triggers, '2018-07-01/generated/azure_mgmt_edgegateway/triggers.rb' + autoload :Users, '2018-07-01/generated/azure_mgmt_edgegateway/users.rb' + autoload :DataBoxEdgeManagementClient, '2018-07-01/generated/azure_mgmt_edgegateway/data_box_edge_management_client.rb' + + module Models + autoload :Job, '2018-07-01/generated/azure_mgmt_edgegateway/models/job.rb' + autoload :Address, '2018-07-01/generated/azure_mgmt_edgegateway/models/address.rb' + autoload :MetricDimensionV1, '2018-07-01/generated/azure_mgmt_edgegateway/models/metric_dimension_v1.rb' + autoload :StorageAccountCredentialList, '2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential_list.rb' + autoload :Ipv4Config, '2018-07-01/generated/azure_mgmt_edgegateway/models/ipv4config.rb' + autoload :ARMBaseModel, '2018-07-01/generated/azure_mgmt_edgegateway/models/armbase_model.rb' + autoload :Ipv6Config, '2018-07-01/generated/azure_mgmt_edgegateway/models/ipv6config.rb' + autoload :SymmetricKey, '2018-07-01/generated/azure_mgmt_edgegateway/models/symmetric_key.rb' + autoload :JobErrorItem, '2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_item.rb' + autoload :AzureContainerInfo, '2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_info.rb' + autoload :JobErrorDetails, '2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_details.rb' + autoload :BandwidthSchedulesList, '2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedules_list.rb' + autoload :UpdateDownloadProgress, '2018-07-01/generated/azure_mgmt_edgegateway/models/update_download_progress.rb' + autoload :UpdateInstallProgress, '2018-07-01/generated/azure_mgmt_edgegateway/models/update_install_progress.rb' + autoload :ContactDetails, '2018-07-01/generated/azure_mgmt_edgegateway/models/contact_details.rb' + autoload :AlertErrorDetails, '2018-07-01/generated/azure_mgmt_edgegateway/models/alert_error_details.rb' + autoload :UploadCertificateResponse, '2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_response.rb' + autoload :ShareList, '2018-07-01/generated/azure_mgmt_edgegateway/models/share_list.rb' + autoload :DataBoxEdgeDeviceList, '2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_list.rb' + autoload :MetricSpecificationV1, '2018-07-01/generated/azure_mgmt_edgegateway/models/metric_specification_v1.rb' + autoload :FileSourceInfo, '2018-07-01/generated/azure_mgmt_edgegateway/models/file_source_info.rb' + autoload :NetworkAdapterPosition, '2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_position.rb' + autoload :TriggerList, '2018-07-01/generated/azure_mgmt_edgegateway/models/trigger_list.rb' + autoload :NetworkAdapter, '2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter.rb' + autoload :MountPointMap, '2018-07-01/generated/azure_mgmt_edgegateway/models/mount_point_map.rb' + autoload :ShareAccessRight, '2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_right.rb' + autoload :AsymmetricEncryptedSecret, '2018-07-01/generated/azure_mgmt_edgegateway/models/asymmetric_encrypted_secret.rb' + autoload :OperationDisplay, '2018-07-01/generated/azure_mgmt_edgegateway/models/operation_display.rb' + autoload :UserList, '2018-07-01/generated/azure_mgmt_edgegateway/models/user_list.rb' + autoload :ServiceSpecification, '2018-07-01/generated/azure_mgmt_edgegateway/models/service_specification.rb' + autoload :Operation, '2018-07-01/generated/azure_mgmt_edgegateway/models/operation.rb' + autoload :UploadCertificateRequest, '2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_request.rb' + autoload :OperationsList, '2018-07-01/generated/azure_mgmt_edgegateway/models/operations_list.rb' + autoload :RoleSinkInfo, '2018-07-01/generated/azure_mgmt_edgegateway/models/role_sink_info.rb' + autoload :OrderStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/order_status.rb' + autoload :AlertList, '2018-07-01/generated/azure_mgmt_edgegateway/models/alert_list.rb' + autoload :TrackingInfo, '2018-07-01/generated/azure_mgmt_edgegateway/models/tracking_info.rb' + autoload :ClientAccessRight, '2018-07-01/generated/azure_mgmt_edgegateway/models/client_access_right.rb' + autoload :UserAccessRight, '2018-07-01/generated/azure_mgmt_edgegateway/models/user_access_right.rb' + autoload :DataBoxEdgeDevicePatch, '2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_patch.rb' + autoload :OrderList, '2018-07-01/generated/azure_mgmt_edgegateway/models/order_list.rb' + autoload :Authentication, '2018-07-01/generated/azure_mgmt_edgegateway/models/authentication.rb' + autoload :PeriodicTimerSourceInfo, '2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_source_info.rb' + autoload :IoTDeviceInfo, '2018-07-01/generated/azure_mgmt_edgegateway/models/io_tdevice_info.rb' + autoload :RoleList, '2018-07-01/generated/azure_mgmt_edgegateway/models/role_list.rb' + autoload :Sku, '2018-07-01/generated/azure_mgmt_edgegateway/models/sku.rb' + autoload :RefreshDetails, '2018-07-01/generated/azure_mgmt_edgegateway/models/refresh_details.rb' + autoload :Alert, '2018-07-01/generated/azure_mgmt_edgegateway/models/alert.rb' + autoload :BandwidthSchedule, '2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedule.rb' + autoload :DataBoxEdgeDevice, '2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device.rb' + autoload :DataBoxEdgeDeviceExtendedInfo, '2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_extended_info.rb' + autoload :FileEventTrigger, '2018-07-01/generated/azure_mgmt_edgegateway/models/file_event_trigger.rb' + autoload :IoTRole, '2018-07-01/generated/azure_mgmt_edgegateway/models/io_trole.rb' + autoload :NetworkSettings, '2018-07-01/generated/azure_mgmt_edgegateway/models/network_settings.rb' + autoload :Order, '2018-07-01/generated/azure_mgmt_edgegateway/models/order.rb' + autoload :PeriodicTimerEventTrigger, '2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_event_trigger.rb' + autoload :Role, '2018-07-01/generated/azure_mgmt_edgegateway/models/role.rb' + autoload :SecuritySettings, '2018-07-01/generated/azure_mgmt_edgegateway/models/security_settings.rb' + autoload :Share, '2018-07-01/generated/azure_mgmt_edgegateway/models/share.rb' + autoload :StorageAccountCredential, '2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential.rb' + autoload :Trigger, '2018-07-01/generated/azure_mgmt_edgegateway/models/trigger.rb' + autoload :UpdateSummary, '2018-07-01/generated/azure_mgmt_edgegateway/models/update_summary.rb' + autoload :User, '2018-07-01/generated/azure_mgmt_edgegateway/models/user.rb' + autoload :AlertSeverity, '2018-07-01/generated/azure_mgmt_edgegateway/models/alert_severity.rb' + autoload :EncryptionAlgorithm, '2018-07-01/generated/azure_mgmt_edgegateway/models/encryption_algorithm.rb' + autoload :AzureContainerDataFormat, '2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_data_format.rb' + autoload :DayOfWeek, '2018-07-01/generated/azure_mgmt_edgegateway/models/day_of_week.rb' + autoload :ClientPermissionType, '2018-07-01/generated/azure_mgmt_edgegateway/models/client_permission_type.rb' + autoload :SkuName, '2018-07-01/generated/azure_mgmt_edgegateway/models/sku_name.rb' + autoload :SkuTier, '2018-07-01/generated/azure_mgmt_edgegateway/models/sku_tier.rb' + autoload :DataBoxEdgeDeviceStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_status.rb' + autoload :DeviceType, '2018-07-01/generated/azure_mgmt_edgegateway/models/device_type.rb' + autoload :RoleTypes, '2018-07-01/generated/azure_mgmt_edgegateway/models/role_types.rb' + autoload :PlatformType, '2018-07-01/generated/azure_mgmt_edgegateway/models/platform_type.rb' + autoload :RoleStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/role_status.rb' + autoload :JobStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/job_status.rb' + autoload :JobType, '2018-07-01/generated/azure_mgmt_edgegateway/models/job_type.rb' + autoload :UpdateOperationStage, '2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation_stage.rb' + autoload :DownloadPhase, '2018-07-01/generated/azure_mgmt_edgegateway/models/download_phase.rb' + autoload :MetricUnit, '2018-07-01/generated/azure_mgmt_edgegateway/models/metric_unit.rb' + autoload :MetricAggregationType, '2018-07-01/generated/azure_mgmt_edgegateway/models/metric_aggregation_type.rb' + autoload :MetricCategory, '2018-07-01/generated/azure_mgmt_edgegateway/models/metric_category.rb' + autoload :TimeGrain, '2018-07-01/generated/azure_mgmt_edgegateway/models/time_grain.rb' + autoload :NetworkGroup, '2018-07-01/generated/azure_mgmt_edgegateway/models/network_group.rb' + autoload :NetworkAdapterStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_status.rb' + autoload :NetworkAdapterRDMAStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_rdmastatus.rb' + autoload :NetworkAdapterDHCPStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_dhcpstatus.rb' + autoload :StatusTypes, '2018-07-01/generated/azure_mgmt_edgegateway/models/status_types.rb' + autoload :AuthenticationType, '2018-07-01/generated/azure_mgmt_edgegateway/models/authentication_type.rb' + autoload :ShareStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/share_status.rb' + autoload :MonitoringStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/monitoring_status.rb' + autoload :ShareAccessProtocol, '2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_protocol.rb' + autoload :ShareAccessType, '2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_type.rb' + autoload :DataPolicy, '2018-07-01/generated/azure_mgmt_edgegateway/models/data_policy.rb' + autoload :SSLStatus, '2018-07-01/generated/azure_mgmt_edgegateway/models/sslstatus.rb' + autoload :AccountType, '2018-07-01/generated/azure_mgmt_edgegateway/models/account_type.rb' + autoload :InstallRebootBehavior, '2018-07-01/generated/azure_mgmt_edgegateway/models/install_reboot_behavior.rb' + autoload :UpdateOperation, '2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation.rb' + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/alerts.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/alerts.rb new file mode 100644 index 0000000000..83a97f1e7c --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/alerts.rb @@ -0,0 +1,319 @@ +# encoding: utf-8 +# 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_07_01 + # + # Alerts + # + class Alerts + include MsRestAzure + + # + # Creates and initializes a new instance of the Alerts class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # Retrieves all the alerts for a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_data_box_edge_device(device_name, resource_group_name, custom_headers = nil) + first_page = list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # Retrieves all the alerts for a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_with_http_info(device_name, resource_group_name, custom_headers = nil) + list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Retrieves all the alerts for a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::AlertList.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 + + # + # Returns an alert by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the alert which needs to be retrieved. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Alert] operation results. + # + def get(device_name, name, resource_group_name, custom_headers = nil) + response = get_async(device_name, name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns an alert by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the alert which needs to be retrieved. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + get_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Returns an alert by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the alert which needs to be retrieved. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/alerts/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Alert.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 + + # + # Retrieves all the alerts for a data box edge/gateway device. + # + # @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 [AlertList] operation results. + # + def list_by_data_box_edge_device_next(next_page_link, custom_headers = nil) + response = list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Retrieves all the alerts for a data box edge/gateway device. + # + # @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_data_box_edge_device_next_with_http_info(next_page_link, custom_headers = nil) + list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + end + + # + # Retrieves all the alerts for a data box edge/gateway device. + # + # @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_data_box_edge_device_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::Compute::Mgmt::V2018_07_01::Models::AlertList.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 + + # + # Retrieves all the alerts for a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [AlertList] which provide lazy access to pages of the response. + # + def list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers = nil) + response = list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_data_box_edge_device_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/bandwidth_schedules.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/bandwidth_schedules.rb new file mode 100644 index 0000000000..c37219890e --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/bandwidth_schedules.rb @@ -0,0 +1,608 @@ +# encoding: utf-8 +# 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_07_01 + # + # BandwidthSchedules + # + class BandwidthSchedules + include MsRestAzure + + # + # Creates and initializes a new instance of the BandwidthSchedules class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # Returns all the bandwidth Schedules for a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_data_box_edge_device(device_name, resource_group_name, custom_headers = nil) + first_page = list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # Returns all the bandwidth Schedules for a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_with_http_info(device_name, resource_group_name, custom_headers = nil) + list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Returns all the bandwidth Schedules for a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::BandwidthSchedulesList.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 + + # + # Returns the properties of the specified bandwidth schedule name. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [BandwidthSchedule] operation results. + # + def get(device_name, name, resource_group_name, custom_headers = nil) + response = get_async(device_name, name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns the properties of the specified bandwidth schedule name. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + get_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Returns the properties of the specified bandwidth schedule name. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::BandwidthSchedule.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 bandwidth schedule. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name which needs to be + # added/updated. + # @param parameters [BandwidthSchedule] The bandwidth schedule to be added or + # updated. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [BandwidthSchedule] operation results. + # + def create_or_update(device_name, name, parameters, resource_group_name, custom_headers = nil) + response = create_or_update_async(device_name, name, parameters, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name which needs to be + # added/updated. + # @param parameters [BandwidthSchedule] The bandwidth schedule to be added or + # updated. + # @param resource_group_name [String] The resource group 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 create_or_update_async(device_name, name, parameters, resource_group_name, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(device_name, name, parameters, resource_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::BandwidthSchedule.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 specified bandwidth schedule. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(device_name, name, resource_group_name, custom_headers = nil) + response = delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_delete_async(device_name, name, resource_group_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 + + # + # Creates or updates a bandwidth schedule. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name which needs to be + # added/updated. + # @param parameters [BandwidthSchedule] The bandwidth schedule to be added or + # updated. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [BandwidthSchedule] operation results. + # + def begin_create_or_update(device_name, name, parameters, resource_group_name, custom_headers = nil) + response = begin_create_or_update_async(device_name, name, parameters, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a bandwidth schedule. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name which needs to be + # added/updated. + # @param parameters [BandwidthSchedule] The bandwidth schedule to be added or + # updated. + # @param resource_group_name [String] The resource group 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_create_or_update_with_http_info(device_name, name, parameters, resource_group_name, custom_headers = nil) + begin_create_or_update_async(device_name, name, parameters, resource_group_name, custom_headers).value! + end + + # + # Creates or updates a bandwidth schedule. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name which needs to be + # added/updated. + # @param parameters [BandwidthSchedule] The bandwidth schedule to be added or + # updated. + # @param resource_group_name [String] The resource group 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_create_or_update_async(device_name, name, parameters, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::BandwidthSchedule.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.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::BandwidthSchedule.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 specified bandwidth schedule. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(device_name, name, resource_group_name, custom_headers = nil) + response = begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # Deletes the specified bandwidth schedule. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Deletes the specified bandwidth schedule. + # + # @param device_name [String] The device name. + # @param name [String] The bandwidth schedule name. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/bandwidthSchedules/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Returns all the bandwidth Schedules for a data box edge/gateway device. + # + # @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 [BandwidthSchedulesList] operation results. + # + def list_by_data_box_edge_device_next(next_page_link, custom_headers = nil) + response = list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns all the bandwidth Schedules for a data box edge/gateway device. + # + # @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_data_box_edge_device_next_with_http_info(next_page_link, custom_headers = nil) + list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + end + + # + # Returns all the bandwidth Schedules for a data box edge/gateway device. + # + # @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_data_box_edge_device_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::Compute::Mgmt::V2018_07_01::Models::BandwidthSchedulesList.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 + + # + # Returns all the bandwidth Schedules for a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [BandwidthSchedulesList] which provide lazy access to pages of the + # response. + # + def list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers = nil) + response = list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_data_box_edge_device_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/data_box_edge_management_client.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/data_box_edge_management_client.rb new file mode 100644 index 0000000000..3a78dec855 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/data_box_edge_management_client.rb @@ -0,0 +1,169 @@ +# encoding: utf-8 +# 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_07_01 + # + # A service client - single point of access to the REST API. + # + class DataBoxEdgeManagementClient < MsRestAzure::AzureServiceClient + include MsRestAzure + include MsRestAzure::Serialization + + # @return [String] the base URI of the service. + attr_accessor :base_url + + # @return Credentials needed for the client to connect to Azure. + attr_reader :credentials + + # @return [String] The API version. + attr_reader :api_version + + # @return [String] The subscription ID. + attr_accessor :subscription_id + + # @return [String] Gets or sets the preferred language for the response. + attr_accessor :accept_language + + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. + attr_accessor :long_running_operation_retry_timeout + + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. + attr_accessor :generate_client_request_id + + # @return [Operations] operations + attr_reader :operations + + # @return [Devices] devices + attr_reader :devices + + # @return [Alerts] alerts + attr_reader :alerts + + # @return [BandwidthSchedules] bandwidth_schedules + attr_reader :bandwidth_schedules + + # @return [OperationsStatus] operations_status + attr_reader :operations_status + + # @return [Orders] orders + attr_reader :orders + + # @return [Roles] roles + attr_reader :roles + + # @return [Shares] shares + attr_reader :shares + + # @return [StorageAccountCredentials] storage_account_credentials + attr_reader :storage_account_credentials + + # @return [Triggers] triggers + attr_reader :triggers + + # @return [Users] users + attr_reader :users + + # + # Creates initializes a new instance of the DataBoxEdgeManagementClient class. + # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client. + # @param base_url [String] the base URI of the service. + # @param options [Array] filters to be applied to the HTTP requests. + # + def initialize(credentials = nil, base_url = nil, options = nil) + super(credentials, options) + @base_url = base_url || 'https://management.azure.com' + + fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil? + @credentials = credentials + + @operations = Operations.new(self) + @devices = Devices.new(self) + @alerts = Alerts.new(self) + @bandwidth_schedules = BandwidthSchedules.new(self) + @operations_status = OperationsStatus.new(self) + @orders = Orders.new(self) + @roles = Roles.new(self) + @shares = Shares.new(self) + @storage_account_credentials = StorageAccountCredentials.new(self) + @triggers = Triggers.new(self) + @users = Users.new(self) + @api_version = '2018-07-01' + @accept_language = 'en-US' + @long_running_operation_retry_timeout = 30 + @generate_client_request_id = true + add_telemetry + end + + # + # Makes a request and returns the body of the response. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [Hash{String=>String}] containing the body of the response. + # Example: + # + # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}" + # path = "/path" + # options = { + # body: request_content, + # query_params: {'api-version' => '2016-02-01'} + # } + # result = @client.make_request(:put, path, options) + # + def make_request(method, path, options = {}) + result = make_request_with_http_info(method, path, options) + result.body unless result.nil? + end + + # + # Makes a request and returns the operation response. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status. + # + def make_request_with_http_info(method, path, options = {}) + result = make_request_async(method, path, options).value! + result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body) + result + end + + # + # Makes a request asynchronously. + # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete. + # @param path [String] the path, relative to {base_url}. + # @param options [Hash{String=>String}] specifying any request options like :body. + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def make_request_async(method, path, options = {}) + fail ArgumentError, 'method is nil' if method.nil? + fail ArgumentError, 'path is nil' if path.nil? + + request_url = options[:base_url] || @base_url + + request_headers = @request_headers + request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? + options.merge!({headers: request_headers.merge(options[:headers] || {})}) + options.merge!({credentials: @credentials}) unless @credentials.nil? + + super(request_url, method, path, options) + end + + + private + # + # Adds telemetry information. + # + def add_telemetry + sdk_information = 'azure_mgmt_edgegateway' + if defined? Azure::Compute::Mgmt::V2018_07_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Compute::Mgmt::V2018_07_01::VERSION}" + end + add_user_agent_information(sdk_information) + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/devices.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/devices.rb new file mode 100644 index 0000000000..0a8d8edad6 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/devices.rb @@ -0,0 +1,1875 @@ +# encoding: utf-8 +# 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_07_01 + # + # Devices + # + class Devices + include MsRestAzure + + # + # Creates and initializes a new instance of the Devices class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # Retrieves all data box edge/gateway devices in a subscription. + # + # @param expand [String] Specify $expand=details to populate additional fields + # related to the resource or Specify $skipToken= to populate the next + # page in the list. + # @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_subscription(expand = nil, custom_headers = nil) + first_page = list_by_subscription_as_lazy(expand, custom_headers) + first_page.get_all_items + end + + # + # Retrieves all data box edge/gateway devices in a subscription. + # + # @param expand [String] Specify $expand=details to populate additional fields + # related to the resource or Specify $skipToken= to populate the next + # page in the list. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_by_subscription_with_http_info(expand = nil, custom_headers = nil) + list_by_subscription_async(expand, custom_headers).value! + end + + # + # Retrieves all data box edge/gateway devices in a subscription. + # + # @param expand [String] Specify $expand=details to populate additional fields + # related to the resource or Specify $skipToken= to populate the next + # page in the list. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_by_subscription_async(expand = 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 = {} + + # 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.DataBoxEdge/dataBoxEdgeDevices' + + 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,'$expand' => expand}, + 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::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDeviceList.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 + + # + # Retrieves all data box edge/gateway devices in a resource group. + # + # @param resource_group_name [String] The resource group name. + # @param expand [String] Specify $expand=details to populate additional fields + # related to the resource or Specify $skipToken= to populate the next + # page in the list. + # @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, expand = nil, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, expand, custom_headers) + first_page.get_all_items + end + + # + # Retrieves all data box edge/gateway devices in a resource group. + # + # @param resource_group_name [String] The resource group name. + # @param expand [String] Specify $expand=details to populate additional fields + # related to the resource or Specify $skipToken= to populate the next + # page in the list. + # @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, expand = nil, custom_headers = nil) + list_by_resource_group_async(resource_group_name, expand, custom_headers).value! + end + + # + # Retrieves all data box edge/gateway devices in a resource group. + # + # @param resource_group_name [String] The resource group name. + # @param expand [String] Specify $expand=details to populate additional fields + # related to the resource or Specify $skipToken= to populate the next + # page in the list. + # @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, expand = 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, '@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.DataBoxEdge/dataBoxEdgeDevices' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version,'$expand' => expand}, + 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::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDeviceList.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 + + # + # Returns the properties of the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DataBoxEdgeDevice] operation results. + # + def get(device_name, resource_group_name, custom_headers = nil) + response = get_async(device_name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns the properties of the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + get_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Returns the properties of the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDevice.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 Data Box Edge/Gateway resource. + # + # @param device_name [String] The device name. + # @param data_box_edge_device [DataBoxEdgeDevice] The resource object. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DataBoxEdgeDevice] operation results. + # + def create_or_update(device_name, data_box_edge_device, resource_group_name, custom_headers = nil) + response = create_or_update_async(device_name, data_box_edge_device, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param device_name [String] The device name. + # @param data_box_edge_device [DataBoxEdgeDevice] The resource object. + # @param resource_group_name [String] The resource group 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 create_or_update_async(device_name, data_box_edge_device, resource_group_name, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(device_name, data_box_edge_device, resource_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDevice.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 data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(device_name, resource_group_name, custom_headers = nil) + response = delete_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_delete_async(device_name, resource_group_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 data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param parameters [DataBoxEdgeDevicePatch] The device update parameters. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DataBoxEdgeDevice] operation results. + # + def update(device_name, parameters, resource_group_name, custom_headers = nil) + response = update_async(device_name, parameters, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Updates data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param parameters [DataBoxEdgeDevicePatch] The device update parameters. + # @param resource_group_name [String] The resource group 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 update_with_http_info(device_name, parameters, resource_group_name, custom_headers = nil) + update_async(device_name, parameters, resource_group_name, custom_headers).value! + end + + # + # Updates data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param parameters [DataBoxEdgeDevicePatch] The device update parameters. + # @param resource_group_name [String] The resource group 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 update_async(device_name, parameters, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDevicePatch.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.DataBoxEdge/dataBoxEdgeDevices/{deviceName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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 = 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::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDevice.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 + + # + # Downloads the updates on the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def download_updates(device_name, resource_group_name, custom_headers = nil) + response = download_updates_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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 download_updates_async(device_name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_download_updates_async(device_name, resource_group_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 + + # + # Creates or updates the extended info of the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param parameters [DataBoxEdgeDeviceExtendedInfo] The device extended + # information. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DataBoxEdgeDeviceExtendedInfo] operation results. + # + def create_or_update_extended_info(device_name, parameters, resource_group_name, custom_headers = nil) + response = create_or_update_extended_info_async(device_name, parameters, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates the extended info of the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param parameters [DataBoxEdgeDeviceExtendedInfo] The device extended + # information. + # @param resource_group_name [String] The resource group 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 create_or_update_extended_info_with_http_info(device_name, parameters, resource_group_name, custom_headers = nil) + create_or_update_extended_info_async(device_name, parameters, resource_group_name, custom_headers).value! + end + + # + # Creates or updates the extended info of the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param parameters [DataBoxEdgeDeviceExtendedInfo] The device extended + # information. + # @param resource_group_name [String] The resource group 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 create_or_update_extended_info_async(device_name, parameters, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDeviceExtendedInfo.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.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDeviceExtendedInfo.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 + + # + # Returns the extended information of the specified data box edge/gateway + # device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DataBoxEdgeDeviceExtendedInfo] operation results. + # + def get_extended_information(device_name, resource_group_name, custom_headers = nil) + response = get_extended_information_async(device_name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns the extended information of the specified data box edge/gateway + # device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_extended_information_with_http_info(device_name, resource_group_name, custom_headers = nil) + get_extended_information_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Returns the extended information of the specified data box edge/gateway + # device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_extended_information_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDeviceExtendedInfo.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 + + # + # Installs the updates on the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def install_updates(device_name, resource_group_name, custom_headers = nil) + response = install_updates_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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 install_updates_async(device_name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_install_updates_async(device_name, resource_group_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 + + # + # Returns the network settings of the specified data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [NetworkSettings] operation results. + # + def get_network_settings(device_name, resource_group_name, custom_headers = nil) + response = get_network_settings_async(device_name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns the network settings of the specified data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_network_settings_with_http_info(device_name, resource_group_name, custom_headers = nil) + get_network_settings_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Returns the network settings of the specified data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_network_settings_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/networkSettings/default' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::NetworkSettings.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 + + # + # Scans for updates on a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def scan_for_updates(device_name, resource_group_name, custom_headers = nil) + response = scan_for_updates_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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 scan_for_updates_async(device_name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_scan_for_updates_async(device_name, resource_group_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 the security settings on a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param security_settings [SecuritySettings] The security settings. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def create_or_update_security_settings(device_name, security_settings, resource_group_name, custom_headers = nil) + response = create_or_update_security_settings_async(device_name, security_settings, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] The device name. + # @param security_settings [SecuritySettings] The security settings. + # @param resource_group_name [String] The resource group 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 create_or_update_security_settings_async(device_name, security_settings, resource_group_name, custom_headers = nil) + # Send request + promise = begin_create_or_update_security_settings_async(device_name, security_settings, resource_group_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 + + # + # Returns information about the availability of updates as per the last scan + # done on the device. It also returns information about any ongoing download or + # install jobs on the device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [UpdateSummary] operation results. + # + def get_update_summary(device_name, resource_group_name, custom_headers = nil) + response = get_update_summary_async(device_name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns information about the availability of updates as per the last scan + # done on the device. It also returns information about any ongoing download or + # install jobs on the device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_update_summary_with_http_info(device_name, resource_group_name, custom_headers = nil) + get_update_summary_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Returns information about the availability of updates as per the last scan + # done on the device. It also returns information about any ongoing download or + # install jobs on the device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_update_summary_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/updateSummary/default' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::UpdateSummary.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 + + # + # Uploads registration certificate for the device. + # + # @param device_name [String] The device name. + # @param parameters [UploadCertificateRequest] The upload certificate request. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [UploadCertificateResponse] operation results. + # + def upload_certificate(device_name, parameters, resource_group_name, custom_headers = nil) + response = upload_certificate_async(device_name, parameters, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Uploads registration certificate for the device. + # + # @param device_name [String] The device name. + # @param parameters [UploadCertificateRequest] The upload certificate request. + # @param resource_group_name [String] The resource group 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 upload_certificate_with_http_info(device_name, parameters, resource_group_name, custom_headers = nil) + upload_certificate_async(device_name, parameters, resource_group_name, custom_headers).value! + end + + # + # Uploads registration certificate for the device. + # + # @param device_name [String] The device name. + # @param parameters [UploadCertificateRequest] The upload certificate request. + # @param resource_group_name [String] The resource group 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 upload_certificate_async(device_name, parameters, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'parameters is nil' if parameters.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::UploadCertificateRequest.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.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/uploadCertificate' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::UploadCertificateResponse.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 Data Box Edge/Gateway resource. + # + # @param device_name [String] The device name. + # @param data_box_edge_device [DataBoxEdgeDevice] The resource object. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DataBoxEdgeDevice] operation results. + # + def begin_create_or_update(device_name, data_box_edge_device, resource_group_name, custom_headers = nil) + response = begin_create_or_update_async(device_name, data_box_edge_device, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates a Data Box Edge/Gateway resource. + # + # @param device_name [String] The device name. + # @param data_box_edge_device [DataBoxEdgeDevice] The resource object. + # @param resource_group_name [String] The resource group 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_create_or_update_with_http_info(device_name, data_box_edge_device, resource_group_name, custom_headers = nil) + begin_create_or_update_async(device_name, data_box_edge_device, resource_group_name, custom_headers).value! + end + + # + # Creates or updates a Data Box Edge/Gateway resource. + # + # @param device_name [String] The device name. + # @param data_box_edge_device [DataBoxEdgeDevice] The resource object. + # @param resource_group_name [String] The resource group 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_create_or_update_async(device_name, data_box_edge_device, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'data_box_edge_device is nil' if data_box_edge_device.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDevice.mapper() + request_content = @client.serialize(request_mapper, data_box_edge_device) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDevice.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 data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(device_name, resource_group_name, custom_headers = nil) + response = begin_delete_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # Deletes the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + begin_delete_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Deletes the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Downloads the updates on the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_download_updates(device_name, resource_group_name, custom_headers = nil) + response = begin_download_updates_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # Downloads the updates on the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_download_updates_with_http_info(device_name, resource_group_name, custom_headers = nil) + begin_download_updates_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Downloads the updates on the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_download_updates_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/downloadUpdates' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Installs the updates on the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_install_updates(device_name, resource_group_name, custom_headers = nil) + response = begin_install_updates_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # Installs the updates on the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_install_updates_with_http_info(device_name, resource_group_name, custom_headers = nil) + begin_install_updates_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Installs the updates on the data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_install_updates_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/installUpdates' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Scans for updates on a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_scan_for_updates(device_name, resource_group_name, custom_headers = nil) + response = begin_scan_for_updates_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # Scans for updates on a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_scan_for_updates_with_http_info(device_name, resource_group_name, custom_headers = nil) + begin_scan_for_updates_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Scans for updates on a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_scan_for_updates_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/scanForUpdates' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Updates the security settings on a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param security_settings [SecuritySettings] The security settings. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_create_or_update_security_settings(device_name, security_settings, resource_group_name, custom_headers = nil) + response = begin_create_or_update_security_settings_async(device_name, security_settings, resource_group_name, custom_headers).value! + nil + end + + # + # Updates the security settings on a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param security_settings [SecuritySettings] The security settings. + # @param resource_group_name [String] The resource group 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_create_or_update_security_settings_with_http_info(device_name, security_settings, resource_group_name, custom_headers = nil) + begin_create_or_update_security_settings_async(device_name, security_settings, resource_group_name, custom_headers).value! + end + + # + # Updates the security settings on a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param security_settings [SecuritySettings] The security settings. + # @param resource_group_name [String] The resource group 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_create_or_update_security_settings_async(device_name, security_settings, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'security_settings is nil' if security_settings.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::SecuritySettings.mapper() + request_content = @client.serialize(request_mapper, security_settings) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/securitySettings/default/update' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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 == 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 + + # + # Retrieves all data box edge/gateway devices in a 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 [DataBoxEdgeDeviceList] operation results. + # + def list_by_subscription_next(next_page_link, custom_headers = nil) + response = list_by_subscription_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Retrieves all data box edge/gateway devices in a 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_by_subscription_next_with_http_info(next_page_link, custom_headers = nil) + list_by_subscription_next_async(next_page_link, custom_headers).value! + end + + # + # Retrieves all data box edge/gateway devices in a 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_by_subscription_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::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDeviceList.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 + + # + # Retrieves all data box edge/gateway devices 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 [DataBoxEdgeDeviceList] 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 + + # + # Retrieves all data box edge/gateway devices 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 + + # + # Retrieves all data box edge/gateway devices 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::Compute::Mgmt::V2018_07_01::Models::DataBoxEdgeDeviceList.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 + + # + # Retrieves all data box edge/gateway devices in a subscription. + # + # @param expand [String] Specify $expand=details to populate additional fields + # related to the resource or Specify $skipToken= to populate the next + # page in the list. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DataBoxEdgeDeviceList] which provide lazy access to pages of the + # response. + # + def list_by_subscription_as_lazy(expand = nil, custom_headers = nil) + response = list_by_subscription_async(expand, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_subscription_next_async(next_page_link, custom_headers) + end + page + end + end + + # + # Retrieves all data box edge/gateway devices in a resource group. + # + # @param resource_group_name [String] The resource group name. + # @param expand [String] Specify $expand=details to populate additional fields + # related to the resource or Specify $skipToken= to populate the next + # page in the list. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DataBoxEdgeDeviceList] which provide lazy access to pages of the + # response. + # + def list_by_resource_group_as_lazy(resource_group_name, expand = nil, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, expand, 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_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/account_type.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/account_type.rb new file mode 100644 index 0000000000..f4be2aea82 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/account_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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for AccountType + # + module AccountType + GeneralPurposeStorage = "GeneralPurposeStorage" + BlobStorage = "BlobStorage" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/address.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/address.rb new file mode 100644 index 0000000000..a9aae54332 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/address.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The shipping address of the customer. + # + class Address + + include MsRestAzure + + # @return [String] The address line1. + attr_accessor :address_line1 + + # @return [String] The address line2. + attr_accessor :address_line2 + + # @return [String] The address line3. + attr_accessor :address_line3 + + # @return [String] The postal code. + attr_accessor :postal_code + + # @return [String] The city name. + attr_accessor :city + + # @return [String] The state name. + attr_accessor :state + + # @return [String] The country name. + attr_accessor :country + + + # + # Mapper for Address class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Address', + type: { + name: 'Composite', + class_name: 'Address', + model_properties: { + address_line1: { + required: true, + serialized_name: 'addressLine1', + type: { + name: 'String' + } + }, + address_line2: { + required: true, + serialized_name: 'addressLine2', + type: { + name: 'String' + } + }, + address_line3: { + required: true, + serialized_name: 'addressLine3', + type: { + name: 'String' + } + }, + postal_code: { + required: true, + serialized_name: 'postalCode', + type: { + name: 'String' + } + }, + city: { + required: true, + serialized_name: 'city', + type: { + name: 'String' + } + }, + state: { + required: true, + serialized_name: 'state', + type: { + name: 'String' + } + }, + country: { + required: true, + serialized_name: 'country', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert.rb new file mode 100644 index 0000000000..c9940f700a --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert.rb @@ -0,0 +1,144 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Alert on the data box edge/gateway device. + # + class Alert < ARMBaseModel + + include MsRestAzure + + # @return [String] Title of the alert. + attr_accessor :title + + # @return [String] Type of the alert. + attr_accessor :alert_type + + # @return [DateTime] UTC time at which the alert appeared. + attr_accessor :appeared_at_date_time + + # @return [String] Recommendation for acting on the alert. + attr_accessor :recommendation + + # @return [AlertSeverity] Severity of the alert. Possible values include: + # 'Informational', 'Warning', 'Critical' + attr_accessor :severity + + # @return [AlertErrorDetails] Error details of the alert. + attr_accessor :error_details + + # @return [Hash{String => String}] Detailed information about the alert. + attr_accessor :detailed_information + + + # + # Mapper for Alert class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Alert', + type: { + name: 'Composite', + class_name: 'Alert', + 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' + } + }, + title: { + required: false, + read_only: true, + serialized_name: 'properties.title', + type: { + name: 'String' + } + }, + alert_type: { + required: false, + read_only: true, + serialized_name: 'properties.alertType', + type: { + name: 'String' + } + }, + appeared_at_date_time: { + required: false, + read_only: true, + serialized_name: 'properties.appearedAtDateTime', + type: { + name: 'DateTime' + } + }, + recommendation: { + required: false, + read_only: true, + serialized_name: 'properties.recommendation', + type: { + name: 'String' + } + }, + severity: { + required: false, + read_only: true, + serialized_name: 'properties.severity', + type: { + name: 'String' + } + }, + error_details: { + required: false, + read_only: true, + serialized_name: 'properties.errorDetails', + type: { + name: 'Composite', + class_name: 'AlertErrorDetails' + } + }, + detailed_information: { + required: false, + read_only: true, + serialized_name: 'properties.detailedInformation', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_error_details.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_error_details.rb new file mode 100644 index 0000000000..eab3fd9f7f --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_error_details.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Error details for the alert. + # + class AlertErrorDetails + + include MsRestAzure + + # @return [String] Error code. + attr_accessor :error_code + + # @return [String] Error Message. + attr_accessor :error_message + + # @return [Integer] Number of occurrences. + attr_accessor :occurrences + + + # + # Mapper for AlertErrorDetails class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AlertErrorDetails', + type: { + name: 'Composite', + class_name: 'AlertErrorDetails', + model_properties: { + error_code: { + required: false, + read_only: true, + serialized_name: 'errorCode', + type: { + name: 'String' + } + }, + error_message: { + required: false, + read_only: true, + serialized_name: 'errorMessage', + type: { + name: 'String' + } + }, + occurrences: { + required: false, + read_only: true, + serialized_name: 'occurrences', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_list.rb new file mode 100644 index 0000000000..db3339b9a2 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_list.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Collection of Alerts. + # + class AlertList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The value. + attr_accessor :value + + # @return [String] Link to the next set 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 [AlertList] 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 AlertList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AlertList', + type: { + name: 'Composite', + class_name: 'AlertList', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'AlertElementType', + type: { + name: 'Composite', + class_name: 'Alert' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_severity.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_severity.rb new file mode 100644 index 0000000000..c7bd806661 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/alert_severity.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for AlertSeverity + # + module AlertSeverity + Informational = "Informational" + Warning = "Warning" + Critical = "Critical" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/armbase_model.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/armbase_model.rb new file mode 100644 index 0000000000..494c278ef3 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/armbase_model.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Represents the base class for all object models. + # + class ARMBaseModel + + include MsRestAzure + + # @return [String] The path ID that uniquely identifies the object. + attr_accessor :id + + # @return [String] The name of the object. + attr_accessor :name + + # @return [String] The hierarchical type of the object. + attr_accessor :type + + + # + # Mapper for ARMBaseModel class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ARMBaseModel', + type: { + name: 'Composite', + class_name: 'ARMBaseModel', + 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_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/asymmetric_encrypted_secret.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/asymmetric_encrypted_secret.rb new file mode 100644 index 0000000000..ece45b3f63 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/asymmetric_encrypted_secret.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Represent the secrets intended for encryption with asymmetric key pair. + # + class AsymmetricEncryptedSecret + + include MsRestAzure + + # @return [String] The value of the secret. + attr_accessor :value + + # @return [String] Thumbprint certificate that was used to encrypt + # "Value". If the value in unencrypted, it will be null. + attr_accessor :encryption_cert_thumbprint + + # @return [EncryptionAlgorithm] The algorithm used to encrypt "Value". + # Possible values include: 'None', 'AES256', 'RSAES_PKCS1_v_1_5' + attr_accessor :encryption_algorithm + + + # + # Mapper for AsymmetricEncryptedSecret class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AsymmetricEncryptedSecret', + type: { + name: 'Composite', + class_name: 'AsymmetricEncryptedSecret', + model_properties: { + value: { + required: true, + serialized_name: 'value', + type: { + name: 'String' + } + }, + encryption_cert_thumbprint: { + required: false, + serialized_name: 'encryptionCertThumbprint', + type: { + name: 'String' + } + }, + encryption_algorithm: { + required: true, + serialized_name: 'encryptionAlgorithm', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/authentication.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/authentication.rb new file mode 100644 index 0000000000..a6b5e72ef3 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/authentication.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Authentication mechanism for IoT devices. + # + class Authentication + + include MsRestAzure + + # @return [SymmetricKey] Symmetric key for authentication. + attr_accessor :symmetric_key + + + # + # Mapper for Authentication class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Authentication', + type: { + name: 'Composite', + class_name: 'Authentication', + model_properties: { + symmetric_key: { + required: false, + serialized_name: 'symmetricKey', + type: { + name: 'Composite', + class_name: 'SymmetricKey' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/authentication_type.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/authentication_type.rb new file mode 100644 index 0000000000..ae59922530 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/authentication_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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for AuthenticationType + # + module AuthenticationType + Invalid = "Invalid" + AzureActiveDirectory = "AzureActiveDirectory" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_data_format.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_data_format.rb new file mode 100644 index 0000000000..52410b6864 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_data_format.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for AzureContainerDataFormat + # + module AzureContainerDataFormat + BlockBlob = "BlockBlob" + PageBlob = "PageBlob" + AzureFile = "AzureFile" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_info.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_info.rb new file mode 100644 index 0000000000..57e6c524dc --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/azure_container_info.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Azure container mapping of the endpoint. + # + class AzureContainerInfo + + include MsRestAzure + + # @return [String] ID of the Storage account credential to be used for + # accessing storage. + attr_accessor :storage_account_credential_id + + # @return [String] Container name (Based on the data format specified, + # represents the name of Azure file/ Page blob / Block blob). + attr_accessor :container_name + + # @return [AzureContainerDataFormat] Storage format used for the file + # represented by the share. Possible values include: 'BlockBlob', + # 'PageBlob', 'AzureFile' + attr_accessor :data_format + + + # + # Mapper for AzureContainerInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AzureContainerInfo', + type: { + name: 'Composite', + class_name: 'AzureContainerInfo', + model_properties: { + storage_account_credential_id: { + required: true, + serialized_name: 'storageAccountCredentialId', + type: { + name: 'String' + } + }, + container_name: { + required: true, + serialized_name: 'containerName', + type: { + name: 'String' + } + }, + data_format: { + required: true, + serialized_name: 'dataFormat', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedule.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedule.rb new file mode 100644 index 0000000000..ac43c892ad --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedule.rb @@ -0,0 +1,106 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # The bandwidth schedule details. + # + class BandwidthSchedule < ARMBaseModel + + include MsRestAzure + + # @return [String] The start time of the schedule in UTC. + attr_accessor :start + + # @return [String] The stop time of the schedule in UTC. + attr_accessor :stop + + # @return [Integer] The bandwidth rate in Mbps. + attr_accessor :rate_in_mbps + + # @return [Array] The days of the week when this schedule is + # applicable. + attr_accessor :days + + + # + # Mapper for BandwidthSchedule class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'BandwidthSchedule', + type: { + name: 'Composite', + class_name: 'BandwidthSchedule', + 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' + } + }, + start: { + required: true, + serialized_name: 'properties.start', + type: { + name: 'String' + } + }, + stop: { + required: true, + serialized_name: 'properties.stop', + type: { + name: 'String' + } + }, + rate_in_mbps: { + required: true, + serialized_name: 'properties.rateInMbps', + type: { + name: 'Number' + } + }, + days: { + required: true, + serialized_name: 'properties.days', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DayOfWeekElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedules_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedules_list.rb new file mode 100644 index 0000000000..7cb60160c1 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/bandwidth_schedules_list.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The collection of bandwidth schedules. + # + class BandwidthSchedulesList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The list of bandwidth schedules. + attr_accessor :value + + # @return [String] Link to the next set 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 [BandwidthSchedulesList] 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 BandwidthSchedulesList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'BandwidthSchedulesList', + type: { + name: 'Composite', + class_name: 'BandwidthSchedulesList', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'BandwidthScheduleElementType', + type: { + name: 'Composite', + class_name: 'BandwidthSchedule' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/client_access_right.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/client_access_right.rb new file mode 100644 index 0000000000..83b99a84d4 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/client_access_right.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The mapping between a particular client ip and the type of access client + # has on the NFS share. + # + class ClientAccessRight + + include MsRestAzure + + # @return [String] Ip of the client. + attr_accessor :client + + # @return [ClientPermissionType] Type of access to be allowed for the + # client. Possible values include: 'NoAccess', 'ReadOnly', 'ReadWrite' + attr_accessor :access_permission + + + # + # Mapper for ClientAccessRight class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ClientAccessRight', + type: { + name: 'Composite', + class_name: 'ClientAccessRight', + model_properties: { + client: { + required: true, + serialized_name: 'client', + type: { + name: 'String' + } + }, + access_permission: { + required: true, + serialized_name: 'accessPermission', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/client_permission_type.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/client_permission_type.rb new file mode 100644 index 0000000000..94fddbf946 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/client_permission_type.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for ClientPermissionType + # + module ClientPermissionType + NoAccess = "NoAccess" + ReadOnly = "ReadOnly" + ReadWrite = "ReadWrite" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/contact_details.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/contact_details.rb new file mode 100644 index 0000000000..b866bc88e6 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/contact_details.rb @@ -0,0 +1,81 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Compute::Mgmt::V2018_07_01 + module Models + # + # Contains all the contact details of the customer. + # + class ContactDetails + + include MsRestAzure + + # @return [String] Gets or sets the contact person. + attr_accessor :contact_person + + # @return [String] Gets or sets the name of the company. + attr_accessor :company_name + + # @return [String] Gets or sets the phone number. + attr_accessor :phone + + # @return [Array] Gets or sets the email list. + attr_accessor :email_list + + + # + # Mapper for ContactDetails class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ContactDetails', + type: { + name: 'Composite', + class_name: 'ContactDetails', + model_properties: { + contact_person: { + required: true, + serialized_name: 'contactPerson', + type: { + name: 'String' + } + }, + company_name: { + required: true, + serialized_name: 'companyName', + type: { + name: 'String' + } + }, + phone: { + required: true, + serialized_name: 'phone', + type: { + name: 'String' + } + }, + email_list: { + required: true, + serialized_name: 'emailList', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device.rb new file mode 100644 index 0000000000..af9f303b3c --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device.rb @@ -0,0 +1,264 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # The Data Box Edge/Gateway device. + # + class DataBoxEdgeDevice < ARMBaseModel + + include MsRestAzure + + # @return [String] The location of the device. This will be one of the + # supported and registered Azure Geo Regions (e.g. West US, East US, + # Southeast Asia, etc.). The geo region of a device cannot be changed + # once it is created, but if an identical geo region is specified on + # update the request will succeed. + attr_accessor :location + + # @return [Hash{String => String}] The list of tags that describe the + # device. These tags can be used in viewing and grouping this device + # (across resource groups). + attr_accessor :tags + + # @return [Sku] The sku type. + attr_accessor :sku + + # @return [String] The etag of the devices. + attr_accessor :etag + + # @return [DataBoxEdgeDeviceStatus] The status of the Data Box + # Edge/Gateway device. Possible values include: 'ReadyToSetup', 'Online', + # 'Offline', 'NeedsAttention', 'Disconnected', 'PartiallyDisconnected' + attr_accessor :data_box_edge_device_status + + # @return [String] The Serial Number of Data Box Edge/Gateway device. + attr_accessor :serial_number + + # @return [String] The Description of the Data Box Edge/Gateway device. + attr_accessor :description + + # @return [String] The description of the Data Box Edge/Gateway device + # model. + attr_accessor :model_description + + # @return [DeviceType] The type of the Data Box Edge/Gateway device. + # Possible values include: 'DataBoxEdgeDevice' + attr_accessor :device_type + + # @return [String] The Data Box Edge/Gateway device name. + attr_accessor :friendly_name + + # @return [String] The Data Box Edge/Gateway device culture. + attr_accessor :culture + + # @return [String] The Data Box Edge/Gateway device model. + attr_accessor :device_model + + # @return [String] The Data Box Edge/Gateway device software version. + attr_accessor :device_software_version + + # @return [Integer] The Data Box Edge/Gateway device local capacity in + # MB. + attr_accessor :device_local_capacity + + # @return [String] The Data Box Edge/Gateway device timezone. + attr_accessor :time_zone + + # @return [String] The device software version number of the device (eg: + # 1.2.18105.6). + attr_accessor :device_hcs_version + + # @return [Array] Type of compute roles configured. + attr_accessor :configured_role_types + + + # + # Mapper for DataBoxEdgeDevice class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DataBoxEdgeDevice', + type: { + name: 'Composite', + class_name: 'DataBoxEdgeDevice', + 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' + } + }, + etag: { + required: false, + serialized_name: 'etag', + type: { + name: 'String' + } + }, + data_box_edge_device_status: { + required: false, + serialized_name: 'properties.dataBoxEdgeDeviceStatus', + type: { + name: 'String' + } + }, + serial_number: { + required: false, + read_only: true, + serialized_name: 'properties.serialNumber', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + model_description: { + required: false, + serialized_name: 'properties.modelDescription', + type: { + name: 'String' + } + }, + device_type: { + required: false, + read_only: true, + serialized_name: 'properties.deviceType', + type: { + name: 'String' + } + }, + friendly_name: { + required: false, + serialized_name: 'properties.friendlyName', + type: { + name: 'String' + } + }, + culture: { + required: false, + read_only: true, + serialized_name: 'properties.culture', + type: { + name: 'String' + } + }, + device_model: { + required: false, + read_only: true, + serialized_name: 'properties.deviceModel', + type: { + name: 'String' + } + }, + device_software_version: { + required: false, + read_only: true, + serialized_name: 'properties.deviceSoftwareVersion', + type: { + name: 'String' + } + }, + device_local_capacity: { + required: false, + read_only: true, + serialized_name: 'properties.deviceLocalCapacity', + type: { + name: 'Number' + } + }, + time_zone: { + required: false, + read_only: true, + serialized_name: 'properties.timeZone', + type: { + name: 'String' + } + }, + device_hcs_version: { + required: false, + read_only: true, + serialized_name: 'properties.deviceHcsVersion', + type: { + name: 'String' + } + }, + configured_role_types: { + required: false, + read_only: true, + serialized_name: 'properties.configuredRoleTypes', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'RoleTypesElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_extended_info.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_extended_info.rb new file mode 100644 index 0000000000..c7275277fe --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_extended_info.rb @@ -0,0 +1,100 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # The extended Info of the Data Box Edge/Gateway device. + # + class DataBoxEdgeDeviceExtendedInfo < ARMBaseModel + + include MsRestAzure + + # @return [String] The Channel Integrity Key (CIK) of the device. + attr_accessor :integrity_key + + # @return [String] The certificate thumbprint that was used to encrypt + # the Channel Integrity Key (CIK). + attr_accessor :encryption_key_thumbprint + + # @return [String] The Channel Integrity Key (CIK) of the device. + attr_accessor :encryption_key + + # @return [String] The Resource Id of the Resource. + attr_accessor :resource_key + + + # + # Mapper for DataBoxEdgeDeviceExtendedInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DataBoxEdgeDeviceExtendedInfo', + type: { + name: 'Composite', + class_name: 'DataBoxEdgeDeviceExtendedInfo', + 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' + } + }, + integrity_key: { + required: true, + serialized_name: 'properties.integrityKey', + type: { + name: 'String' + } + }, + encryption_key_thumbprint: { + required: false, + serialized_name: 'properties.encryptionKeyThumbprint', + type: { + name: 'String' + } + }, + encryption_key: { + required: false, + serialized_name: 'properties.encryptionKey', + type: { + name: 'String' + } + }, + resource_key: { + required: false, + read_only: true, + serialized_name: 'properties.resourceKey', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_list.rb new file mode 100644 index 0000000000..0f09349f09 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_list.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The collection of Data Box Edge/Gateway devices. + # + class DataBoxEdgeDeviceList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The list of Data Box Edge/Gateway + # devices. + attr_accessor :value + + # @return [String] Link to the next set 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 [DataBoxEdgeDeviceList] 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 DataBoxEdgeDeviceList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DataBoxEdgeDeviceList', + type: { + name: 'Composite', + class_name: 'DataBoxEdgeDeviceList', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DataBoxEdgeDeviceElementType', + type: { + name: 'Composite', + class_name: 'DataBoxEdgeDevice' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_patch.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_patch.rb new file mode 100644 index 0000000000..0e99a60d92 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_patch.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The Data Box Edge/Gateway device patch. + # + class DataBoxEdgeDevicePatch + + include MsRestAzure + + # @return [Hash{String => String}] The tags attached to the Data Box + # Edge/Gateway resource. + attr_accessor :tags + + + # + # Mapper for DataBoxEdgeDevicePatch class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DataBoxEdgeDevicePatch', + type: { + name: 'Composite', + class_name: 'DataBoxEdgeDevicePatch', + 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_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_status.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_status.rb new file mode 100644 index 0000000000..09f9c2893e --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_box_edge_device_status.rb @@ -0,0 +1,20 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for DataBoxEdgeDeviceStatus + # + module DataBoxEdgeDeviceStatus + ReadyToSetup = "ReadyToSetup" + Online = "Online" + Offline = "Offline" + NeedsAttention = "NeedsAttention" + Disconnected = "Disconnected" + PartiallyDisconnected = "PartiallyDisconnected" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_policy.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_policy.rb new file mode 100644 index 0000000000..2f105f50b9 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/data_policy.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for DataPolicy + # + module DataPolicy + Cloud = "Cloud" + Local = "Local" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/day_of_week.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/day_of_week.rb new file mode 100644 index 0000000000..b03abe48e9 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/day_of_week.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for DayOfWeek + # + module DayOfWeek + Sunday = "Sunday" + Monday = "Monday" + Tuesday = "Tuesday" + Wednesday = "Wednesday" + Thursday = "Thursday" + Friday = "Friday" + Saturday = "Saturday" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/device_type.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/device_type.rb new file mode 100644 index 0000000000..8043703a76 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/device_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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for DeviceType + # + module DeviceType + DataBoxEdgeDevice = "DataBoxEdgeDevice" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/download_phase.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/download_phase.rb new file mode 100644 index 0000000000..2370fa6604 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/download_phase.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for DownloadPhase + # + module DownloadPhase + Unknown = "Unknown" + Initializing = "Initializing" + Downloading = "Downloading" + Verifying = "Verifying" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/encryption_algorithm.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/encryption_algorithm.rb new file mode 100644 index 0000000000..3744620638 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/encryption_algorithm.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for EncryptionAlgorithm + # + module EncryptionAlgorithm + None = "None" + AES256 = "AES256" + RSAESPKCS1V15 = "RSAES_PKCS1_v_1_5" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/file_event_trigger.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/file_event_trigger.rb new file mode 100644 index 0000000000..4e71994172 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/file_event_trigger.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Trigger details. + # + class FileEventTrigger < Trigger + + include MsRestAzure + + + def initialize + @kind = "FileEvent" + end + + attr_accessor :kind + + # @return [FileSourceInfo] File event source details. + attr_accessor :source_info + + # @return [RoleSinkInfo] Role Sink info. + attr_accessor :sink_info + + # @return [String] Custom context tag, typically used to co-relate the + # trigger against its usage. Eg. If a PeriodicTimer trigger may be + # intended for certain specific IOT modules in device, the tag can be the + # name/image url of the module. + attr_accessor :custom_context_tag + + + # + # Mapper for FileEventTrigger class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FileEvent', + type: { + name: 'Composite', + class_name: 'FileEventTrigger', + 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: true, + serialized_name: 'kind', + type: { + name: 'String' + } + }, + source_info: { + required: false, + serialized_name: 'properties.sourceInfo', + type: { + name: 'Composite', + class_name: 'FileSourceInfo' + } + }, + sink_info: { + required: false, + serialized_name: 'properties.sinkInfo', + type: { + name: 'Composite', + class_name: 'RoleSinkInfo' + } + }, + custom_context_tag: { + required: false, + serialized_name: 'properties.customContextTag', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/file_source_info.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/file_source_info.rb new file mode 100644 index 0000000000..0ce7ca1855 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/file_source_info.rb @@ -0,0 +1,44 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Compute::Mgmt::V2018_07_01 + module Models + # + # File source details. + # + class FileSourceInfo + + include MsRestAzure + + # @return [String] File share ID. + attr_accessor :share_id + + + # + # Mapper for FileSourceInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FileSourceInfo', + type: { + name: 'Composite', + class_name: 'FileSourceInfo', + model_properties: { + share_id: { + required: true, + serialized_name: 'shareId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/install_reboot_behavior.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/install_reboot_behavior.rb new file mode 100644 index 0000000000..9ce23afb3a --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/install_reboot_behavior.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for InstallRebootBehavior + # + module InstallRebootBehavior + NeverReboots = "NeverReboots" + RequiresReboot = "RequiresReboot" + RequestReboot = "RequestReboot" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/io_tdevice_info.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/io_tdevice_info.rb new file mode 100644 index 0000000000..421d85abd0 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/io_tdevice_info.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Metadata of IoT device/IoT edge device to be configured. + # + class IoTDeviceInfo + + include MsRestAzure + + # @return [String] Id of the IoT device/edge device. + attr_accessor :device_id + + # @return [String] Host name for IoT hub which is associated to the + # device. + attr_accessor :io_thost_hub + + # @return [Authentication] IoT device authentication info. + attr_accessor :authentication + + + # + # Mapper for IoTDeviceInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'IoTDeviceInfo', + type: { + name: 'Composite', + class_name: 'IoTDeviceInfo', + model_properties: { + device_id: { + required: true, + serialized_name: 'deviceId', + type: { + name: 'String' + } + }, + io_thost_hub: { + required: true, + serialized_name: 'ioTHostHub', + type: { + name: 'String' + } + }, + authentication: { + required: false, + serialized_name: 'authentication', + type: { + name: 'Composite', + class_name: 'Authentication' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/io_trole.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/io_trole.rb new file mode 100644 index 0000000000..e9421c08a2 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/io_trole.rb @@ -0,0 +1,136 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Compute role. + # + class IoTRole < Role + + include MsRestAzure + + + def initialize + @kind = "IOT" + end + + attr_accessor :kind + + # @return [PlatformType] Host OS which IoT role support. Possible values + # include: 'Windows', 'Linux' + attr_accessor :host_platform + + # @return [IoTDeviceInfo] IoT device metadata to which data box edge + # device needs to be connected. + attr_accessor :io_tdevice_details + + # @return [IoTDeviceInfo] IoT edge device to which the IoT role needs to + # be configured. + attr_accessor :io_tedge_device_details + + # @return [Array] Mount points of shares in role(s). + attr_accessor :share_mappings + + # @return [RoleStatus] Role status. Possible values include: 'Enabled', + # 'Disabled' + attr_accessor :role_status + + + # + # Mapper for IoTRole class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'IOT', + type: { + name: 'Composite', + class_name: 'IoTRole', + 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: true, + serialized_name: 'kind', + type: { + name: 'String' + } + }, + host_platform: { + required: true, + serialized_name: 'properties.hostPlatform', + type: { + name: 'String' + } + }, + io_tdevice_details: { + required: true, + serialized_name: 'properties.ioTDeviceDetails', + type: { + name: 'Composite', + class_name: 'IoTDeviceInfo' + } + }, + io_tedge_device_details: { + required: true, + serialized_name: 'properties.ioTEdgeDeviceDetails', + type: { + name: 'Composite', + class_name: 'IoTDeviceInfo' + } + }, + share_mappings: { + required: false, + serialized_name: 'properties.shareMappings', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'MountPointMapElementType', + type: { + name: 'Composite', + class_name: 'MountPointMap' + } + } + } + }, + role_status: { + required: true, + serialized_name: 'properties.roleStatus', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/ipv4config.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/ipv4config.rb new file mode 100644 index 0000000000..ec33cfa56a --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/ipv4config.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Details related to the IPv4 address configuration. + # + class Ipv4Config + + include MsRestAzure + + # @return [String] The IPv4 address of the network adapter. + attr_accessor :ip_address + + # @return [String] The IPv4 subnet of the network adapter. + attr_accessor :subnet + + # @return [String] The IPv4 gateway of the network adapter. + attr_accessor :gateway + + + # + # Mapper for Ipv4Config class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Ipv4Config', + type: { + name: 'Composite', + class_name: 'Ipv4Config', + model_properties: { + ip_address: { + required: false, + read_only: true, + serialized_name: 'ipAddress', + type: { + name: 'String' + } + }, + subnet: { + required: false, + read_only: true, + serialized_name: 'subnet', + type: { + name: 'String' + } + }, + gateway: { + required: false, + read_only: true, + serialized_name: 'gateway', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/ipv6config.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/ipv6config.rb new file mode 100644 index 0000000000..51ac2cab47 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/ipv6config.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Details related to the IPv6 address configuration. + # + class Ipv6Config + + include MsRestAzure + + # @return [String] The IPv6 address of the network adapter. + attr_accessor :ip_address + + # @return [Integer] The IPv6 prefix of the network adapter. + attr_accessor :prefix_length + + # @return [String] The IPv6 gateway of the network adapter. + attr_accessor :gateway + + + # + # Mapper for Ipv6Config class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Ipv6Config', + type: { + name: 'Composite', + class_name: 'Ipv6Config', + model_properties: { + ip_address: { + required: false, + read_only: true, + serialized_name: 'ipAddress', + type: { + name: 'String' + } + }, + prefix_length: { + required: false, + read_only: true, + serialized_name: 'prefixLength', + type: { + name: 'Number' + } + }, + gateway: { + required: false, + read_only: true, + serialized_name: 'gateway', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job.rb new file mode 100644 index 0000000000..4b15400f48 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job.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::Compute::Mgmt::V2018_07_01 + module Models + # + # A device job. + # + class Job + + include MsRestAzure + + # @return [String] The path ID that uniquely identifies the object. + attr_accessor :id + + # @return [String] The name of the object. + attr_accessor :name + + # @return [String] The hierarchical type of the object. + attr_accessor :type + + # @return [JobStatus] The current status of the job. Possible values + # include: 'Invalid', 'Running', 'Succeeded', 'Failed', 'Canceled', + # 'Paused', 'Scheduled' + attr_accessor :status + + # @return [DateTime] The UTC datetime at which the job was started. + attr_accessor :start_time + + # @return [DateTime] The UTC datetime at which the job completed. + attr_accessor :end_time + + # @return [Integer] The percentage of the job that is already complete. + attr_accessor :percent_complete + + # @return [JobErrorDetails] The Error details. + attr_accessor :error + + # @return [JobType] The type of the job. Possible values include: + # 'Invalid', 'ScanForUpdates', 'DownloadUpdates', 'InstallUpdates', + # 'RefreshShare' + attr_accessor :job_type + + # @return [UpdateOperationStage] Current stage of the update operation. + # Possible values include: 'Unknown', 'Initial', 'ScanStarted', + # 'ScanComplete', 'ScanFailed', 'DownloadStarted', 'DownloadComplete', + # 'DownloadFailed', 'InstallStarted', 'InstallComplete', 'InstallFailed', + # 'RebootInitiated', 'Success', 'Failure', 'RescanStarted', + # 'RescanComplete', 'RescanFailed' + attr_accessor :current_stage + + # @return [UpdateDownloadProgress] The download progress. + attr_accessor :download_progress + + # @return [UpdateInstallProgress] The install progress. + attr_accessor :install_progress + + # @return [Integer] Total number of errors encountered during the refresh + # process. + attr_accessor :total_refresh_errors + + # @return [String] Local Share/Remote Container relative path to the + # error manifest file of the refresh. + attr_accessor :error_manifest_file + + # @return [String] ARM id of the Share on which the Refresh operation was + # done. + attr_accessor :share_id + + # @return [String] If only subfolders need to be refreshed, then the sub + # folder path inside the share. Empty otherwise. + attr_accessor :folder + + + # + # 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' + } + }, + status: { + required: false, + read_only: true, + serialized_name: 'status', + type: { + name: 'String' + } + }, + start_time: { + required: false, + read_only: true, + serialized_name: 'startTime', + type: { + name: 'DateTime' + } + }, + end_time: { + required: false, + read_only: true, + serialized_name: 'endTime', + type: { + name: 'DateTime' + } + }, + percent_complete: { + required: false, + read_only: true, + serialized_name: 'percentComplete', + type: { + name: 'Number' + } + }, + error: { + required: false, + read_only: true, + serialized_name: 'error', + type: { + name: 'Composite', + class_name: 'JobErrorDetails' + } + }, + job_type: { + required: false, + read_only: true, + serialized_name: 'properties.jobType', + type: { + name: 'String' + } + }, + current_stage: { + required: false, + read_only: true, + serialized_name: 'properties.currentStage', + type: { + name: 'String' + } + }, + download_progress: { + required: false, + read_only: true, + serialized_name: 'properties.downloadProgress', + type: { + name: 'Composite', + class_name: 'UpdateDownloadProgress' + } + }, + install_progress: { + required: false, + read_only: true, + serialized_name: 'properties.installProgress', + type: { + name: 'Composite', + class_name: 'UpdateInstallProgress' + } + }, + total_refresh_errors: { + required: false, + read_only: true, + serialized_name: 'properties.totalRefreshErrors', + type: { + name: 'Number' + } + }, + error_manifest_file: { + required: false, + read_only: true, + serialized_name: 'properties.errorManifestFile', + type: { + name: 'String' + } + }, + share_id: { + required: false, + read_only: true, + serialized_name: 'properties.shareId', + type: { + name: 'String' + } + }, + folder: { + required: false, + serialized_name: 'properties.folder', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_details.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_details.rb new file mode 100644 index 0000000000..25b6686dce --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_details.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The job error information containing List of JobErrorItem. + # + class JobErrorDetails + + include MsRestAzure + + # @return [Array] The error details. + attr_accessor :error_details + + # @return [String] The code intended for programmatic access. + attr_accessor :code + + # @return [String] The message intended to describe the error in detail. + attr_accessor :message + + + # + # Mapper for JobErrorDetails class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobErrorDetails', + type: { + name: 'Composite', + class_name: 'JobErrorDetails', + model_properties: { + error_details: { + required: false, + read_only: true, + serialized_name: 'errorDetails', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'JobErrorItemElementType', + type: { + name: 'Composite', + class_name: 'JobErrorItem' + } + } + } + }, + code: { + required: false, + read_only: true, + serialized_name: 'code', + type: { + name: 'String' + } + }, + message: { + required: false, + read_only: true, + serialized_name: 'message', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_item.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_item.rb new file mode 100644 index 0000000000..a93a684213 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_error_item.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The job error items. + # + class JobErrorItem + + include MsRestAzure + + # @return [Array] The recommended actions. + attr_accessor :recommendations + + # @return [String] The code intended for programmatic access. + attr_accessor :code + + # @return [String] The message intended to describe the error in detail. + attr_accessor :message + + + # + # Mapper for JobErrorItem class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'JobErrorItem', + type: { + name: 'Composite', + class_name: 'JobErrorItem', + model_properties: { + recommendations: { + required: false, + read_only: true, + serialized_name: 'recommendations', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + code: { + required: false, + read_only: true, + serialized_name: 'code', + type: { + name: 'String' + } + }, + message: { + required: false, + read_only: true, + serialized_name: 'message', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_status.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_status.rb new file mode 100644 index 0000000000..751eefdf3d --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_status.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for JobStatus + # + module JobStatus + Invalid = "Invalid" + Running = "Running" + Succeeded = "Succeeded" + Failed = "Failed" + Canceled = "Canceled" + Paused = "Paused" + Scheduled = "Scheduled" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_type.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_type.rb new file mode 100644 index 0000000000..19e8005122 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/job_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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for JobType + # + module JobType + Invalid = "Invalid" + ScanForUpdates = "ScanForUpdates" + DownloadUpdates = "DownloadUpdates" + InstallUpdates = "InstallUpdates" + RefreshShare = "RefreshShare" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_aggregation_type.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_aggregation_type.rb new file mode 100644 index 0000000000..9c1f0607e2 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_aggregation_type.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for MetricAggregationType + # + module MetricAggregationType + NotSpecified = "NotSpecified" + None = "None" + Average = "Average" + Minimum = "Minimum" + Maximum = "Maximum" + Total = "Total" + Count = "Count" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_category.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_category.rb new file mode 100644 index 0000000000..7b6f01db4b --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_category.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for MetricCategory + # + module MetricCategory + Capacity = "Capacity" + Transaction = "Transaction" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_dimension_v1.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_dimension_v1.rb new file mode 100644 index 0000000000..6acb3f9d2c --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_dimension_v1.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Metric Dimension v1. + # + class MetricDimensionV1 + + include MsRestAzure + + # @return [String] Name of the metrics dimension. + attr_accessor :name + + # @return [String] Display name of the metrics dimension. + attr_accessor :display_name + + # @return [Boolean] To be exported to shoe box. + attr_accessor :to_be_exported_for_shoebox + + + # + # Mapper for MetricDimensionV1 class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'MetricDimension_V1', + type: { + name: 'Composite', + class_name: 'MetricDimensionV1', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + display_name: { + required: false, + serialized_name: 'displayName', + type: { + name: 'String' + } + }, + to_be_exported_for_shoebox: { + required: false, + serialized_name: 'toBeExportedForShoebox', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_specification_v1.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_specification_v1.rb new file mode 100644 index 0000000000..7097113c67 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_specification_v1.rb @@ -0,0 +1,172 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Metric specification version 1. + # + class MetricSpecificationV1 + + include MsRestAzure + + # @return [String] Name of the metric. + attr_accessor :name + + # @return [String] Display name of the metric. + attr_accessor :display_name + + # @return [String] Description of the metric to be displayed. + attr_accessor :display_description + + # @return [MetricUnit] Metric units. Possible values include: + # 'NotSpecified', 'Percent', 'Count', 'Seconds', 'Milliseconds', 'Bytes', + # 'BytesPerSecond', 'CountPerSecond' + attr_accessor :unit + + # @return [MetricAggregationType] Metric aggregation type. Possible + # values include: 'NotSpecified', 'None', 'Average', 'Minimum', + # 'Maximum', 'Total', 'Count' + attr_accessor :aggregation_type + + # @return [Array] Metric dimensions, other than + # default dimension which is resource. + attr_accessor :dimensions + + # @return [Boolean] set true to fill the gaps with zero. + attr_accessor :fill_gap_with_zero + + # @return [MetricCategory] Metric category. Possible values include: + # 'Capacity', 'Transaction' + attr_accessor :category + + # @return [String] Resource name override. + attr_accessor :resource_id_dimension_name_override + + # @return [Array] Support granularity of metrics. + attr_accessor :supported_time_grain_types + + # @return [Array] Support metric aggregation type. + attr_accessor :supported_aggregation_types + + + # + # Mapper for MetricSpecificationV1 class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'MetricSpecification_V1', + type: { + name: 'Composite', + class_name: 'MetricSpecificationV1', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + display_name: { + required: false, + serialized_name: 'displayName', + type: { + name: 'String' + } + }, + display_description: { + required: false, + serialized_name: 'displayDescription', + type: { + name: 'String' + } + }, + unit: { + required: false, + serialized_name: 'unit', + type: { + name: 'String' + } + }, + aggregation_type: { + required: false, + serialized_name: 'aggregationType', + type: { + name: 'String' + } + }, + dimensions: { + required: false, + serialized_name: 'dimensions', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'MetricDimensionV1ElementType', + type: { + name: 'Composite', + class_name: 'MetricDimensionV1' + } + } + } + }, + fill_gap_with_zero: { + required: false, + serialized_name: 'fillGapWithZero', + type: { + name: 'Boolean' + } + }, + category: { + required: false, + serialized_name: 'category', + type: { + name: 'String' + } + }, + resource_id_dimension_name_override: { + required: false, + serialized_name: 'resourceIdDimensionNameOverride', + type: { + name: 'String' + } + }, + supported_time_grain_types: { + required: false, + serialized_name: 'supportedTimeGrainTypes', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TimeGrainElementType', + type: { + name: 'String' + } + } + } + }, + supported_aggregation_types: { + required: false, + serialized_name: 'supportedAggregationTypes', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'MetricAggregationTypeElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_unit.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_unit.rb new file mode 100644 index 0000000000..89b3557d93 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/metric_unit.rb @@ -0,0 +1,22 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Defines values for MetricUnit + # + module MetricUnit + NotSpecified = "NotSpecified" + Percent = "Percent" + Count = "Count" + Seconds = "Seconds" + Milliseconds = "Milliseconds" + Bytes = "Bytes" + BytesPerSecond = "BytesPerSecond" + CountPerSecond = "CountPerSecond" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/monitoring_status.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/monitoring_status.rb new file mode 100644 index 0000000000..0f7f570a52 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/monitoring_status.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for MonitoringStatus + # + module MonitoringStatus + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/mount_point_map.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/mount_point_map.rb new file mode 100644 index 0000000000..f57b9e7527 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/mount_point_map.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The share mount point. + # + class MountPointMap + + include MsRestAzure + + # @return [String] ID of the share which is mounted to role VM. + attr_accessor :share_id + + # @return [String] ID of the role to which share is mounted. + attr_accessor :role_id + + # @return [String] Mount point for the share. + attr_accessor :mount_point + + # @return [RoleTypes] Role type. Possible values include: 'IOT', 'ASA', + # 'Functions', 'Cognitive' + attr_accessor :role_type + + + # + # Mapper for MountPointMap class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'MountPointMap', + type: { + name: 'Composite', + class_name: 'MountPointMap', + model_properties: { + share_id: { + required: true, + serialized_name: 'shareId', + type: { + name: 'String' + } + }, + role_id: { + required: false, + read_only: true, + serialized_name: 'roleId', + type: { + name: 'String' + } + }, + mount_point: { + required: false, + read_only: true, + serialized_name: 'mountPoint', + type: { + name: 'String' + } + }, + role_type: { + required: false, + read_only: true, + serialized_name: 'roleType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter.rb new file mode 100644 index 0000000000..d9c0c75f01 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter.rb @@ -0,0 +1,212 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Represents the networkAdapter on a device. + # + class NetworkAdapter + + include MsRestAzure + + # @return [String] Instance ID of network adapter. + attr_accessor :adapter_id + + # @return [NetworkAdapterPosition] Hardware position of network adapter. + attr_accessor :adapter_position + + # @return [Integer] Logical index of the adapter. + attr_accessor :index + + # @return [String] Node ID of the network adapter. + attr_accessor :node_id + + # @return [String] Network Adapter Name. + attr_accessor :network_adapter_name + + # @return [String] Hardware label for the adapter. + attr_accessor :label + + # @return [String] MAC Address. + attr_accessor :mac_address + + # @return [Integer] Link Speed. + attr_accessor :link_speed + + # @return [NetworkAdapterStatus] Value indicating whether this adapter is + # valid. Possible values include: 'Inactive', 'Active' + attr_accessor :status + + # @return [NetworkAdapterRDMAStatus] Value indicating whether this + # adapter is RDMA Capable. Possible values include: 'Incapable', + # 'Capable' + attr_accessor :rdma_status + + # @return [NetworkAdapterDHCPStatus] Value indicating whether this + # adapter has DHCP Enabled. Possible values include: 'Disabled', + # 'Enabled' + attr_accessor :dhcp_status + + # @return [Ipv4Config] The IPv4 configuration of the network adapter. + attr_accessor :ipv4configuration + + # @return [Ipv6Config] The IPv6 configuration of the network adapter. + attr_accessor :ipv6configuration + + # @return [String] The IPv6 local address. + attr_accessor :ipv6link_local_address + + # @return [Array] The list DNS Servers of the device. + attr_accessor :dns_servers + + + # + # Mapper for NetworkAdapter class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NetworkAdapter', + type: { + name: 'Composite', + class_name: 'NetworkAdapter', + model_properties: { + adapter_id: { + required: false, + read_only: true, + serialized_name: 'adapterId', + type: { + name: 'String' + } + }, + adapter_position: { + required: false, + read_only: true, + serialized_name: 'adapterPosition', + type: { + name: 'Composite', + class_name: 'NetworkAdapterPosition' + } + }, + index: { + required: false, + read_only: true, + serialized_name: 'index', + type: { + name: 'Number' + } + }, + node_id: { + required: false, + read_only: true, + serialized_name: 'nodeId', + type: { + name: 'String' + } + }, + network_adapter_name: { + required: false, + read_only: true, + serialized_name: 'networkAdapterName', + type: { + name: 'String' + } + }, + label: { + required: false, + read_only: true, + serialized_name: 'label', + type: { + name: 'String' + } + }, + mac_address: { + required: false, + read_only: true, + serialized_name: 'macAddress', + type: { + name: 'String' + } + }, + link_speed: { + required: false, + read_only: true, + serialized_name: 'linkSpeed', + type: { + name: 'Number' + } + }, + status: { + required: false, + read_only: true, + serialized_name: 'status', + type: { + name: 'String' + } + }, + rdma_status: { + required: false, + serialized_name: 'rdmaStatus', + type: { + name: 'String' + } + }, + dhcp_status: { + required: false, + serialized_name: 'dhcpStatus', + type: { + name: 'String' + } + }, + ipv4configuration: { + required: false, + read_only: true, + serialized_name: 'ipv4Configuration', + type: { + name: 'Composite', + class_name: 'Ipv4Config' + } + }, + ipv6configuration: { + required: false, + read_only: true, + serialized_name: 'ipv6Configuration', + type: { + name: 'Composite', + class_name: 'Ipv6Config' + } + }, + ipv6link_local_address: { + required: false, + read_only: true, + serialized_name: 'ipv6LinkLocalAddress', + type: { + name: 'String' + } + }, + dns_servers: { + required: false, + read_only: true, + serialized_name: 'dnsServers', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_dhcpstatus.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_dhcpstatus.rb new file mode 100644 index 0000000000..7a51c364b8 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_dhcpstatus.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for NetworkAdapterDHCPStatus + # + module NetworkAdapterDHCPStatus + Disabled = "Disabled" + Enabled = "Enabled" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_position.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_position.rb new file mode 100644 index 0000000000..9e46250636 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_position.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The network adapter position. + # + class NetworkAdapterPosition + + include MsRestAzure + + # @return [NetworkGroup] The network group. Possible values include: + # 'None', 'NonRDMA', 'RDMA' + attr_accessor :network_group + + # @return [Integer] The port. + attr_accessor :port + + + # + # Mapper for NetworkAdapterPosition class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NetworkAdapterPosition', + type: { + name: 'Composite', + class_name: 'NetworkAdapterPosition', + model_properties: { + network_group: { + required: false, + read_only: true, + serialized_name: 'networkGroup', + type: { + name: 'String' + } + }, + port: { + required: false, + read_only: true, + serialized_name: 'port', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_rdmastatus.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_rdmastatus.rb new file mode 100644 index 0000000000..537bfe1c8d --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_rdmastatus.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for NetworkAdapterRDMAStatus + # + module NetworkAdapterRDMAStatus + Incapable = "Incapable" + Capable = "Capable" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_status.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_status.rb new file mode 100644 index 0000000000..fc83221015 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_adapter_status.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for NetworkAdapterStatus + # + module NetworkAdapterStatus + Inactive = "Inactive" + Active = "Active" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_group.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_group.rb new file mode 100644 index 0000000000..20f652b998 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_group.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for NetworkGroup + # + module NetworkGroup + None = "None" + NonRDMA = "NonRDMA" + RDMA = "RDMA" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_settings.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_settings.rb new file mode 100644 index 0000000000..3232e7891f --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/network_settings.rb @@ -0,0 +1,77 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # The NetworkSettings of a device. + # + class NetworkSettings < ARMBaseModel + + include MsRestAzure + + # @return [Array] The network adapter list on the device. + attr_accessor :network_adapters + + + # + # Mapper for NetworkSettings class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NetworkSettings', + type: { + name: 'Composite', + class_name: 'NetworkSettings', + 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' + } + }, + network_adapters: { + required: false, + read_only: true, + serialized_name: 'properties.networkAdapters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'NetworkAdapterElementType', + type: { + name: 'Composite', + class_name: 'NetworkAdapter' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operation.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operation.rb new file mode 100644 index 0000000000..9d727ae008 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operation.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Operations. + # + class Operation + + include MsRestAzure + + # @return [String] Name of the operation. + attr_accessor :name + + # @return [OperationDisplay] Properties to displayed for the operation. + attr_accessor :display + + # @return [String] Origin of the operation. + attr_accessor :origin + + # @return [ServiceSpecification] Service specification. + attr_accessor :service_specification + + + # + # Mapper for Operation class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Operation', + type: { + name: 'Composite', + class_name: 'Operation', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + display: { + required: false, + serialized_name: 'display', + type: { + name: 'Composite', + class_name: 'OperationDisplay' + } + }, + origin: { + required: false, + serialized_name: 'origin', + type: { + name: 'String' + } + }, + service_specification: { + required: false, + serialized_name: 'properties.serviceSpecification', + type: { + name: 'Composite', + class_name: 'ServiceSpecification' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operation_display.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operation_display.rb new file mode 100644 index 0000000000..852903bb8a --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operation_display.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Operation display properties. + # + class OperationDisplay + + include MsRestAzure + + # @return [String] Provider name. + attr_accessor :provider + + # @return [String] The type of resource in which the operation is + # performed. + attr_accessor :resource + + # @return [String] Operation to be performed on the resource. + attr_accessor :operation + + # @return [String] Description of the operation to be performed. + attr_accessor :description + + + # + # Mapper for OperationDisplay class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationDisplay', + type: { + name: 'Composite', + class_name: 'OperationDisplay', + model_properties: { + provider: { + required: false, + serialized_name: 'provider', + type: { + name: 'String' + } + }, + resource: { + required: false, + serialized_name: 'resource', + type: { + name: 'String' + } + }, + operation: { + required: false, + serialized_name: 'operation', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'description', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operations_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operations_list.rb new file mode 100644 index 0000000000..9e9d73c37d --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/operations_list.rb @@ -0,0 +1,95 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Class for set of operations used for discovery of available provider + # operations. + # + class OperationsList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The value. + attr_accessor :value + + # @return [String] Link to the next set 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 [OperationsList] 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 OperationsList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationsList', + type: { + name: 'Composite', + class_name: 'OperationsList', + model_properties: { + value: { + required: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OperationElementType', + type: { + name: 'Composite', + class_name: 'Operation' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order.rb new file mode 100644 index 0000000000..3bf413d7e0 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order.rb @@ -0,0 +1,163 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # The order details. + # + class Order < ARMBaseModel + + include MsRestAzure + + # @return [ContactDetails] The contact details. + attr_accessor :contact_information + + # @return [Address] The shipping address. + attr_accessor :shipping_address + + # @return [OrderStatus] Current status of the Order. + attr_accessor :change_status_to + + # @return [Array] List of status changes in the order. + attr_accessor :order_history + + # @return [String] Serial number of the device. + attr_accessor :serial_number + + # @return [Array] Tracking information related to the + # packages being delivered to the customer whether original or + # replacement devices. + attr_accessor :delivery_tracking_info + + # @return [Array] Tracking information related to the + # package being returned from the customer whether original or + # replacement devices. + attr_accessor :return_tracking_info + + + # + # Mapper for Order class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Order', + type: { + name: 'Composite', + class_name: 'Order', + 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' + } + }, + contact_information: { + required: false, + serialized_name: 'properties.contactInformation', + type: { + name: 'Composite', + class_name: 'ContactDetails' + } + }, + shipping_address: { + required: false, + serialized_name: 'properties.shippingAddress', + type: { + name: 'Composite', + class_name: 'Address' + } + }, + change_status_to: { + required: false, + serialized_name: 'properties.changeStatusTo', + type: { + name: 'Composite', + class_name: 'OrderStatus' + } + }, + order_history: { + required: false, + read_only: true, + serialized_name: 'properties.orderHistory', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OrderStatusElementType', + type: { + name: 'Composite', + class_name: 'OrderStatus' + } + } + } + }, + serial_number: { + required: false, + read_only: true, + serialized_name: 'properties.serialNumber', + type: { + name: 'String' + } + }, + delivery_tracking_info: { + required: false, + read_only: true, + serialized_name: 'properties.deliveryTrackingInfo', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TrackingInfoElementType', + type: { + name: 'Composite', + class_name: 'TrackingInfo' + } + } + } + }, + return_tracking_info: { + required: false, + read_only: true, + serialized_name: 'properties.returnTrackingInfo', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TrackingInfoElementType', + type: { + name: 'Composite', + class_name: 'TrackingInfo' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order_list.rb new file mode 100644 index 0000000000..43436684eb --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order_list.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::Compute::Mgmt::V2018_07_01 + module Models + # + # List of order entities. + # + class OrderList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The list of orders. + attr_accessor :value + + # @return [String] Link to the next set 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 [OrderList] 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 OrderList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OrderList', + type: { + name: 'Composite', + class_name: 'OrderList', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OrderElementType', + type: { + name: 'Composite', + class_name: 'Order' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order_status.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order_status.rb new file mode 100644 index 0000000000..397f5ebfd2 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/order_status.rb @@ -0,0 +1,70 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Represents a single status change. + # + class OrderStatus + + include MsRestAzure + + # @return [StatusTypes] Status of the order pertaining to the allowed + # StatusTypes. Possible values include: 'Untracked', + # 'AwaitingFulfilment', 'AwaitingPreparation', 'AwaitingShipment', + # 'Shipped', 'Arriving', 'Delivered', 'ReplacementRequested', + # 'LostDevice', 'Declined', 'ReturnInitiated', 'AwaitingReturnShipment', + # 'ShippedBack', 'CollectedAtMicrosoft' + attr_accessor :status + + # @return [DateTime] Time of status update. + attr_accessor :update_date_time + + # @return [String] Comments related to this status change. + attr_accessor :comments + + + # + # Mapper for OrderStatus class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OrderStatus', + type: { + name: 'Composite', + class_name: 'OrderStatus', + model_properties: { + status: { + required: true, + serialized_name: 'status', + type: { + name: 'String' + } + }, + update_date_time: { + required: false, + read_only: true, + serialized_name: 'updateDateTime', + type: { + name: 'DateTime' + } + }, + comments: { + required: false, + serialized_name: 'comments', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_event_trigger.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_event_trigger.rb new file mode 100644 index 0000000000..54a8105f4b --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_event_trigger.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Trigger details. + # + class PeriodicTimerEventTrigger < Trigger + + include MsRestAzure + + + def initialize + @kind = "PeriodicTimerEvent" + end + + attr_accessor :kind + + # @return [PeriodicTimerSourceInfo] Periodic timer details. + attr_accessor :source_info + + # @return [RoleSinkInfo] Role Sink info. + attr_accessor :sink_info + + # @return [String] Custom context tag, typically used to co-relate the + # trigger against its usage. Eg. If a PeriodicTimer trigger may be + # intended for certain specific IOT modules in device, the tag can be the + # name/image url of the module. + attr_accessor :custom_context_tag + + + # + # Mapper for PeriodicTimerEventTrigger class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'PeriodicTimerEvent', + type: { + name: 'Composite', + class_name: 'PeriodicTimerEventTrigger', + 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: true, + serialized_name: 'kind', + type: { + name: 'String' + } + }, + source_info: { + required: false, + serialized_name: 'properties.sourceInfo', + type: { + name: 'Composite', + class_name: 'PeriodicTimerSourceInfo' + } + }, + sink_info: { + required: false, + serialized_name: 'properties.sinkInfo', + type: { + name: 'Composite', + class_name: 'RoleSinkInfo' + } + }, + custom_context_tag: { + required: false, + serialized_name: 'properties.customContextTag', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_source_info.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_source_info.rb new file mode 100644 index 0000000000..d34d78cde6 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/periodic_timer_source_info.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Periodic timer event source. + # + class PeriodicTimerSourceInfo + + include MsRestAzure + + # @return [DateTime] Time time [UTC] of the day, from which the trigger + # will be valid. Schedule will be computed with reference to the time + # specified. + attr_accessor :start_time + + # @return [String] Periodic frequency at which timer event needs to be + # raised. Supports Daily, Hourly, Minutes and seconds. + attr_accessor :schedule + + # @return [String] Topic with which periodic events needs to be published + # to IOT device. + attr_accessor :topic + + + # + # Mapper for PeriodicTimerSourceInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'PeriodicTimerSourceInfo', + type: { + name: 'Composite', + class_name: 'PeriodicTimerSourceInfo', + model_properties: { + start_time: { + required: true, + serialized_name: 'startTime', + type: { + name: 'DateTime' + } + }, + schedule: { + required: true, + serialized_name: 'schedule', + type: { + name: 'String' + } + }, + topic: { + required: false, + serialized_name: 'topic', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/platform_type.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/platform_type.rb new file mode 100644 index 0000000000..83a4e60561 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/platform_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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for PlatformType + # + module PlatformType + Windows = "Windows" + Linux = "Linux" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/refresh_details.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/refresh_details.rb new file mode 100644 index 0000000000..3a6732ea22 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/refresh_details.rb @@ -0,0 +1,81 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Compute::Mgmt::V2018_07_01 + module Models + # + # Fields for tracking refresh job on the share. + # + class RefreshDetails + + include MsRestAzure + + # @return [String] If a RefreshShare job is currently inprogress on this + # share - this field indicates the ArmId of that job. Empty otherwise. + attr_accessor :in_progress_refresh_job_id + + # @return [DateTime] Indicates the job completed time of the last refresh + # job on this particular share, if any. + # This could be a failed job or a successful job. + attr_accessor :last_completed_refresh_job_time_in_utc + + # @return [String] Indicates the relative path of the error xml for the + # last refresh job on this particular share, if any. + # This could be a failed job or a successful job. + attr_accessor :error_manifest_file + + # @return [String] Indicates the id of the last refresh job on this + # particular share,if any. + # This could be a failed job or a successful job. + attr_accessor :last_job + + + # + # Mapper for RefreshDetails class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RefreshDetails', + type: { + name: 'Composite', + class_name: 'RefreshDetails', + model_properties: { + in_progress_refresh_job_id: { + required: false, + serialized_name: 'inProgressRefreshJobId', + type: { + name: 'String' + } + }, + last_completed_refresh_job_time_in_utc: { + required: false, + serialized_name: 'lastCompletedRefreshJobTimeInUTC', + type: { + name: 'DateTime' + } + }, + error_manifest_file: { + required: false, + serialized_name: 'errorManifestFile', + type: { + name: 'String' + } + }, + last_job: { + required: false, + serialized_name: 'lastJob', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role.rb new file mode 100644 index 0000000000..8059293e9b --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Compute role. + # + class Role < ARMBaseModel + + include MsRestAzure + + + def initialize + @kind = "Role" + end + + attr_accessor :kind + + + # + # Mapper for Role class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Role', + type: { + name: 'Composite', + polymorphic_discriminator: 'kind', + uber_parent: 'ARMBaseModel', + class_name: 'Role', + 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_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_list.rb new file mode 100644 index 0000000000..6a58382e19 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_list.rb @@ -0,0 +1,98 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Collection of all role on the data box edge device. + # + class RoleList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The Value. + attr_accessor :value + + # @return [String] Link to the next set 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 [RoleList] 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 RoleList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RoleList', + type: { + name: 'Composite', + class_name: 'RoleList', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'RoleElementType', + type: { + name: 'Composite', + polymorphic_discriminator: 'kind', + uber_parent: 'ARMBaseModel', + class_name: 'Role' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_sink_info.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_sink_info.rb new file mode 100644 index 0000000000..daa2a38796 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_sink_info.rb @@ -0,0 +1,44 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Compute::Mgmt::V2018_07_01 + module Models + # + # Compute role against which events will be raised. + # + class RoleSinkInfo + + include MsRestAzure + + # @return [String] Compute role ID. + attr_accessor :role_id + + + # + # Mapper for RoleSinkInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RoleSinkInfo', + type: { + name: 'Composite', + class_name: 'RoleSinkInfo', + model_properties: { + role_id: { + required: true, + serialized_name: 'roleId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_status.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_status.rb new file mode 100644 index 0000000000..14f3af9e20 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_status.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for RoleStatus + # + module RoleStatus + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_types.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_types.rb new file mode 100644 index 0000000000..64cdce061b --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/role_types.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for RoleTypes + # + module RoleTypes + IOT = "IOT" + ASA = "ASA" + Functions = "Functions" + Cognitive = "Cognitive" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/security_settings.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/security_settings.rb new file mode 100644 index 0000000000..529f7d42ad --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/security_settings.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The security settings of a device. + # + class SecuritySettings < ARMBaseModel + + include MsRestAzure + + # @return [AsymmetricEncryptedSecret] Device administrator password as an + # encrypted string (encrypted using RSA PKCS #1) is used to log into the + # local web UI of the device. Actual password could have at least 8 + # characters that are a combination of uppercase, lowercase, numeric, + # and special characters. + attr_accessor :device_admin_password + + + # + # Mapper for SecuritySettings class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SecuritySettings', + type: { + name: 'Composite', + class_name: 'SecuritySettings', + 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' + } + }, + device_admin_password: { + required: true, + serialized_name: 'properties.deviceAdminPassword', + type: { + name: 'Composite', + class_name: 'AsymmetricEncryptedSecret' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/service_specification.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/service_specification.rb new file mode 100644 index 0000000000..5f68791596 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/service_specification.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Service specification. + # + class ServiceSpecification + + include MsRestAzure + + # @return [Array] Metric specification as defined + # by shoebox. + attr_accessor :metric_specifications + + + # + # Mapper for ServiceSpecification class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServiceSpecification', + type: { + name: 'Composite', + class_name: 'ServiceSpecification', + model_properties: { + metric_specifications: { + required: false, + serialized_name: 'metricSpecifications', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'MetricSpecificationV1ElementType', + type: { + name: 'Composite', + class_name: 'MetricSpecificationV1' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share.rb new file mode 100644 index 0000000000..ce480614ed --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share.rb @@ -0,0 +1,191 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Represents a share on the Data Box Edge/Gateway device. + # + class Share < ARMBaseModel + + include MsRestAzure + + # @return [String] Description for the share. + attr_accessor :description + + # @return [ShareStatus] Current status of the share. Possible values + # include: 'Online', 'Offline' + attr_accessor :share_status + + # @return [MonitoringStatus] Current monitoring status of the share. + # Possible values include: 'Enabled', 'Disabled' + attr_accessor :monitoring_status + + # @return [AzureContainerInfo] Azure container mapping for the share. + attr_accessor :azure_container_info + + # @return [ShareAccessProtocol] Access protocol to be used by the share. + # Possible values include: 'SMB', 'NFS' + attr_accessor :access_protocol + + # @return [Array] Mapping of Users and corresponding + # access rights on the share (mandatory for SMB protocol). + attr_accessor :user_access_rights + + # @return [Array] List of IP addresses and + # corresponding access rights on the share(mandatory for NFS protocol). + attr_accessor :client_access_rights + + # @return [RefreshDetails] Details of the refresh job on this share. + attr_accessor :refresh_details + + # @return [Array] Share mount point to the role. + attr_accessor :share_mappings + + # @return [DataPolicy] Data policy of the share. Possible values include: + # 'Cloud', 'Local' + attr_accessor :data_policy + + + # + # Mapper for Share class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Share', + type: { + name: 'Composite', + class_name: 'Share', + 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', + type: { + name: 'String' + } + }, + share_status: { + required: true, + serialized_name: 'properties.shareStatus', + type: { + name: 'String' + } + }, + monitoring_status: { + required: true, + serialized_name: 'properties.monitoringStatus', + type: { + name: 'String' + } + }, + azure_container_info: { + required: false, + serialized_name: 'properties.azureContainerInfo', + type: { + name: 'Composite', + class_name: 'AzureContainerInfo' + } + }, + access_protocol: { + required: true, + serialized_name: 'properties.accessProtocol', + type: { + name: 'String' + } + }, + user_access_rights: { + required: false, + serialized_name: 'properties.userAccessRights', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'UserAccessRightElementType', + type: { + name: 'Composite', + class_name: 'UserAccessRight' + } + } + } + }, + client_access_rights: { + required: false, + serialized_name: 'properties.clientAccessRights', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ClientAccessRightElementType', + type: { + name: 'Composite', + class_name: 'ClientAccessRight' + } + } + } + }, + refresh_details: { + required: false, + serialized_name: 'properties.refreshDetails', + type: { + name: 'Composite', + class_name: 'RefreshDetails' + } + }, + share_mappings: { + required: false, + read_only: true, + serialized_name: 'properties.shareMappings', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'MountPointMapElementType', + type: { + name: 'Composite', + class_name: 'MountPointMap' + } + } + } + }, + data_policy: { + required: false, + serialized_name: 'properties.dataPolicy', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_protocol.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_protocol.rb new file mode 100644 index 0000000000..1c78f02474 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_protocol.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for ShareAccessProtocol + # + module ShareAccessProtocol + SMB = "SMB" + NFS = "NFS" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_right.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_right.rb new file mode 100644 index 0000000000..7e60925909 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_right.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Specifies the mapping between this particular user and the type of access + # he has on shares on this device. + # + class ShareAccessRight + + include MsRestAzure + + # @return [String] Id of the share. + attr_accessor :share_id + + # @return [ShareAccessType] Type of access to be allowed on the share for + # this user. Possible values include: 'Change', 'Read', 'Custom' + attr_accessor :access_type + + + # + # Mapper for ShareAccessRight class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ShareAccessRight', + type: { + name: 'Composite', + class_name: 'ShareAccessRight', + model_properties: { + share_id: { + required: true, + serialized_name: 'shareId', + type: { + name: 'String' + } + }, + access_type: { + required: true, + serialized_name: 'accessType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_type.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_type.rb new file mode 100644 index 0000000000..cd175083a7 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_access_type.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for ShareAccessType + # + module ShareAccessType + Change = "Change" + Read = "Read" + Custom = "Custom" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_list.rb new file mode 100644 index 0000000000..eea1709d7b --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_list.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Collection of all shares on the Data Box Edge/Gateway device. + # + class ShareList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The list of shares. + attr_accessor :value + + # @return [String] Link to the next set 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 [ShareList] 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 ShareList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ShareList', + type: { + name: 'Composite', + class_name: 'ShareList', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ShareElementType', + type: { + name: 'Composite', + class_name: 'Share' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_status.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_status.rb new file mode 100644 index 0000000000..a1adb930d3 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/share_status.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for ShareStatus + # + module ShareStatus + Online = "Online" + Offline = "Offline" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku.rb new file mode 100644 index 0000000000..c2d3d2fc32 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The SKU type. + # + class Sku + + include MsRestAzure + + # @return [SkuName] Sku name. Possible values include: 'Gateway', 'Edge' + attr_accessor :name + + # @return [SkuTier] The SKU tier. This is based on the SKU name. Possible + # values include: 'Standard' + attr_accessor :tier + + + # + # 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: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + tier: { + required: false, + serialized_name: 'tier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku_name.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku_name.rb new file mode 100644 index 0000000000..4863cf7739 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku_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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for SkuName + # + module SkuName + Gateway = "Gateway" + Edge = "Edge" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku_tier.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku_tier.rb new file mode 100644 index 0000000000..4757087dd3 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sku_tier.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for SkuTier + # + module SkuTier + Standard = "Standard" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sslstatus.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sslstatus.rb new file mode 100644 index 0000000000..9dab08e04a --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/sslstatus.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for SSLStatus + # + module SSLStatus + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/status_types.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/status_types.rb new file mode 100644 index 0000000000..2a96cb9e4b --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/status_types.rb @@ -0,0 +1,28 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Defines values for StatusTypes + # + module StatusTypes + Untracked = "Untracked" + AwaitingFulfilment = "AwaitingFulfilment" + AwaitingPreparation = "AwaitingPreparation" + AwaitingShipment = "AwaitingShipment" + Shipped = "Shipped" + Arriving = "Arriving" + Delivered = "Delivered" + ReplacementRequested = "ReplacementRequested" + LostDevice = "LostDevice" + Declined = "Declined" + ReturnInitiated = "ReturnInitiated" + AwaitingReturnShipment = "AwaitingReturnShipment" + ShippedBack = "ShippedBack" + CollectedAtMicrosoft = "CollectedAtMicrosoft" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential.rb new file mode 100644 index 0000000000..e32e6872ba --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential.rb @@ -0,0 +1,132 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # The storage account credential. + # + class StorageAccountCredential < ARMBaseModel + + include MsRestAzure + + # @return [String] Alias for the storage account. + attr_accessor :alias_property + + # @return [String] UserName for the storage account. + attr_accessor :user_name + + # @return [AsymmetricEncryptedSecret] Encrypted storage key. + attr_accessor :account_key + + # @return [String] ConnectionString for the storage account. This needs + # to be specified if UserName/AccountKey are not specified. + attr_accessor :connection_string + + # @return [SSLStatus] Signifies whether SSL needs to be enabled or not. + # Possible values include: 'Enabled', 'Disabled' + attr_accessor :ssl_status + + # @return [String] Blob end point for private clouds. + attr_accessor :blob_domain_name + + # @return [AccountType] Type of storage accessed on the storage account. + # Possible values include: 'GeneralPurposeStorage', 'BlobStorage' + attr_accessor :account_type + + + # + # Mapper for StorageAccountCredential class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StorageAccountCredential', + type: { + name: 'Composite', + class_name: 'StorageAccountCredential', + 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' + } + }, + alias_property: { + required: true, + serialized_name: 'properties.alias', + type: { + name: 'String' + } + }, + user_name: { + required: false, + serialized_name: 'properties.userName', + type: { + name: 'String' + } + }, + account_key: { + required: false, + serialized_name: 'properties.accountKey', + type: { + name: 'Composite', + class_name: 'AsymmetricEncryptedSecret' + } + }, + connection_string: { + required: false, + serialized_name: 'properties.connectionString', + type: { + name: 'String' + } + }, + ssl_status: { + required: true, + serialized_name: 'properties.sslStatus', + type: { + name: 'String' + } + }, + blob_domain_name: { + required: false, + serialized_name: 'properties.blobDomainName', + type: { + name: 'String' + } + }, + account_type: { + required: true, + serialized_name: 'properties.accountType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential_list.rb new file mode 100644 index 0000000000..50df843a58 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/storage_account_credential_list.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The collection of storage account credential entities. + # + class StorageAccountCredentialList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The value. + attr_accessor :value + + # @return [String] Link to the next set 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 [StorageAccountCredentialList] 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 StorageAccountCredentialList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'StorageAccountCredentialList', + type: { + name: 'Composite', + class_name: 'StorageAccountCredentialList', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StorageAccountCredentialElementType', + type: { + name: 'Composite', + class_name: 'StorageAccountCredential' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/symmetric_key.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/symmetric_key.rb new file mode 100644 index 0000000000..8b435dd022 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/symmetric_key.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Symmetric Key for authentication. + # + class SymmetricKey + + include MsRestAzure + + # @return [AsymmetricEncryptedSecret] Connection string based on + # symmetric key. + attr_accessor :connection_string + + + # + # Mapper for SymmetricKey class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SymmetricKey', + type: { + name: 'Composite', + class_name: 'SymmetricKey', + model_properties: { + connection_string: { + required: false, + serialized_name: 'connectionString', + type: { + name: 'Composite', + class_name: 'AsymmetricEncryptedSecret' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/time_grain.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/time_grain.rb new file mode 100644 index 0000000000..462a32034b --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/time_grain.rb @@ -0,0 +1,22 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Defines values for TimeGrain + # + module TimeGrain + PT1M = "PT1M" + PT5M = "PT5M" + PT15M = "PT15M" + PT30M = "PT30M" + PT1H = "PT1H" + PT6H = "PT6H" + PT12H = "PT12H" + PT1D = "PT1D" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/tracking_info.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/tracking_info.rb new file mode 100644 index 0000000000..627a987306 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/tracking_info.rb @@ -0,0 +1,74 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Compute::Mgmt::V2018_07_01 + module Models + # + # Tracking courier information. + # + class TrackingInfo + + include MsRestAzure + + # @return [String] Serial number of the device being tracked. + attr_accessor :serial_number + + # @return [String] Name of the carrier used in the delivery. + attr_accessor :carrier_name + + # @return [String] Tracking ID of the shipment. + attr_accessor :tracking_id + + # @return [String] Tracking URL of the shipment. + attr_accessor :tracking_url + + + # + # Mapper for TrackingInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TrackingInfo', + type: { + name: 'Composite', + class_name: 'TrackingInfo', + model_properties: { + serial_number: { + required: false, + serialized_name: 'serialNumber', + type: { + name: 'String' + } + }, + carrier_name: { + required: false, + serialized_name: 'carrierName', + type: { + name: 'String' + } + }, + tracking_id: { + required: false, + serialized_name: 'trackingId', + type: { + name: 'String' + } + }, + tracking_url: { + required: false, + serialized_name: 'trackingUrl', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/trigger.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/trigger.rb new file mode 100644 index 0000000000..1716d27543 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/trigger.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Trigger details. + # + class Trigger < ARMBaseModel + + include MsRestAzure + + + def initialize + @kind = "Trigger" + end + + attr_accessor :kind + + + # + # Mapper for Trigger class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Trigger', + type: { + name: 'Composite', + polymorphic_discriminator: 'kind', + uber_parent: 'ARMBaseModel', + class_name: 'Trigger', + 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_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/trigger_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/trigger_list.rb new file mode 100644 index 0000000000..f471b3ca6a --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/trigger_list.rb @@ -0,0 +1,98 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Collection of all trigger on the data box edge device. + # + class TriggerList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The list of triggers. + attr_accessor :value + + # @return [String] Link to the next set 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 [TriggerList] 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 TriggerList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TriggerList', + type: { + name: 'Composite', + class_name: 'TriggerList', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'TriggerElementType', + type: { + name: 'Composite', + polymorphic_discriminator: 'kind', + uber_parent: 'ARMBaseModel', + class_name: 'Trigger' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_download_progress.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_download_progress.rb new file mode 100644 index 0000000000..1db7c240ff --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_download_progress.rb @@ -0,0 +1,101 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Details about the download progress of update. + # + class UpdateDownloadProgress + + include MsRestAzure + + # @return [DownloadPhase] The download phase. Possible values include: + # 'Unknown', 'Initializing', 'Downloading', 'Verifying' + attr_accessor :download_phase + + # @return [Integer] Percentage of completion. + attr_accessor :percent_complete + + # @return [Float] Total bytes to download. + attr_accessor :total_bytes_to_download + + # @return [Float] Total bytes downloaded. + attr_accessor :total_bytes_downloaded + + # @return [Integer] Number of updates to download. + attr_accessor :number_of_updates_to_download + + # @return [Integer] Number of updates downloaded. + attr_accessor :number_of_updates_downloaded + + + # + # Mapper for UpdateDownloadProgress class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UpdateDownloadProgress', + type: { + name: 'Composite', + class_name: 'UpdateDownloadProgress', + model_properties: { + download_phase: { + required: false, + read_only: true, + serialized_name: 'downloadPhase', + type: { + name: 'String' + } + }, + percent_complete: { + required: false, + read_only: true, + serialized_name: 'percentComplete', + type: { + name: 'Number' + } + }, + total_bytes_to_download: { + required: false, + read_only: true, + serialized_name: 'totalBytesToDownload', + type: { + name: 'Double' + } + }, + total_bytes_downloaded: { + required: false, + read_only: true, + serialized_name: 'totalBytesDownloaded', + type: { + name: 'Double' + } + }, + number_of_updates_to_download: { + required: false, + read_only: true, + serialized_name: 'numberOfUpdatesToDownload', + type: { + name: 'Number' + } + }, + number_of_updates_downloaded: { + required: false, + read_only: true, + serialized_name: 'numberOfUpdatesDownloaded', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_install_progress.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_install_progress.rb new file mode 100644 index 0000000000..182657fbee --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_install_progress.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Details about the progress during installation of updates. + # + class UpdateInstallProgress + + include MsRestAzure + + # @return [Integer] Percentage of completion. + attr_accessor :percent_complete + + # @return [Integer] Number of updates to install. + attr_accessor :number_of_updates_to_install + + # @return [Integer] Number of updates installed. + attr_accessor :number_of_updates_installed + + + # + # Mapper for UpdateInstallProgress class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UpdateInstallProgress', + type: { + name: 'Composite', + class_name: 'UpdateInstallProgress', + model_properties: { + percent_complete: { + required: false, + read_only: true, + serialized_name: 'percentComplete', + type: { + name: 'Number' + } + }, + number_of_updates_to_install: { + required: false, + read_only: true, + serialized_name: 'numberOfUpdatesToInstall', + type: { + name: 'Number' + } + }, + number_of_updates_installed: { + required: false, + read_only: true, + serialized_name: 'numberOfUpdatesInstalled', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation.rb new file mode 100644 index 0000000000..8aed2b92cc --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Defines values for UpdateOperation + # + module UpdateOperation + None = "None" + Scan = "Scan" + Download = "Download" + Install = "Install" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation_stage.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation_stage.rb new file mode 100644 index 0000000000..a02da9b535 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_operation_stage.rb @@ -0,0 +1,31 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Defines values for UpdateOperationStage + # + module UpdateOperationStage + Unknown = "Unknown" + Initial = "Initial" + ScanStarted = "ScanStarted" + ScanComplete = "ScanComplete" + ScanFailed = "ScanFailed" + DownloadStarted = "DownloadStarted" + DownloadComplete = "DownloadComplete" + DownloadFailed = "DownloadFailed" + InstallStarted = "InstallStarted" + InstallComplete = "InstallComplete" + InstallFailed = "InstallFailed" + RebootInitiated = "RebootInitiated" + Success = "Success" + Failure = "Failure" + RescanStarted = "RescanStarted" + RescanComplete = "RescanComplete" + RescanFailed = "RescanFailed" + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_summary.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_summary.rb new file mode 100644 index 0000000000..c4897eeb6f --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/update_summary.rb @@ -0,0 +1,263 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Details about ongoing updates and availability of updates on the device. + # + class UpdateSummary < ARMBaseModel + + include MsRestAzure + + # @return [String] The current version of the device, of format: + # 1.2.17312.13. + attr_accessor :device_version_number + + # @return [String] The current version of the device represented in text + # format. + attr_accessor :friendly_device_version_name + + # @return [DateTime] The last time when a scan was done on the device. + attr_accessor :device_last_scanned_date_time + + # @return [DateTime] The time when the last scan job was completed + # (success/cancelled/failed) on the appliance. + attr_accessor :last_completed_scan_job_date_time + + # @return [DateTime] The time when the last Download job was completed + # (success/cancelled/failed) on the appliance. + attr_accessor :last_completed_download_job_date_time + + # @return [DateTime] The time when the last Install job was completed + # (success/cancelled/failed) on the appliance. + attr_accessor :last_completed_install_job_date_time + + # @return [Integer] Count of updates that are available for the current + # device version as per the last scan on the device. + attr_accessor :total_number_of_updates_available + + # @return [Integer] The total number of items pending download. + attr_accessor :total_number_of_updates_pending_download + + # @return [Integer] The total number of items pending install. + attr_accessor :total_number_of_updates_pending_install + + # @return [InstallRebootBehavior] Indicates if updates are available and + # at least one of the update items detected needs a reboot. Possible + # values include: 'NeverReboots', 'RequiresReboot', 'RequestReboot' + attr_accessor :reboot_behavior + + # @return [UpdateOperation] The current update operation. Possible values + # include: 'None', 'Scan', 'Download', 'Install' + attr_accessor :ongoing_update_operation + + # @return [String] The Job ID of the download job if a download is in + # progress. + attr_accessor :in_progress_download_job_id + + # @return [String] The Job ID of the install job if an install is in + # progress. + attr_accessor :in_progress_install_job_id + + # @return [DateTime] The time when the currently running download (if + # any) started. + attr_accessor :in_progress_download_job_started_date_time + + # @return [DateTime] The time when the currently running install (if any) + # started. + attr_accessor :in_progress_install_job_started_date_time + + # @return [Array] The list of update titles which are available + # for install. + attr_accessor :update_titles + + # @return [Float] The total size of updates available for download in + # bytes. + attr_accessor :total_update_size_in_bytes + + + # + # Mapper for UpdateSummary class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UpdateSummary', + type: { + name: 'Composite', + class_name: 'UpdateSummary', + 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' + } + }, + device_version_number: { + required: false, + serialized_name: 'properties.deviceVersionNumber', + type: { + name: 'String' + } + }, + friendly_device_version_name: { + required: false, + serialized_name: 'properties.friendlyDeviceVersionName', + type: { + name: 'String' + } + }, + device_last_scanned_date_time: { + required: false, + serialized_name: 'properties.deviceLastScannedDateTime', + type: { + name: 'DateTime' + } + }, + last_completed_scan_job_date_time: { + required: false, + serialized_name: 'properties.lastCompletedScanJobDateTime', + type: { + name: 'DateTime' + } + }, + last_completed_download_job_date_time: { + required: false, + read_only: true, + serialized_name: 'properties.lastCompletedDownloadJobDateTime', + type: { + name: 'DateTime' + } + }, + last_completed_install_job_date_time: { + required: false, + read_only: true, + serialized_name: 'properties.lastCompletedInstallJobDateTime', + type: { + name: 'DateTime' + } + }, + total_number_of_updates_available: { + required: false, + read_only: true, + serialized_name: 'properties.totalNumberOfUpdatesAvailable', + type: { + name: 'Number' + } + }, + total_number_of_updates_pending_download: { + required: false, + read_only: true, + serialized_name: 'properties.totalNumberOfUpdatesPendingDownload', + type: { + name: 'Number' + } + }, + total_number_of_updates_pending_install: { + required: false, + read_only: true, + serialized_name: 'properties.totalNumberOfUpdatesPendingInstall', + type: { + name: 'Number' + } + }, + reboot_behavior: { + required: false, + read_only: true, + serialized_name: 'properties.rebootBehavior', + type: { + name: 'String' + } + }, + ongoing_update_operation: { + required: false, + read_only: true, + serialized_name: 'properties.ongoingUpdateOperation', + type: { + name: 'String' + } + }, + in_progress_download_job_id: { + required: false, + read_only: true, + serialized_name: 'properties.inProgressDownloadJobId', + type: { + name: 'String' + } + }, + in_progress_install_job_id: { + required: false, + read_only: true, + serialized_name: 'properties.inProgressInstallJobId', + type: { + name: 'String' + } + }, + in_progress_download_job_started_date_time: { + required: false, + read_only: true, + serialized_name: 'properties.inProgressDownloadJobStartedDateTime', + type: { + name: 'DateTime' + } + }, + in_progress_install_job_started_date_time: { + required: false, + read_only: true, + serialized_name: 'properties.inProgressInstallJobStartedDateTime', + type: { + name: 'DateTime' + } + }, + update_titles: { + required: false, + read_only: true, + serialized_name: 'properties.updateTitles', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + total_update_size_in_bytes: { + required: false, + read_only: true, + serialized_name: 'properties.totalUpdateSizeInBytes', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_request.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_request.rb new file mode 100644 index 0000000000..4a216cbbc9 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_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::Compute::Mgmt::V2018_07_01 + module Models + # + # The Upload certificate request. + # + class UploadCertificateRequest + + include MsRestAzure + + # @return [AuthenticationType] The authentication type. Possible values + # include: 'Invalid', 'AzureActiveDirectory' + attr_accessor :authentication_type + + # @return [String] The base64 encoded certificate raw data. + attr_accessor :certificate + + + # + # Mapper for UploadCertificateRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UploadCertificateRequest', + type: { + name: 'Composite', + class_name: 'UploadCertificateRequest', + model_properties: { + authentication_type: { + required: false, + serialized_name: 'properties.authenticationType', + type: { + name: 'String' + } + }, + certificate: { + required: true, + serialized_name: 'properties.certificate', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_response.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_response.rb new file mode 100644 index 0000000000..54f3242e18 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/upload_certificate_response.rb @@ -0,0 +1,105 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Compute::Mgmt::V2018_07_01 + module Models + # + # The upload registration certificate response. + # + class UploadCertificateResponse + + include MsRestAzure + + # @return [AuthenticationType] Specifies the Authentication type. + # Possible values include: 'Invalid', 'AzureActiveDirectory' + attr_accessor :auth_type + + # @return [String] The resource ID of the edge device. + attr_accessor :resource_id + + # @return [String] Azure Active Directory tenant authority. + attr_accessor :aad_authority + + # @return [String] Azure Active Directory tenant ID. + attr_accessor :aad_tenant_id + + # @return [String] Azure Active Directory service principal client ID. + attr_accessor :service_principal_client_id + + # @return [String] Azure Active Directory service principal Object ID. + attr_accessor :service_principal_object_id + + # @return [String] The Azure Management Endpoint Audience. + attr_accessor :azure_management_endpoint_audience + + + # + # Mapper for UploadCertificateResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UploadCertificateResponse', + type: { + name: 'Composite', + class_name: 'UploadCertificateResponse', + model_properties: { + auth_type: { + required: false, + serialized_name: 'authType', + type: { + name: 'String' + } + }, + resource_id: { + required: true, + serialized_name: 'resourceId', + type: { + name: 'String' + } + }, + aad_authority: { + required: true, + serialized_name: 'aadAuthority', + type: { + name: 'String' + } + }, + aad_tenant_id: { + required: true, + serialized_name: 'aadTenantId', + type: { + name: 'String' + } + }, + service_principal_client_id: { + required: true, + serialized_name: 'servicePrincipalClientId', + type: { + name: 'String' + } + }, + service_principal_object_id: { + required: true, + serialized_name: 'servicePrincipalObjectId', + type: { + name: 'String' + } + }, + azure_management_endpoint_audience: { + required: true, + serialized_name: 'azureManagementEndpointAudience', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user.rb new file mode 100644 index 0000000000..e85feef1bf --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user.rb @@ -0,0 +1,90 @@ +# encoding: utf-8 +# 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_07_01 + module Models + # + # Represents a user who has access to one or more shares on the Edge + # storage device. + # + class User < ARMBaseModel + + include MsRestAzure + + # @return [AsymmetricEncryptedSecret] The details of the password + # specified for the user. + attr_accessor :encrypted_password + + # @return [Array] List of shares that the user has + # rights on. This field should not be specified during user creation. + attr_accessor :share_access_rights + + + # + # Mapper for User class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'User', + type: { + name: 'Composite', + class_name: 'User', + 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' + } + }, + encrypted_password: { + required: false, + serialized_name: 'properties.encryptedPassword', + type: { + name: 'Composite', + class_name: 'AsymmetricEncryptedSecret' + } + }, + share_access_rights: { + required: false, + serialized_name: 'properties.shareAccessRights', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ShareAccessRightElementType', + type: { + name: 'Composite', + class_name: 'ShareAccessRight' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user_access_right.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user_access_right.rb new file mode 100644 index 0000000000..db3743a138 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user_access_right.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::Compute::Mgmt::V2018_07_01 + module Models + # + # The mapping between a particular user and the type of access they have on + # the SMB share. + # + class UserAccessRight + + include MsRestAzure + + # @return [String] Id of the user (already existing in the device). + attr_accessor :user_id + + # @return [ShareAccessType] Type of access to be allowed for the user. + # Possible values include: 'Change', 'Read', 'Custom' + attr_accessor :access_type + + + # + # Mapper for UserAccessRight class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UserAccessRight', + type: { + name: 'Composite', + class_name: 'UserAccessRight', + model_properties: { + user_id: { + required: true, + serialized_name: 'userId', + type: { + name: 'String' + } + }, + access_type: { + required: true, + serialized_name: 'accessType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user_list.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user_list.rb new file mode 100644 index 0000000000..83db82b99e --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/models/user_list.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::Compute::Mgmt::V2018_07_01 + module Models + # + # Collection of users. + # + class UserList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] The list of users. + attr_accessor :value + + # @return [String] Link to the next set 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 [UserList] 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 UserList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UserList', + type: { + name: 'Composite', + class_name: 'UserList', + model_properties: { + value: { + required: false, + read_only: true, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'UserElementType', + type: { + name: 'Composite', + class_name: 'User' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/module_definition.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/module_definition.rb new file mode 100644 index 0000000000..733508185e --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/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::Compute end +module Azure::Compute::Mgmt end +module Azure::Compute::Mgmt::V2018_07_01 end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/operations.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/operations.rb new file mode 100644 index 0000000000..9de6000c01 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/operations.rb @@ -0,0 +1,212 @@ +# encoding: utf-8 +# 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_07_01 + # + # Operations + # + 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 [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # Lists all the operations supported. + # + # @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 the operations supported. + # + # @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 the operations supported. + # + # @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.DataBoxEdge/operations' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::OperationsList.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 the operations supported. + # + # @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 [OperationsList] 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 the operations supported. + # + # @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 the operations supported. + # + # @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::Compute::Mgmt::V2018_07_01::Models::OperationsList.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 the operations supported. + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OperationsList] 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_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/operations_status.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/operations_status.rb new file mode 100644 index 0000000000..30eb5b027a --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/operations_status.rb @@ -0,0 +1,123 @@ +# encoding: utf-8 +# 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_07_01 + # + # OperationsStatus + # + class OperationsStatus + include MsRestAzure + + # + # Creates and initializes a new instance of the OperationsStatus class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # Returns the job details of the specified job on a data box edge/gateway + # device. + # + # @param device_name [String] The device name. + # @param name [String] The job name. + # @param resource_group_name [String] The resource group name. + # @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(device_name, name, resource_group_name, custom_headers = nil) + response = get_async(device_name, name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns the job details of the specified job on a data box edge/gateway + # device. + # + # @param device_name [String] The device name. + # @param name [String] The job name. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + get_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Returns the job details of the specified job on a data box edge/gateway + # device. + # + # @param device_name [String] The device name. + # @param name [String] The job name. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/operationsStatus/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::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 + + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/orders.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/orders.rb new file mode 100644 index 0000000000..51a9f25dd7 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/orders.rb @@ -0,0 +1,586 @@ +# encoding: utf-8 +# 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_07_01 + # + # Orders + # + class Orders + include MsRestAzure + + # + # Creates and initializes a new instance of the Orders class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # List all the orders related to the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device(device_name, resource_group_name, custom_headers = nil) + first_page = list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # List all the orders related to the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_with_http_info(device_name, resource_group_name, custom_headers = nil) + list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + end + + # + # List all the orders related to the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::OrderList.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get a specific order by name. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Order] operation results. + # + def get(device_name, resource_group_name, custom_headers = nil) + response = get_async(device_name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a specific order by name. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + get_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Get a specific order by name. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Order.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 order. + # + # @param device_name [String] Name of the edge device for which order needs to + # be added or updated. + # @param order [Order] Order to be added. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Order] operation results. + # + def create_or_update(device_name, order, resource_group_name, custom_headers = nil) + response = create_or_update_async(device_name, order, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param device_name [String] Name of the edge device for which order needs to + # be added or updated. + # @param order [Order] Order to be added. + # @param resource_group_name [String] The resource group 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 create_or_update_async(device_name, order, resource_group_name, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(device_name, order, resource_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Order.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 order related to the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(device_name, resource_group_name, custom_headers = nil) + response = delete_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_delete_async(device_name, resource_group_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 + + # + # Creates or updates an order. + # + # @param device_name [String] Name of the edge device for which order needs to + # be added or updated. + # @param order [Order] Order to be added. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Order] operation results. + # + def begin_create_or_update(device_name, order, resource_group_name, custom_headers = nil) + response = begin_create_or_update_async(device_name, order, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates an order. + # + # @param device_name [String] Name of the edge device for which order needs to + # be added or updated. + # @param order [Order] Order to be added. + # @param resource_group_name [String] The resource group 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_create_or_update_with_http_info(device_name, order, resource_group_name, custom_headers = nil) + begin_create_or_update_async(device_name, order, resource_group_name, custom_headers).value! + end + + # + # Creates or updates an order. + # + # @param device_name [String] Name of the edge device for which order needs to + # be added or updated. + # @param order [Order] Order to be added. + # @param resource_group_name [String] The resource group 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_create_or_update_async(device_name, order, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'order is nil' if order.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Order.mapper() + request_content = @client.serialize(request_mapper, order) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::Order.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 order related to the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(device_name, resource_group_name, custom_headers = nil) + response = begin_delete_async(device_name, resource_group_name, custom_headers).value! + nil + end + + # + # Deletes the order related to the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + begin_delete_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Deletes the order related to the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # List all the orders related to the device. + # + # @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 [OrderList] operation results. + # + def list_by_data_box_edge_device_next(next_page_link, custom_headers = nil) + response = list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # List all the orders related to the device. + # + # @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_data_box_edge_device_next_with_http_info(next_page_link, custom_headers = nil) + list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + end + + # + # List all the orders related to the device. + # + # @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_data_box_edge_device_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::Compute::Mgmt::V2018_07_01::Models::OrderList.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # List all the orders related to the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OrderList] which provide lazy access to pages of the response. + # + def list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers = nil) + response = list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_data_box_edge_device_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/roles.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/roles.rb new file mode 100644 index 0000000000..f03735351c --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/roles.rb @@ -0,0 +1,602 @@ +# encoding: utf-8 +# 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_07_01 + # + # Roles + # + class Roles + include MsRestAzure + + # + # Creates and initializes a new instance of the Roles class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # Lists all the roles configured in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device(device_name, resource_group_name, custom_headers = nil) + first_page = list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # Lists all the roles configured in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_with_http_info(device_name, resource_group_name, custom_headers = nil) + list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Lists all the roles configured in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::RoleList.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get a specific role by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of role to be fetched. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Role] operation results. + # + def get(device_name, name, resource_group_name, custom_headers = nil) + response = get_async(device_name, name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a specific role by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of role to be fetched. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + get_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Get a specific role by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of role to be fetched. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Role.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create or update a role. + # + # @param device_name [String] Name of the device in which the role needs to be + # added or updated. + # @param name [String] Name of the role to be updated. + # @param role [Role] Role to be added. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Role] operation results. + # + def create_or_update(device_name, name, role, resource_group_name, custom_headers = nil) + response = create_or_update_async(device_name, name, role, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param device_name [String] Name of the device in which the role needs to be + # added or updated. + # @param name [String] Name of the role to be updated. + # @param role [Role] Role to be added. + # @param resource_group_name [String] The resource group 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 create_or_update_async(device_name, name, role, resource_group_name, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(device_name, name, role, resource_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Role.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 role on the gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the role which needs to be deleted. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(device_name, name, resource_group_name, custom_headers = nil) + response = delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the role which needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_delete_async(device_name, name, resource_group_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 + + # + # Create or update a role. + # + # @param device_name [String] Name of the device in which the role needs to be + # added or updated. + # @param name [String] Name of the role to be updated. + # @param role [Role] Role to be added. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Role] operation results. + # + def begin_create_or_update(device_name, name, role, resource_group_name, custom_headers = nil) + response = begin_create_or_update_async(device_name, name, role, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or update a role. + # + # @param device_name [String] Name of the device in which the role needs to be + # added or updated. + # @param name [String] Name of the role to be updated. + # @param role [Role] Role to be added. + # @param resource_group_name [String] The resource group 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_create_or_update_with_http_info(device_name, name, role, resource_group_name, custom_headers = nil) + begin_create_or_update_async(device_name, name, role, resource_group_name, custom_headers).value! + end + + # + # Create or update a role. + # + # @param device_name [String] Name of the device in which the role needs to be + # added or updated. + # @param name [String] Name of the role to be updated. + # @param role [Role] Role to be added. + # @param resource_group_name [String] The resource group 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_create_or_update_async(device_name, name, role, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'role is nil' if role.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Role.mapper() + request_content = @client.serialize(request_mapper, role) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::Role.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 role on the gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the role which needs to be deleted. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(device_name, name, resource_group_name, custom_headers = nil) + response = begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # Deletes the role on the gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the role which needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Deletes the role on the gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the role which needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/roles/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Lists all the roles configured in a data box edge/gateway device. + # + # @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 [RoleList] operation results. + # + def list_by_data_box_edge_device_next(next_page_link, custom_headers = nil) + response = list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists all the roles configured in a data box edge/gateway device. + # + # @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_data_box_edge_device_next_with_http_info(next_page_link, custom_headers = nil) + list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + end + + # + # Lists all the roles configured in a data box edge/gateway device. + # + # @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_data_box_edge_device_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::Compute::Mgmt::V2018_07_01::Models::RoleList.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 the roles configured in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [RoleList] which provide lazy access to pages of the response. + # + def list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers = nil) + response = list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_data_box_edge_device_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/shares.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/shares.rb new file mode 100644 index 0000000000..b2c7ee95c7 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/shares.rb @@ -0,0 +1,725 @@ +# encoding: utf-8 +# 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_07_01 + # + # Shares + # + class Shares + include MsRestAzure + + # + # Creates and initializes a new instance of the Shares class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # Lists all the shares in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device(device_name, resource_group_name, custom_headers = nil) + first_page = list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # Lists all the shares in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_with_http_info(device_name, resource_group_name, custom_headers = nil) + list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Lists all the shares in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::ShareList.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 + + # + # Returns a particular share by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Share] operation results. + # + def get(device_name, name, resource_group_name, custom_headers = nil) + response = get_async(device_name, name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns a particular share by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + get_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Returns a particular share by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Share.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 share or update an existing share on the device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be added/updated. + # @param share [Share] The share object containing the share details. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Share] operation results. + # + def create_or_update(device_name, name, share, resource_group_name, custom_headers = nil) + response = create_or_update_async(device_name, name, share, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be added/updated. + # @param share [Share] The share object containing the share details. + # @param resource_group_name [String] The resource group 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 create_or_update_async(device_name, name, share, resource_group_name, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(device_name, name, share, resource_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Share.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 share on the data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be deleted. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(device_name, name, resource_group_name, custom_headers = nil) + response = delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_delete_async(device_name, name, resource_group_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 + + # + # Triggers a manual refresh of the share metadata with the actual cloud storage + # account. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def refresh(device_name, name, resource_group_name, custom_headers = nil) + response = refresh_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share. + # @param resource_group_name [String] The resource group 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 refresh_async(device_name, name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_refresh_async(device_name, name, resource_group_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 + + # + # Creates a new share or update an existing share on the device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be added/updated. + # @param share [Share] The share object containing the share details. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Share] operation results. + # + def begin_create_or_update(device_name, name, share, resource_group_name, custom_headers = nil) + response = begin_create_or_update_async(device_name, name, share, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates a new share or update an existing share on the device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be added/updated. + # @param share [Share] The share object containing the share details. + # @param resource_group_name [String] The resource group 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_create_or_update_with_http_info(device_name, name, share, resource_group_name, custom_headers = nil) + begin_create_or_update_async(device_name, name, share, resource_group_name, custom_headers).value! + end + + # + # Creates a new share or update an existing share on the device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be added/updated. + # @param share [Share] The share object containing the share details. + # @param resource_group_name [String] The resource group 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_create_or_update_async(device_name, name, share, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'share is nil' if share.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Share.mapper() + request_content = @client.serialize(request_mapper, share) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::Share.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 share on the data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be deleted. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(device_name, name, resource_group_name, custom_headers = nil) + response = begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # Deletes the share on the data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Deletes the share on the data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share which needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Triggers a manual refresh of the share metadata with the actual cloud storage + # account. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_refresh(device_name, name, resource_group_name, custom_headers = nil) + response = begin_refresh_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # Triggers a manual refresh of the share metadata with the actual cloud storage + # account. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share. + # @param resource_group_name [String] The resource group 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_refresh_with_http_info(device_name, name, resource_group_name, custom_headers = nil) + begin_refresh_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Triggers a manual refresh of the share metadata with the actual cloud storage + # account. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the share. + # @param resource_group_name [String] The resource group 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_refresh_async(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/shares/{name}/refresh' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Lists all the shares in a data box edge/gateway device. + # + # @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 [ShareList] operation results. + # + def list_by_data_box_edge_device_next(next_page_link, custom_headers = nil) + response = list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists all the shares in a data box edge/gateway device. + # + # @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_data_box_edge_device_next_with_http_info(next_page_link, custom_headers = nil) + list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + end + + # + # Lists all the shares in a data box edge/gateway device. + # + # @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_data_box_edge_device_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::Compute::Mgmt::V2018_07_01::Models::ShareList.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 the shares in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ShareList] which provide lazy access to pages of the response. + # + def list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers = nil) + response = list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_data_box_edge_device_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/storage_account_credentials.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/storage_account_credentials.rb new file mode 100644 index 0000000000..5e71551bbc --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/storage_account_credentials.rb @@ -0,0 +1,603 @@ +# encoding: utf-8 +# 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_07_01 + # + # StorageAccountCredentials + # + class StorageAccountCredentials + include MsRestAzure + + # + # Creates and initializes a new instance of the StorageAccountCredentials class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # Gets all the storage account credentials in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device(device_name, resource_group_name, custom_headers = nil) + first_page = list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # Gets all the storage account credentials in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_with_http_info(device_name, resource_group_name, custom_headers = nil) + list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Gets all the storage account credentials in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::StorageAccountCredentialList.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 properties of the specified storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the storage account credential to be fetched. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StorageAccountCredential] operation results. + # + def get(device_name, name, resource_group_name, custom_headers = nil) + response = get_async(device_name, name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets the properties of the specified storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the storage account credential to be fetched. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + get_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Gets the properties of the specified storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the storage account credential to be fetched. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::StorageAccountCredential.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 storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] The storage account credential name. + # @param storage_account_credential [StorageAccountCredential] The storage + # account credential to be added or updated. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StorageAccountCredential] operation results. + # + def create_or_update(device_name, name, storage_account_credential, resource_group_name, custom_headers = nil) + response = create_or_update_async(device_name, name, storage_account_credential, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param device_name [String] Name of the device. + # @param name [String] The storage account credential name. + # @param storage_account_credential [StorageAccountCredential] The storage + # account credential to be added or updated. + # @param resource_group_name [String] The resource group 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 create_or_update_async(device_name, name, storage_account_credential, resource_group_name, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(device_name, name, storage_account_credential, resource_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::StorageAccountCredential.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 storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the storage account credential. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(device_name, name, resource_group_name, custom_headers = nil) + response = delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the storage account credential. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_delete_async(device_name, name, resource_group_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 + + # + # Creates or updates the storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] The storage account credential name. + # @param storage_account_credential [StorageAccountCredential] The storage + # account credential to be added or updated. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StorageAccountCredential] operation results. + # + def begin_create_or_update(device_name, name, storage_account_credential, resource_group_name, custom_headers = nil) + response = begin_create_or_update_async(device_name, name, storage_account_credential, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Creates or updates the storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] The storage account credential name. + # @param storage_account_credential [StorageAccountCredential] The storage + # account credential to be added or updated. + # @param resource_group_name [String] The resource group 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_create_or_update_with_http_info(device_name, name, storage_account_credential, resource_group_name, custom_headers = nil) + begin_create_or_update_async(device_name, name, storage_account_credential, resource_group_name, custom_headers).value! + end + + # + # Creates or updates the storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] The storage account credential name. + # @param storage_account_credential [StorageAccountCredential] The storage + # account credential to be added or updated. + # @param resource_group_name [String] The resource group 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_create_or_update_async(device_name, name, storage_account_credential, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'storage_account_credential is nil' if storage_account_credential.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::StorageAccountCredential.mapper() + request_content = @client.serialize(request_mapper, storage_account_credential) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::StorageAccountCredential.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 storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the storage account credential. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(device_name, name, resource_group_name, custom_headers = nil) + response = begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # Deletes the storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the storage account credential. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Deletes the storage account credential. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the storage account credential. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/storageAccountCredentials/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Gets all the storage account credentials in a data box edge/gateway device. + # + # @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 [StorageAccountCredentialList] operation results. + # + def list_by_data_box_edge_device_next(next_page_link, custom_headers = nil) + response = list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets all the storage account credentials in a data box edge/gateway device. + # + # @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_data_box_edge_device_next_with_http_info(next_page_link, custom_headers = nil) + list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + end + + # + # Gets all the storage account credentials in a data box edge/gateway device. + # + # @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_data_box_edge_device_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::Compute::Mgmt::V2018_07_01::Models::StorageAccountCredentialList.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 the storage account credentials in a data box edge/gateway device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [StorageAccountCredentialList] which provide lazy access to pages of + # the response. + # + def list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers = nil) + response = list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_data_box_edge_device_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/triggers.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/triggers.rb new file mode 100644 index 0000000000..2b29194a58 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/triggers.rb @@ -0,0 +1,602 @@ +# encoding: utf-8 +# 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_07_01 + # + # Triggers + # + class Triggers + include MsRestAzure + + # + # Creates and initializes a new instance of the Triggers class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # List all the triggers configured in the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device(device_name, resource_group_name, custom_headers = nil) + first_page = list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # List all the triggers configured in the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_with_http_info(device_name, resource_group_name, custom_headers = nil) + list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + end + + # + # List all the triggers configured in the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::TriggerList.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Get a specific trigger by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of trigger to be fetched. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Trigger] operation results. + # + def get(device_name, name, resource_group_name, custom_headers = nil) + response = get_async(device_name, name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get a specific trigger by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of trigger to be fetched. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + get_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Get a specific trigger by name. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of trigger to be fetched. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Trigger.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create or update a trigger. + # + # @param device_name [String] Name of the edge device in which trigger needs to + # be added or updated. + # @param name [String] Name of trigger to be added or updated. + # @param trigger [Trigger] Trigger to be added. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Trigger] operation results. + # + def create_or_update(device_name, name, trigger, resource_group_name, custom_headers = nil) + response = create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param device_name [String] Name of the edge device in which trigger needs to + # be added or updated. + # @param name [String] Name of trigger to be added or updated. + # @param trigger [Trigger] Trigger to be added. + # @param resource_group_name [String] The resource group 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 create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Trigger.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 trigger on the gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the trigger which needs to be deleted. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(device_name, name, resource_group_name, custom_headers = nil) + response = delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the trigger which needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_delete_async(device_name, name, resource_group_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 + + # + # Create or update a trigger. + # + # @param device_name [String] Name of the edge device in which trigger needs to + # be added or updated. + # @param name [String] Name of trigger to be added or updated. + # @param trigger [Trigger] Trigger to be added. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Trigger] operation results. + # + def begin_create_or_update(device_name, name, trigger, resource_group_name, custom_headers = nil) + response = begin_create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or update a trigger. + # + # @param device_name [String] Name of the edge device in which trigger needs to + # be added or updated. + # @param name [String] Name of trigger to be added or updated. + # @param trigger [Trigger] Trigger to be added. + # @param resource_group_name [String] The resource group 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_create_or_update_with_http_info(device_name, name, trigger, resource_group_name, custom_headers = nil) + begin_create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers).value! + end + + # + # Create or update a trigger. + # + # @param device_name [String] Name of the edge device in which trigger needs to + # be added or updated. + # @param name [String] Name of trigger to be added or updated. + # @param trigger [Trigger] Trigger to be added. + # @param resource_group_name [String] The resource group 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_create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'trigger is nil' if trigger.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::Trigger.mapper() + request_content = @client.serialize(request_mapper, trigger) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::Trigger.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 trigger on the gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the trigger which needs to be deleted. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(device_name, name, resource_group_name, custom_headers = nil) + response = begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # Deletes the trigger on the gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the trigger which needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Deletes the trigger on the gateway device. + # + # @param device_name [String] Name of the device. + # @param name [String] Name of the trigger which needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/triggers/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # List all the triggers configured in the device. + # + # @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 [TriggerList] operation results. + # + def list_by_data_box_edge_device_next(next_page_link, custom_headers = nil) + response = list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # List all the triggers configured in the device. + # + # @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_data_box_edge_device_next_with_http_info(next_page_link, custom_headers = nil) + list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + end + + # + # List all the triggers configured in the device. + # + # @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_data_box_edge_device_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::Compute::Mgmt::V2018_07_01::Models::TriggerList.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # List all the triggers configured in the device. + # + # @param device_name [String] Name of the device. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [TriggerList] which provide lazy access to pages of the response. + # + def list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers = nil) + response = list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_data_box_edge_device_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/users.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/users.rb new file mode 100644 index 0000000000..9172bb0e96 --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/users.rb @@ -0,0 +1,606 @@ +# encoding: utf-8 +# 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_07_01 + # + # Users + # + class Users + include MsRestAzure + + # + # Creates and initializes a new instance of the Users class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DataBoxEdgeManagementClient] reference to the DataBoxEdgeManagementClient + attr_reader :client + + # + # Returns all the users registered in a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_data_box_edge_device(device_name, resource_group_name, custom_headers = nil) + first_page = list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers) + first_page.get_all_items + end + + # + # Returns all the users registered in a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_with_http_info(device_name, resource_group_name, custom_headers = nil) + list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + end + + # + # Returns all the users registered in a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group 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_data_box_edge_device_async(device_name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::UserList.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 + + # + # Returns the properties of the specified user. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be retrieved. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [User] operation results. + # + def get(device_name, name, resource_group_name, custom_headers = nil) + response = get_async(device_name, name, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns the properties of the specified user. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be retrieved. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + get_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Returns the properties of the specified user. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be retrieved. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::User.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Create a new user or update an existing user's information on a data box + # edge/gateway device. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be added/updated. + # @param user [User] The user object containing the user details and encrypted + # password. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [User] operation results. + # + def create_or_update(device_name, name, user, resource_group_name, custom_headers = nil) + response = create_or_update_async(device_name, name, user, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be added/updated. + # @param user [User] The user object containing the user details and encrypted + # password. + # @param resource_group_name [String] The resource group 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 create_or_update_async(device_name, name, user, resource_group_name, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(device_name, name, user, resource_group_name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::User.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 user on a databox edge/gateway device. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be deleted. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(device_name, name, resource_group_name, custom_headers = nil) + response = delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + # Send request + promise = begin_delete_async(device_name, name, resource_group_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 + + # + # Create a new user or update an existing user's information on a data box + # edge/gateway device. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be added/updated. + # @param user [User] The user object containing the user details and encrypted + # password. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [User] operation results. + # + def begin_create_or_update(device_name, name, user, resource_group_name, custom_headers = nil) + response = begin_create_or_update_async(device_name, name, user, resource_group_name, custom_headers).value! + response.body unless response.nil? + end + + # + # Create a new user or update an existing user's information on a data box + # edge/gateway device. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be added/updated. + # @param user [User] The user object containing the user details and encrypted + # password. + # @param resource_group_name [String] The resource group 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_create_or_update_with_http_info(device_name, name, user, resource_group_name, custom_headers = nil) + begin_create_or_update_async(device_name, name, user, resource_group_name, custom_headers).value! + end + + # + # Create a new user or update an existing user's information on a data box + # edge/gateway device. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be added/updated. + # @param user [User] The user object containing the user details and encrypted + # password. + # @param resource_group_name [String] The resource group 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_create_or_update_async(device_name, name, user, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'user is nil' if user.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::Compute::Mgmt::V2018_07_01::Models::User.mapper() + request_content = @client.serialize(request_mapper, user) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_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(: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::Compute::Mgmt::V2018_07_01::Models::User.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 user on a databox edge/gateway device. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be deleted. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(device_name, name, resource_group_name, custom_headers = nil) + response = begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + nil + end + + # + # Deletes the user on a databox edge/gateway device. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + begin_delete_async(device_name, name, resource_group_name, custom_headers).value! + end + + # + # Deletes the user on a databox edge/gateway device. + # + # @param device_name [String] The device name. + # @param name [String] The name of the user who needs to be deleted. + # @param resource_group_name [String] The resource group 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(device_name, name, resource_group_name, custom_headers = nil) + fail ArgumentError, 'device_name is nil' if device_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/users/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'deviceName' => device_name,'name' => name,'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name}, + query_params: {'api-version' => @client.api_version}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(: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 + + # + # Returns all the users registered in a data box edge/gateway device. + # + # @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 [UserList] operation results. + # + def list_by_data_box_edge_device_next(next_page_link, custom_headers = nil) + response = list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Returns all the users registered in a data box edge/gateway device. + # + # @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_data_box_edge_device_next_with_http_info(next_page_link, custom_headers = nil) + list_by_data_box_edge_device_next_async(next_page_link, custom_headers).value! + end + + # + # Returns all the users registered in a data box edge/gateway device. + # + # @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_data_box_edge_device_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::Compute::Mgmt::V2018_07_01::Models::UserList.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 + + # + # Returns all the users registered in a data box edge/gateway device. + # + # @param device_name [String] The device name. + # @param resource_group_name [String] The resource group name. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [UserList] which provide lazy access to pages of the response. + # + def list_by_data_box_edge_device_as_lazy(device_name, resource_group_name, custom_headers = nil) + response = list_by_data_box_edge_device_async(device_name, resource_group_name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_by_data_box_edge_device_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/version.rb b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/version.rb new file mode 100644 index 0000000000..1d8d6df50e --- /dev/null +++ b/management/azure_mgmt_edgedateway/lib/2018-07-01/generated/azure_mgmt_edgegateway/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_07_01 + VERSION = '0.0.1' +end