diff --git a/azure_sdk/lib/azure_sdk.rb b/azure_sdk/lib/azure_sdk.rb index c9bc1bc56f..777a7b47d3 100644 --- a/azure_sdk/lib/azure_sdk.rb +++ b/azure_sdk/lib/azure_sdk.rb @@ -3,6 +3,6 @@ # Licensed under the MIT License. See License.txt in the project root for license information. require 'azure_sdk/version' +require 'v2018_03_01/v2018_03_01_profile_client' require 'v2017_03_09/v2017_03_09_profile_client' require 'latest/latest_profile_client' -require 'v2018_03_01/v2018_03_01_profile_client' diff --git a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb index f2ff35ae4a..ebd5366211 100644 --- a/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/analysisservices_profile_module.rb @@ -7,16 +7,14 @@ module Azure::Profiles::Latest module AnalysisServices module Mgmt - Servers = Azure::AnalysisServices::Mgmt::V2017_08_01::Servers Operations = Azure::AnalysisServices::Mgmt::V2017_08_01::Operations + Servers = Azure::AnalysisServices::Mgmt::V2017_08_01::Servers module Models + SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier AnalysisServicesServerUpdateParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServerUpdateParameters - OperationDisplay = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay GatewayListStatusLive = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive - OperationListResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationListResult GatewayError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError - Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource GatewayListStatusError = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError AnalysisServicesServers = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServers CheckServerNameAvailabilityParameters = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::CheckServerNameAvailabilityParameters @@ -24,24 +22,26 @@ module Models 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 - ResourceSku = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku - OperationStatus = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationStatus ServerAdministrators = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ServerAdministrators SkuEnumerationForNewResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForNewResourceResult - Operation = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation SkuDetailsForExistingResource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuDetailsForExistingResource IPv4FirewallRule = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::IPv4FirewallRule SkuEnumerationForExistingResourceResult = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForExistingResourceResult AnalysisServicesServer = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer - SkuTier = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier + ConnectionMode = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode + OperationStatus = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationStatus State = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State + Resource = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource + OperationDisplay = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay + 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 - ConnectionMode = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode Status = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status + ResourceSku = Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku end class AnalysisServicesManagementClass - attr_reader :servers, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :servers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -51,8 +51,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @servers = @client_0.servers @operations = @client_0.operations + @servers = @client_0.servers @model_classes = ModelClasses.new end @@ -71,24 +71,18 @@ def method_missing(method, *args) end class ModelClasses + 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 operation_display - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay - end def gateway_list_status_live Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusLive end - def operation_list_result - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationListResult - end def gateway_error Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayError end - def resource - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource - end def gateway_list_status_error Azure::AnalysisServices::Mgmt::V2017_08_01::Models::GatewayListStatusError end @@ -110,21 +104,12 @@ def ipv4_firewall_settings def error_response Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ErrorResponse end - def resource_sku - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku - end - def operation_status - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationStatus - end def server_administrators Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ServerAdministrators end def sku_enumeration_for_new_resource_result Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuEnumerationForNewResourceResult end - def operation - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation - end def sku_details_for_existing_resource Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuDetailsForExistingResource end @@ -137,21 +122,36 @@ def sku_enumeration_for_existing_resource_result def analysis_services_server Azure::AnalysisServices::Mgmt::V2017_08_01::Models::AnalysisServicesServer end - def sku_tier - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::SkuTier + def connection_mode + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode + end + def operation_status + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationStatus end def state Azure::AnalysisServices::Mgmt::V2017_08_01::Models::State end + def resource + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Resource + end + def operation_display + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationDisplay + end + def operation + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Operation + end + def operation_list_result + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::OperationListResult + end def provisioning_state Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ProvisioningState end - def connection_mode - Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ConnectionMode - end def status Azure::AnalysisServices::Mgmt::V2017_08_01::Models::Status end + def resource_sku + Azure::AnalysisServices::Mgmt::V2017_08_01::Models::ResourceSku + 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 378e87d145..42f6b918bd 100644 --- a/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/apimanagement_profile_module.rb @@ -7,6 +7,8 @@ module Azure::Profiles::Latest module ApiManagement module Mgmt + Group = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Group + Subscription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Subscription Policy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Policy PolicySnippets = Azure::ApiManagement::Mgmt::V2018_06_01_preview::PolicySnippets Regions = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Regions @@ -24,15 +26,12 @@ 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 - Certificate = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Certificate 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 - Group = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Group GroupUser = Azure::ApiManagement::Mgmt::V2018_06_01_preview::GroupUser IdentityProvider = Azure::ApiManagement::Mgmt::V2018_06_01_preview::IdentityProvider - Logger = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Logger 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 @@ -48,50 +47,109 @@ module Mgmt ProductPolicy = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ProductPolicy Property = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Property QuotaByCounterKeys = Azure::ApiManagement::Mgmt::V2018_06_01_preview::QuotaByCounterKeys + Logger = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Logger QuotaByPeriodKeys = Azure::ApiManagement::Mgmt::V2018_06_01_preview::QuotaByPeriodKeys Reports = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Reports - Subscription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Subscription TagResource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TagResource - Tag = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Tag TagDescription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TagDescription 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 + Tag = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Tag TenantConfiguration = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TenantConfiguration - User = Azure::ApiManagement::Mgmt::V2018_06_01_preview::User - UserGroup = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserGroup + TenantAccessGit = Azure::ApiManagement::Mgmt::V2018_06_01_preview::TenantAccessGit UserSubscription = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserSubscription - UserIdentities = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserIdentities + UserGroup = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserGroup ApiVersionSet = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiVersionSet + UserIdentities = Azure::ApiManagement::Mgmt::V2018_06_01_preview::UserIdentities ApiExport = Azure::ApiManagement::Mgmt::V2018_06_01_preview::ApiExport + User = Azure::ApiManagement::Mgmt::V2018_06_01_preview::User + Certificate = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Certificate module Models + BackendReconnectContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendReconnectContract + CertificateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateContract + ApiManagementServiceResource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceResource + ApiManagementServiceUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateParameters + EmailTemplateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateContract + GroupContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupContract + UserContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserContract + IdentityProviderContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderContract + LoggerContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerContract + NotificationContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationContract + RecipientUserContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserContract + RecipientEmailContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailContract + OpenidConnectProviderContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract + PortalSigninSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSigninSettings + PortalSignupSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSignupSettings + PortalDelegationSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalDelegationSettings + ApiTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiTagResourceContractProperties + ProductContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductContract + PropertyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyContract + SubscriptionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionContract + TagDescriptionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionContract + TagContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract + PolicyContentFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyContentFormat + ApiVersionSetContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContract + SoapApiType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SoapApiType + ContentFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ContentFormat + SamplingType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingType + ApiType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiType + ProductState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductState + AlwaysLog = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog + AuthorizationMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationMethod + GrantType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType + BearerTokenSendingMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BearerTokenSendingMethod + ClientAuthenticationMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ClientAuthenticationMethod + HostnameType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameType + BackendProtocol = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProtocol + VirtualNetworkType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VirtualNetworkType + SkuType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SkuType + GroupType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupType + NameAvailabilityReason = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NameAvailabilityReason + UserState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserState + Confirmation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Confirmation + LoggerType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerType + IdentityProviderType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderType + KeyType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::KeyType + ConnectivityStatusType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType + TemplateName = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TemplateName + VersioningScheme = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VersioningScheme + PolicyScopeContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyScopeContract + NotificationName = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationName + ExportFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ExportFormat + AsyncOperationStatus = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AsyncOperationStatus + Resource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Resource + SubscriptionState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionState + CertificateCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateCollection + ErrorResponse = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponse + State = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State + Protocol = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Protocol + OperationDisplay = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay ApiManagementServiceListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceListResult + Operation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation ErrorFieldContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorFieldContract - ApiManagementServiceGetSsoTokenResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceGetSsoTokenResult - ErrorResponse = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponse + OperationListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult ApiManagementServiceCheckNameAvailabilityParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceCheckNameAvailabilityParameters - PolicyCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyCollection + ApiManagementServiceGetSsoTokenResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceGetSsoTokenResult ApiManagementServiceNameAvailabilityResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceNameAvailabilityResult - PolicySnippetsCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicySnippetsCollection + PolicyCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyCollection ApiManagementServiceApplyNetworkConfigurationParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceApplyNetworkConfigurationParameters - RegionListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegionListResult + PolicySnippetsCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicySnippetsCollection ApiManagementServiceUploadCertificateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUploadCertificateParameters - ApiExportResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiExportResult + RegionListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegionListResult HostnameConfigurationOld = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameConfigurationOld - CertificateInformation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateInformation + ApiExportResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiExportResult CertificateConfiguration = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateConfiguration - ApiCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCollection + CertificateInformation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateInformation HostnameConfiguration = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameConfiguration - ApiCreateOrUpdateParameter = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCreateOrUpdateParameter + ApiCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCollection VirtualNetworkConfiguration = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VirtualNetworkConfiguration - OAuth2AuthenticationSettingsContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OAuth2AuthenticationSettingsContract + ApiCreateOrUpdateParameter = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCreateOrUpdateParameter ApiManagementServiceSkuProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceSkuProperties - SubscriptionKeyParameterNamesContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionKeyParameterNamesContract + OAuth2AuthenticationSettingsContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OAuth2AuthenticationSettingsContract AdditionalLocation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AdditionalLocation - ApiRevisionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiRevisionContract + SubscriptionKeyParameterNamesContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionKeyParameterNamesContract ApiManagementServiceBackupRestoreParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceBackupRestoreParameters - ApiRevisionInfoContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiRevisionInfoContract ApiManagementServiceBaseProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceBaseProperties ApiReleaseCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiReleaseCollection ApiManagementServiceIdentity = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceIdentity @@ -111,7 +169,6 @@ module Models 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 - Resource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Resource PipelineDiagnosticSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PipelineDiagnosticSettings ApiVersionSetContractDetails = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContractDetails UserIdentityCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserIdentityCollection @@ -119,11 +176,8 @@ module Models ProductEntityBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductEntityBaseParameters ApiManagementServiceUpdateHostnameParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateHostnameParameters OperationTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties - OperationDisplay = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay TagTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties - Operation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation TagResourceCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection - OperationListResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult ProductCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductCollection EmailTemplateParametersContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateParametersContractProperties AuthorizationServerCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerCollection @@ -159,129 +213,75 @@ module Models ApiVersionSetCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetCollection IdentityProviderBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderBaseParameters IssueCommentCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection + ApiRevisionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiRevisionContract RequestReportCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection - HttpMessageDiagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + ApiRevisionInfoContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiRevisionInfoContract LoggerCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerCollection - DiagnosticCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection + HttpMessageDiagnostic = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic LoggerUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract - GenerateSsoUrlResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult + DiagnosticCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection RecipientsContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientsContractProperties - TenantConfigurationSyncStateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract + GenerateSsoUrlResult = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult RequestReportRecordContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportRecordContract - OperationResultContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationResultContract + TenantConfigurationSyncStateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract NotificationCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection - X509CertificateName = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::X509CertificateName + OperationResultContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationResultContract ReportCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportCollection - BackendProxyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract + X509CertificateName = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::X509CertificateName RecipientUserCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserCollection - BackendCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendCollection + BackendProxyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract ReportRecordContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract - CertificateCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateCollection - RecipientEmailCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailCollection + BackendCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendCollection ApiUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiUpdateContract - ConnectivityStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract + RecipientEmailCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailCollection ApiVersionSetUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetUpdateParameters - NetworkStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContract + ConnectivityStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract OperationEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract - NetworkStatusContractByLocation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContractByLocation + NetworkStatusContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContract IssueAttachmentCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueAttachmentCollection - QuotaCounterValueContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract + NetworkStatusContractByLocation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContractByLocation UserCreateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserCreateParameters - OpenIdConnectProviderCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection + QuotaCounterValueContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract SaveConfigurationParameter = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter - OpenidConnectProviderUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderUpdateContract + OpenIdConnectProviderCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection BackendProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties - QuotaCounterCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection + OpenidConnectProviderUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderUpdateContract DeployConfigurationParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DeployConfigurationParameters - TermsOfServiceProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties + QuotaCounterCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection ApiEntityBaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract - QuotaCounterContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterContract IssueCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCollection SubscriptionsDelegationSettingsProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionsDelegationSettingsProperties - TagResourceContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract + QuotaCounterContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterContract + TermsOfServiceProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties RegistrationDelegationSettingsProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegistrationDelegationSettingsProperties - BackendBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendBaseParameters + TagResourceContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract QuotaCounterValueContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContractProperties - ParameterContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ParameterContract + BackendBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendBaseParameters ProductUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductUpdateParameters - AuthorizationServerContractBaseProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerContractBaseProperties + ParameterContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ParameterContract PropertyEntityBaseParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyEntityBaseParameters - SamplingSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingSettings + AuthorizationServerContractBaseProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerContractBaseProperties SubscriptionCollection = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionCollection - PropertyUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyUpdateParameters + SamplingSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingSettings PolicyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyContract - ApiContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiContractProperties + PropertyUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyUpdateParameters ApiContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiContract - ApiReleaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiReleaseContract + ApiContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiContractProperties OperationContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationContract - SchemaContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SchemaContract + ApiReleaseContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiReleaseContract IssueContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueContract - IssueCommentContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentContract + SchemaContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SchemaContract IssueAttachmentContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueAttachmentContract - DiagnosticContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticContract + IssueCommentContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentContract ProductTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductTagResourceContractProperties - ApiTagResourceContractProperties = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiTagResourceContractProperties - ProductContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductContract + DiagnosticContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticContract AuthorizationServerContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerContract AuthorizationServerUpdateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerUpdateContract BackendContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendContract - BackendReconnectContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendReconnectContract - CertificateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateContract - ApiManagementServiceResource = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceResource - ApiManagementServiceUpdateParameters = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateParameters - EmailTemplateContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateContract - GroupContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupContract - UserContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserContract - IdentityProviderContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderContract - LoggerContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerContract - NotificationContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationContract - RecipientUserContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserContract - RecipientEmailContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailContract - OpenidConnectProviderContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract - PortalSigninSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSigninSettings - PortalSignupSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSignupSettings - PortalDelegationSettings = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalDelegationSettings - SubscriptionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionContract - PropertyContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyContract - TagContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract - TagDescriptionContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionContract - ApiVersionSetContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContract - PolicyContentFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyContentFormat - Protocol = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Protocol - ContentFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ContentFormat - SoapApiType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SoapApiType - ApiType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiType - State = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State - SamplingType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingType - AlwaysLog = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog - ProductState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductState - GrantType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType - AuthorizationMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationMethod - ClientAuthenticationMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ClientAuthenticationMethod - BearerTokenSendingMethod = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BearerTokenSendingMethod - BackendProtocol = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProtocol - HostnameType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameType - SkuType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SkuType - VirtualNetworkType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VirtualNetworkType - NameAvailabilityReason = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NameAvailabilityReason - GroupType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupType - Confirmation = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Confirmation - UserState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserState - IdentityProviderType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderType - LoggerType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerType - ConnectivityStatusType = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType - SubscriptionState = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionState - AsyncOperationStatus = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AsyncOperationStatus - 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 - NotificationName = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationName - PolicyScopeContract = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyScopeContract - ExportFormat = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ExportFormat end class ApiManagementManagementClass - attr_reader :policy, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :certificate, :api_management_operations, :api_management_service, :diagnostic, :email_template, :group, :group_user, :identity_provider, :logger, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :product, :product_api, :product_group, :product_subscriptions, :product_policy, :property, :quota_by_counter_keys, :quota_by_period_keys, :reports, :subscription, :tag_resource, :tag, :tag_description, :operation_operations, :tenant_access, :tenant_access_git, :tenant_configuration, :user, :user_group, :user_subscription, :user_identities, :api_version_set, :api_export, :configurable, :base_url, :options, :model_classes + attr_reader :group, :subscription, :policy, :policy_snippets, :regions, :api, :api_revisions, :api_release, :api_operation, :api_operation_policy, :api_product, :api_policy, :api_schema, :api_diagnostic, :api_issue, :api_issue_comment, :api_issue_attachment, :authorization_server, :backend, :api_management_operations, :api_management_service, :diagnostic, :email_template, :group_user, :identity_provider, :notification, :notification_recipient_user, :notification_recipient_email, :network_status, :open_id_connect_provider, :sign_in_settings, :sign_up_settings, :delegation_settings, :product, :product_api, :product_group, :product_subscriptions, :product_policy, :property, :quota_by_counter_keys, :logger, :quota_by_period_keys, :reports, :tag_resource, :tag_description, :operation_operations, :tenant_access, :tag, :tenant_configuration, :tenant_access_git, :user_subscription, :user_group, :api_version_set, :user_identities, :api_export, :user, :certificate, :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,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @group = @client_0.group + @subscription = @client_0.subscription @policy = @client_0.policy @policy_snippets = @client_0.policy_snippets @regions = @client_0.regions @@ -308,15 +310,12 @@ 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 - @certificate = @client_0.certificate @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 = @client_0.group @group_user = @client_0.group_user @identity_provider = @client_0.identity_provider - @logger = @client_0.logger @notification = @client_0.notification @notification_recipient_user = @client_0.notification_recipient_user @notification_recipient_email = @client_0.notification_recipient_email @@ -332,22 +331,23 @@ def initialize(configurable, base_url=nil, options=nil) @product_policy = @client_0.product_policy @property = @client_0.property @quota_by_counter_keys = @client_0.quota_by_counter_keys + @logger = @client_0.logger @quota_by_period_keys = @client_0.quota_by_period_keys @reports = @client_0.reports - @subscription = @client_0.subscription @tag_resource = @client_0.tag_resource - @tag = @client_0.tag @tag_description = @client_0.tag_description @operation_operations = @client_0.operation_operations @tenant_access = @client_0.tenant_access - @tenant_access_git = @client_0.tenant_access_git + @tag = @client_0.tag @tenant_configuration = @client_0.tenant_configuration - @user = @client_0.user - @user_group = @client_0.user_group + @tenant_access_git = @client_0.tenant_access_git @user_subscription = @client_0.user_subscription - @user_identities = @client_0.user_identities + @user_group = @client_0.user_group @api_version_set = @client_0.api_version_set + @user_identities = @client_0.user_identities @api_export = @client_0.api_export + @user = @client_0.user + @certificate = @client_0.certificate @model_classes = ModelClasses.new end @@ -366,84 +366,258 @@ def method_missing(method, *args) end class ModelClasses - def api_management_service_list_result - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceListResult + def backend_reconnect_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendReconnectContract end - def error_field_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorFieldContract + def certificate_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateContract end - def api_management_service_get_sso_token_result - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceGetSsoTokenResult + def api_management_service_resource + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceResource end - def error_response - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponse + def api_management_service_update_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateParameters + end + def email_template_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateContract + end + def group_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupContract + end + def user_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserContract + end + def identity_provider_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderContract + end + 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 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 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 portal_signup_settings + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSignupSettings + end + def portal_delegation_settings + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalDelegationSettings + end + def api_tag_resource_contract_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiTagResourceContractProperties + end + def product_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductContract + end + def property_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyContract + end + 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 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_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 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 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 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 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 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 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 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 name_availability_reason + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NameAvailabilityReason + end + def user_state + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserState + end + def confirmation + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Confirmation + end + def logger_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerType + end + def identity_provider_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderType + end + def key_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::KeyType + end + def connectivity_status_type + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType + end + def template_name + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TemplateName + end + def versioning_scheme + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VersioningScheme + end + def policy_scope_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyScopeContract + end + def notification_name + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationName + end + def export_format + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ExportFormat + end + def async_operation_status + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AsyncOperationStatus + end + def resource + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Resource + end + def subscription_state + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionState + end + def certificate_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateCollection + end + def error_response + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorResponse + end + def state + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State + end + def protocol + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Protocol + end + def operation_display + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay + end + def api_management_service_list_result + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceListResult + end + def operation + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation + end + def error_field_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ErrorFieldContract + end + def operation_list_result + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult end def api_management_service_check_name_availability_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceCheckNameAvailabilityParameters end - def policy_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyCollection + def api_management_service_get_sso_token_result + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceGetSsoTokenResult end def api_management_service_name_availability_result Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceNameAvailabilityResult end - def policy_snippets_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicySnippetsCollection + def policy_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyCollection end def api_management_service_apply_network_configuration_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceApplyNetworkConfigurationParameters end - def region_list_result - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegionListResult + def policy_snippets_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicySnippetsCollection end def api_management_service_upload_certificate_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUploadCertificateParameters end - def api_export_result - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiExportResult + def region_list_result + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegionListResult end def hostname_configuration_old Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameConfigurationOld end - def certificate_information - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateInformation + def api_export_result + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiExportResult end def certificate_configuration Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateConfiguration end - def api_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCollection + def certificate_information + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateInformation end def hostname_configuration Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameConfiguration end - def api_create_or_update_parameter - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCreateOrUpdateParameter + def api_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCollection end def virtual_network_configuration Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VirtualNetworkConfiguration end - def oauth2_authentication_settings_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OAuth2AuthenticationSettingsContract + def api_create_or_update_parameter + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCreateOrUpdateParameter end def api_management_service_sku_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceSkuProperties end - def subscription_key_parameter_names_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionKeyParameterNamesContract + def oauth2_authentication_settings_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OAuth2AuthenticationSettingsContract end def additional_location Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AdditionalLocation end - def api_revision_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiRevisionContract + def subscription_key_parameter_names_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionKeyParameterNamesContract end def api_management_service_backup_restore_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceBackupRestoreParameters end - def api_revision_info_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiRevisionInfoContract - end def api_management_service_base_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceBaseProperties end @@ -501,9 +675,6 @@ def region_contract def body_diagnostic_settings Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BodyDiagnosticSettings end - def resource - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Resource - end def pipeline_diagnostic_settings Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PipelineDiagnosticSettings end @@ -525,21 +696,12 @@ def api_management_service_update_hostname_parameters def operation_tag_resource_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationTagResourceContractProperties end - def operation_display - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationDisplay - end def tag_tag_resource_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagTagResourceContractProperties end - def operation - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Operation - end def tag_resource_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection end - def operation_list_result - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationListResult - end def product_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductCollection end @@ -645,194 +807,191 @@ def identity_provider_base_parameters def issue_comment_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentCollection end + def api_revision_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiRevisionContract + end def request_report_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportCollection end - def http_message_diagnostic - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic + def api_revision_info_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiRevisionInfoContract end def logger_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerCollection end - def diagnostic_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection + def http_message_diagnostic + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HttpMessageDiagnostic end def logger_update_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::LoggerUpdateContract end - def generate_sso_url_result - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult + def diagnostic_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticCollection end def recipients_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientsContractProperties end - def tenant_configuration_sync_state_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract + def generate_sso_url_result + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GenerateSsoUrlResult end def request_report_record_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RequestReportRecordContract end - def operation_result_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationResultContract + def tenant_configuration_sync_state_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TenantConfigurationSyncStateContract end def notification_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationCollection end - def x509_certificate_name - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::X509CertificateName + def operation_result_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationResultContract end def report_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportCollection end - def backend_proxy_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract + def x509_certificate_name + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::X509CertificateName end def recipient_user_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientUserCollection end - def backend_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendCollection + def backend_proxy_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProxyContract end def report_record_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ReportRecordContract end - def certificate_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateCollection - end - def recipient_email_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailCollection + def backend_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendCollection end def api_update_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiUpdateContract end - def connectivity_status_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract + def recipient_email_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RecipientEmailCollection end def api_version_set_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetUpdateParameters end - def network_status_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContract + def connectivity_status_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusContract end def operation_entity_base_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationEntityBaseContract end - def network_status_contract_by_location - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContractByLocation + def network_status_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContract end def issue_attachment_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueAttachmentCollection end - def quota_counter_value_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract + def network_status_contract_by_location + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NetworkStatusContractByLocation end def user_create_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserCreateParameters end - def open_id_connect_provider_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection + def quota_counter_value_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContract end def save_configuration_parameter Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SaveConfigurationParameter end - def openid_connect_provider_update_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderUpdateContract + def open_id_connect_provider_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection end def backend_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProperties end - def quota_counter_collection - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection + def openid_connect_provider_update_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderUpdateContract end def deploy_configuration_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DeployConfigurationParameters end - def terms_of_service_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties + def quota_counter_collection + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterCollection end def api_entity_base_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiEntityBaseContract end - def quota_counter_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterContract - end def issue_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCollection end def subscriptions_delegation_settings_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionsDelegationSettingsProperties end - def tag_resource_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract + def quota_counter_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterContract + end + def terms_of_service_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TermsOfServiceProperties end def registration_delegation_settings_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::RegistrationDelegationSettingsProperties end - def backend_base_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendBaseParameters + def tag_resource_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceContract end def quota_counter_value_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::QuotaCounterValueContractProperties end - def parameter_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ParameterContract + def backend_base_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendBaseParameters end def product_update_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductUpdateParameters end - def authorization_server_contract_base_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerContractBaseProperties + def parameter_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ParameterContract end def property_entity_base_parameters Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyEntityBaseParameters end - def sampling_settings - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingSettings + def authorization_server_contract_base_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerContractBaseProperties end def subscription_collection Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionCollection end - def property_update_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyUpdateParameters + def sampling_settings + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingSettings end def policy_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyContract end - def api_contract_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiContractProperties + def property_update_parameters + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyUpdateParameters end def api_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiContract end - def api_release_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiReleaseContract + def api_contract_properties + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiContractProperties end def operation_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OperationContract end - def schema_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SchemaContract + def api_release_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiReleaseContract end def issue_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueContract end - def issue_comment_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentContract + def schema_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SchemaContract end def issue_attachment_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueAttachmentContract end - def diagnostic_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticContract + def issue_comment_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IssueCommentContract end def product_tag_resource_contract_properties Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductTagResourceContractProperties end - def api_tag_resource_contract_properties - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiTagResourceContractProperties - end - def product_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductContract + def diagnostic_contract + Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::DiagnosticContract end def authorization_server_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationServerContract @@ -843,165 +1002,6 @@ def authorization_server_update_contract def backend_contract Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendContract end - def backend_reconnect_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendReconnectContract - end - def certificate_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::CertificateContract - end - def api_management_service_resource - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceResource - end - def api_management_service_update_parameters - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiManagementServiceUpdateParameters - end - def email_template_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::EmailTemplateContract - end - def group_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupContract - end - def user_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserContract - end - def identity_provider_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::IdentityProviderContract - end - 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 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 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 portal_signup_settings - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalSignupSettings - end - def portal_delegation_settings - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PortalDelegationSettings - end - def subscription_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionContract - end - def property_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PropertyContract - end - def tag_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract - end - def tag_description_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagDescriptionContract - end - def api_version_set_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiVersionSetContract - end - def policy_content_format - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyContentFormat - end - def protocol - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Protocol - end - def content_format - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ContentFormat - end - def soap_api_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SoapApiType - end - def api_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiType - end - def state - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::State - end - def sampling_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SamplingType - end - def always_log - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AlwaysLog - end - def product_state - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ProductState - end - def grant_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GrantType - end - def authorization_method - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AuthorizationMethod - end - def client_authentication_method - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ClientAuthenticationMethod - end - def bearer_token_sending_method - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BearerTokenSendingMethod - end - def backend_protocol - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::BackendProtocol - end - def hostname_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::HostnameType - end - def sku_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SkuType - end - def virtual_network_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VirtualNetworkType - end - def name_availability_reason - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NameAvailabilityReason - end - def group_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::GroupType - end - def confirmation - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::Confirmation - end - def user_state - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::UserState - 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 connectivity_status_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ConnectivityStatusType - end - def subscription_state - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::SubscriptionState - end - def async_operation_status - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::AsyncOperationStatus - end - def key_type - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::KeyType - end - def versioning_scheme - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::VersioningScheme - end - def template_name - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TemplateName - end - def notification_name - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::NotificationName - end - def policy_scope_contract - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::PolicyScopeContract - end - def export_format - Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ExportFormat - end end end end diff --git a/azure_sdk/lib/latest/modules/authorization_profile_module.rb b/azure_sdk/lib/latest/modules/authorization_profile_module.rb index 0a2cc51141..fd90c929e8 100644 --- a/azure_sdk/lib/latest/modules/authorization_profile_module.rb +++ b/azure_sdk/lib/latest/modules/authorization_profile_module.rb @@ -8,31 +8,31 @@ module Azure::Profiles::Latest module Authorization module Mgmt ClassicAdministrators = Azure::Authorization::Mgmt::V2015_06_01_preview::ClassicAdministrators - ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations Permissions = Azure::Authorization::Mgmt::V2018_01_01_preview::Permissions + ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2018_01_01_preview::ProviderOperationsMetadataOperations RoleAssignments = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleAssignments RoleDefinitions = Azure::Authorization::Mgmt::V2018_01_01_preview::RoleDefinitions module Models ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministratorListResult ClassicAdministrator = Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator + RoleAssignment = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignment + RoleAssignmentListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentListResult RoleDefinitionFilter = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter - RoleDefinition = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition + PermissionGetResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult + RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentCreateParameters ResourceType = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType - RoleDefinitionListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadataListResult + RoleDefinition = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition RoleAssignmentFilter = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentFilter - PermissionGetResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult - RoleAssignment = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignment - ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata - RoleAssignmentListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentListResult + RoleDefinitionListResult = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult ProviderOperation = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperation - RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentCreateParameters + ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata Permission = Azure::Authorization::Mgmt::V2018_01_01_preview::Models::Permission end class AuthorizationManagementClass - attr_reader :classic_administrators, :provider_operations_metadata_operations, :permissions, :role_assignments, :role_definitions, :configurable, :base_url, :options, :model_classes + attr_reader :classic_administrators, :permissions, :provider_operations_metadata_operations, :role_assignments, :role_definitions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -49,8 +49,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations @permissions = @client_1.permissions + @provider_operations_metadata_operations = @client_1.provider_operations_metadata_operations @role_assignments = @client_1.role_assignments @role_definitions = @client_1.role_definitions @@ -79,41 +79,41 @@ def classic_administrator_list_result def classic_administrator Azure::Authorization::Mgmt::V2015_06_01_preview::Models::ClassicAdministrator end + def role_assignment + Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignment + end + def role_assignment_list_result + Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentListResult + end def role_definition_filter Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionFilter end - def role_definition - Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition + def permission_get_result + Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult + end + def role_assignment_create_parameters + Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentCreateParameters end def resource_type Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ResourceType end - def role_definition_list_result - Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult - end def provider_operations_metadata_list_result Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadataListResult end + def role_definition + Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinition + end def role_assignment_filter Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentFilter end - def permission_get_result - Azure::Authorization::Mgmt::V2018_01_01_preview::Models::PermissionGetResult - end - def role_assignment - Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignment - end - def provider_operations_metadata - Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata - end - def role_assignment_list_result - Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentListResult + def role_definition_list_result + Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleDefinitionListResult end def provider_operation Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperation end - def role_assignment_create_parameters - Azure::Authorization::Mgmt::V2018_01_01_preview::Models::RoleAssignmentCreateParameters + def provider_operations_metadata + Azure::Authorization::Mgmt::V2018_01_01_preview::Models::ProviderOperationsMetadata end def permission Azure::Authorization::Mgmt::V2018_01_01_preview::Models::Permission diff --git a/azure_sdk/lib/latest/modules/automation_profile_module.rb b/azure_sdk/lib/latest/modules/automation_profile_module.rb index bfb000644e..4d942360ec 100644 --- a/azure_sdk/lib/latest/modules/automation_profile_module.rb +++ b/azure_sdk/lib/latest/modules/automation_profile_module.rb @@ -7,10 +7,9 @@ module Azure::Profiles::Latest module Automation module Mgmt + Usages = Azure::Automation::Mgmt::V2015_10_31::Usages AutomationAccountOperations = Azure::Automation::Mgmt::V2015_10_31::AutomationAccountOperations - Operations = Azure::Automation::Mgmt::V2015_10_31::Operations StatisticsOperations = Azure::Automation::Mgmt::V2015_10_31::StatisticsOperations - Usages = Azure::Automation::Mgmt::V2015_10_31::Usages Keys = Azure::Automation::Mgmt::V2015_10_31::Keys CertificateOperations = Azure::Automation::Mgmt::V2015_10_31::CertificateOperations ConnectionOperations = Azure::Automation::Mgmt::V2015_10_31::ConnectionOperations @@ -18,6 +17,7 @@ module Mgmt CredentialOperations = Azure::Automation::Mgmt::V2015_10_31::CredentialOperations DscCompilationJobOperations = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobOperations DscCompilationJobStream = Azure::Automation::Mgmt::V2015_10_31::DscCompilationJobStream + Operations = Azure::Automation::Mgmt::V2015_10_31::Operations DscConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscConfigurationOperations AgentRegistrationInformation = Azure::Automation::Mgmt::V2015_10_31::AgentRegistrationInformation DscNodeOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeOperations @@ -25,9 +25,9 @@ module Mgmt DscNodeConfigurationOperations = Azure::Automation::Mgmt::V2015_10_31::DscNodeConfigurationOperations HybridRunbookWorkerGroupOperations = Azure::Automation::Mgmt::V2015_10_31::HybridRunbookWorkerGroupOperations JobOperations = Azure::Automation::Mgmt::V2015_10_31::JobOperations - JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations JobScheduleOperations = Azure::Automation::Mgmt::V2015_10_31::JobScheduleOperations LinkedWorkspaceOperations = Azure::Automation::Mgmt::V2015_10_31::LinkedWorkspaceOperations + JobStreamOperations = Azure::Automation::Mgmt::V2015_10_31::JobStreamOperations ActivityOperations = Azure::Automation::Mgmt::V2015_10_31::ActivityOperations ModuleModelOperations = Azure::Automation::Mgmt::V2015_10_31::ModuleModelOperations ObjectDataTypes = Azure::Automation::Mgmt::V2015_10_31::ObjectDataTypes @@ -41,29 +41,34 @@ module Mgmt WebhookOperations = Azure::Automation::Mgmt::V2015_10_31::WebhookOperations module Models + Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku + 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 + HttpStatusCode = Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode + Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job + Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource + OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation + OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult + Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate AgentRegistration = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration DscNodeExtensionHandlerAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeExtensionHandlerAssociationProperty DscReportError = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportError DscReportResourceNavigation = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResourceNavigation AutomationAccountListResult = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountListResult DscReportResource = Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource - Operation = Azure::Automation::Mgmt::V2015_10_31::Models::Operation DscMetaConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration Statistics = Azure::Automation::Mgmt::V2015_10_31::Models::Statistics DscNodeReport = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReport UsageCounterName = Azure::Automation::Mgmt::V2015_10_31::Models::UsageCounterName DscNodeReportListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult - UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - Sku = Azure::Automation::Mgmt::V2015_10_31::Models::Sku - KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult VariableCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters ScheduleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleListResult AdvancedScheduleMonthlyOccurrence = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence - ErrorResponse = Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse DscNodeListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult WebhookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookCreateOrUpdateParameters ScheduleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters - CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters DscNodeConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters ConnectionCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters DscNodeConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult @@ -82,7 +87,6 @@ module Models VariableUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::VariableUpdateParameters ScheduleAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleAssociationProperty JobStream = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream - Job = Azure::Automation::Mgmt::V2015_10_31::Models::Job ContentHash = Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash JobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobListResult DscConfigurationParameter = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationParameter @@ -95,75 +99,71 @@ module Models JobScheduleCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::JobScheduleCreateParameters DscNodeUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters LinkedWorkspace = Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace - OperationDisplay = Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay ActivityParameterValidationSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterValidationSet StatisticsListResult = Azure::Automation::Mgmt::V2015_10_31::Models::StatisticsListResult ActivityParameter = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameter Key = Azure::Automation::Mgmt::V2015_10_31::Models::Key ActivityParameterSet = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet - Resource = Azure::Automation::Mgmt::V2015_10_31::Models::Resource ActivityOutputType = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType - CertificateListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult Activity = Azure::Automation::Mgmt::V2015_10_31::Models::Activity WebhookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookUpdateParameters ActivityListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ActivityListResult ConnectionType = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType ModuleErrorInfo = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo + CertificateUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters WebhookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult ContentLink = Azure::Automation::Mgmt::V2015_10_31::Models::ContentLink DscCompilationJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters ScheduleCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleCreateOrUpdateParameters JobStreamListResult = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult - ModuleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult DscConfigurationCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters ModuleCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters - AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + ModuleListResult = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult ModuleUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters AutomationAccountCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountCreateOrUpdateParameters TypeField = Azure::Automation::Mgmt::V2015_10_31::Models::TypeField - Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage - TypeFieldListResult = Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult - CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + KeyListResult = Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult RunbookParameter = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter - ConnectionUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters + UsageListResult = Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult RunbookDraft = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft CredentialUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters - AdvancedSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule + ConnectionUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters + AgentRegistrationRegenerateKeyParameter = Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter ContentSource = Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource - RunbookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult + CertificateListResult = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult DscNodeConfigurationAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty + TypeFieldListResult = Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult + AdvancedSchedule = Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule RunbookCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters - AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + RunbookListResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult RunbookUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters ConnectionTypeCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters - RunbookDraftUndoEditResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult + AutomationAccountUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters DscConfigurationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult + CertificateCreateOrUpdateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + RunbookDraftUndoEditResult = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult + TestJob = Azure::Automation::Mgmt::V2015_10_31::Models::TestJob TestJobCreateParameters = Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters ConnectionTypeAssociationProperty = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty - TestJob = Azure::Automation::Mgmt::V2015_10_31::Models::TestJob - OperationListResult = Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult + RunbookCreateOrUpdateDraftParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters RunbookCreateOrUpdateDraftProperties = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties DscCompilationJobListResult = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult - RunbookCreateOrUpdateDraftParameters = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters - TrackedResource = Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource + DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob AutomationAccount = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount - ProxyResource = Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource - Certificate = Azure::Automation::Mgmt::V2015_10_31::Models::Certificate - Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection Credential = Azure::Automation::Mgmt::V2015_10_31::Models::Credential - DscCompilationJob = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration DscConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration DscNode = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode - DscNodeConfiguration = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration - ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel - Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook Schedule = Azure::Automation::Mgmt::V2015_10_31::Models::Schedule - Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable - Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook + Connection = Azure::Automation::Mgmt::V2015_10_31::Models::Connection + Runbook = Azure::Automation::Mgmt::V2015_10_31::Models::Runbook SkuNameEnum = Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + Variable = Azure::Automation::Mgmt::V2015_10_31::Models::Variable + ModuleModel = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel + AutomationKeyPermissions = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions AutomationAccountState = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState AutomationKeyName = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName - AutomationKeyPermissions = Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions + Webhook = Azure::Automation::Mgmt::V2015_10_31::Models::Webhook JobProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState JobStatus = Azure::Automation::Mgmt::V2015_10_31::Models::JobStatus JobStreamType = Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamType @@ -176,13 +176,13 @@ module Models RunbookTypeEnum = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookTypeEnum RunbookState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookState RunbookProvisioningState = Azure::Automation::Mgmt::V2015_10_31::Models::RunbookProvisioningState - HttpStatusCode = Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode ScheduleDay = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay ScheduleFrequency = Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency + Usage = Azure::Automation::Mgmt::V2015_10_31::Models::Usage end class AutomationManagementClass - attr_reader :automation_account_operations, :operations, :statistics_operations, :usages, :keys, :certificate_operations, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :dsc_configuration_operations, :agent_registration_information, :dsc_node_operations, :node_reports, :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :job_stream_operations, :job_schedule_operations, :linked_workspace_operations, :activity_operations, :module_model_operations, :object_data_types, :fields, :runbook_draft_operations, :runbook_operations, :test_job_streams, :test_job_operations, :schedule_operations, :variable_operations, :webhook_operations, :configurable, :base_url, :options, :model_classes + attr_reader :usages, :automation_account_operations, :statistics_operations, :keys, :certificate_operations, :connection_operations, :connection_type_operations, :credential_operations, :dsc_compilation_job_operations, :dsc_compilation_job_stream, :operations, :dsc_configuration_operations, :agent_registration_information, :dsc_node_operations, :node_reports, :dsc_node_configuration_operations, :hybrid_runbook_worker_group_operations, :job_operations, :job_schedule_operations, :linked_workspace_operations, :job_stream_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,10 +192,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @usages = @client_0.usages @automation_account_operations = @client_0.automation_account_operations - @operations = @client_0.operations @statistics_operations = @client_0.statistics_operations - @usages = @client_0.usages @keys = @client_0.keys @certificate_operations = @client_0.certificate_operations @connection_operations = @client_0.connection_operations @@ -203,6 +202,7 @@ def initialize(configurable, base_url=nil, options=nil) @credential_operations = @client_0.credential_operations @dsc_compilation_job_operations = @client_0.dsc_compilation_job_operations @dsc_compilation_job_stream = @client_0.dsc_compilation_job_stream + @operations = @client_0.operations @dsc_configuration_operations = @client_0.dsc_configuration_operations @agent_registration_information = @client_0.agent_registration_information @dsc_node_operations = @client_0.dsc_node_operations @@ -210,9 +210,9 @@ def initialize(configurable, base_url=nil, options=nil) @dsc_node_configuration_operations = @client_0.dsc_node_configuration_operations @hybrid_runbook_worker_group_operations = @client_0.hybrid_runbook_worker_group_operations @job_operations = @client_0.job_operations - @job_stream_operations = @client_0.job_stream_operations @job_schedule_operations = @client_0.job_schedule_operations @linked_workspace_operations = @client_0.linked_workspace_operations + @job_stream_operations = @client_0.job_stream_operations @activity_operations = @client_0.activity_operations @module_model_operations = @client_0.module_model_operations @object_data_types = @client_0.object_data_types @@ -242,6 +242,39 @@ def method_missing(method, *args) end class ModelClasses + def sku + Azure::Automation::Mgmt::V2015_10_31::Models::Sku + end + def error_response + Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse + end + def tracked_resource + Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource + end + def proxy_resource + Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource + end + def http_status_code + Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode + end + def job + Azure::Automation::Mgmt::V2015_10_31::Models::Job + end + def resource + Azure::Automation::Mgmt::V2015_10_31::Models::Resource + end + def operation_display + Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay + end + def operation + Azure::Automation::Mgmt::V2015_10_31::Models::Operation + end + def operation_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult + end + def certificate + Azure::Automation::Mgmt::V2015_10_31::Models::Certificate + end def agent_registration Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistration end @@ -260,9 +293,6 @@ def automation_account_list_result def dsc_report_resource Azure::Automation::Mgmt::V2015_10_31::Models::DscReportResource end - def operation - Azure::Automation::Mgmt::V2015_10_31::Models::Operation - end def dsc_meta_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscMetaConfiguration end @@ -278,15 +308,6 @@ def usage_counter_name def dsc_node_report_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeReportListResult end - def usage_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult - end - def sku - Azure::Automation::Mgmt::V2015_10_31::Models::Sku - end - def key_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult - end def variable_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::VariableCreateOrUpdateParameters end @@ -296,9 +317,6 @@ def schedule_list_result def advanced_schedule_monthly_occurrence Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedScheduleMonthlyOccurrence end - def error_response - Azure::Automation::Mgmt::V2015_10_31::Models::ErrorResponse - end def dsc_node_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult end @@ -308,9 +326,6 @@ def webhook_create_or_update_parameters def schedule_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleUpdateParameters end - def certificate_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters - end def dsc_node_configuration_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters end @@ -365,9 +380,6 @@ def schedule_association_property def job_stream Azure::Automation::Mgmt::V2015_10_31::Models::JobStream end - def job - Azure::Automation::Mgmt::V2015_10_31::Models::Job - end def content_hash Azure::Automation::Mgmt::V2015_10_31::Models::ContentHash end @@ -404,9 +416,6 @@ def dsc_node_update_parameters def linked_workspace Azure::Automation::Mgmt::V2015_10_31::Models::LinkedWorkspace end - def operation_display - Azure::Automation::Mgmt::V2015_10_31::Models::OperationDisplay - end def activity_parameter_validation_set Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterValidationSet end @@ -422,15 +431,9 @@ def key def activity_parameter_set Azure::Automation::Mgmt::V2015_10_31::Models::ActivityParameterSet end - def resource - Azure::Automation::Mgmt::V2015_10_31::Models::Resource - end def activity_output_type Azure::Automation::Mgmt::V2015_10_31::Models::ActivityOutputType end - def certificate_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult - end def activity Azure::Automation::Mgmt::V2015_10_31::Models::Activity end @@ -446,6 +449,9 @@ def connection_type def module_error_info Azure::Automation::Mgmt::V2015_10_31::Models::ModuleErrorInfo end + def certificate_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateUpdateParameters + end def webhook_list_result Azure::Automation::Mgmt::V2015_10_31::Models::WebhookListResult end @@ -461,17 +467,14 @@ def schedule_create_or_update_parameters def job_stream_list_result Azure::Automation::Mgmt::V2015_10_31::Models::JobStreamListResult end - def module_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult - end def dsc_configuration_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters end def module_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters end - def agent_registration_regenerate_key_parameter - Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter + def module_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::ModuleListResult end def module_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters @@ -482,20 +485,14 @@ def automation_account_create_or_update_parameters def type_field Azure::Automation::Mgmt::V2015_10_31::Models::TypeField end - def usage - Azure::Automation::Mgmt::V2015_10_31::Models::Usage - end - def type_field_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult - end - def certificate_create_or_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + def key_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::KeyListResult end def runbook_parameter Azure::Automation::Mgmt::V2015_10_31::Models::RunbookParameter end - def connection_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters + def usage_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::UsageListResult end def runbook_draft Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraft @@ -503,23 +500,32 @@ def runbook_draft def credential_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters end - def advanced_schedule - Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule + def connection_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters + end + def agent_registration_regenerate_key_parameter + Azure::Automation::Mgmt::V2015_10_31::Models::AgentRegistrationRegenerateKeyParameter end def content_source Azure::Automation::Mgmt::V2015_10_31::Models::ContentSource end - def runbook_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult + def certificate_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateListResult end def dsc_node_configuration_association_property Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationAssociationProperty end + def type_field_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::TypeFieldListResult + end + def advanced_schedule + Azure::Automation::Mgmt::V2015_10_31::Models::AdvancedSchedule + end def runbook_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters end - def automation_account_update_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters + def runbook_list_result + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookListResult end def runbook_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::RunbookUpdateParameters @@ -527,23 +533,29 @@ def runbook_update_parameters def connection_type_create_or_update_parameters Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters end - def runbook_draft_undo_edit_result - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult + def automation_account_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountUpdateParameters end def dsc_configuration_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult end + def certificate_create_or_update_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::CertificateCreateOrUpdateParameters + end + def runbook_draft_undo_edit_result + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookDraftUndoEditResult + end + def test_job + Azure::Automation::Mgmt::V2015_10_31::Models::TestJob + end def test_job_create_parameters Azure::Automation::Mgmt::V2015_10_31::Models::TestJobCreateParameters end def connection_type_association_property Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeAssociationProperty end - def test_job - Azure::Automation::Mgmt::V2015_10_31::Models::TestJob - end - def operation_list_result - Azure::Automation::Mgmt::V2015_10_31::Models::OperationListResult + def runbook_create_or_update_draft_parameters + Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters end def runbook_create_or_update_draft_properties Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties @@ -551,29 +563,17 @@ def runbook_create_or_update_draft_properties def dsc_compilation_job_list_result Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult end - def runbook_create_or_update_draft_parameters - Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftParameters - end - def tracked_resource - Azure::Automation::Mgmt::V2015_10_31::Models::TrackedResource + def dsc_compilation_job + Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob end def automation_account Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccount end - def proxy_resource - Azure::Automation::Mgmt::V2015_10_31::Models::ProxyResource - end - def certificate - Azure::Automation::Mgmt::V2015_10_31::Models::Certificate - end - def connection - Azure::Automation::Mgmt::V2015_10_31::Models::Connection - end def credential Azure::Automation::Mgmt::V2015_10_31::Models::Credential end - def dsc_compilation_job - Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob + def dsc_node_configuration + Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration end def dsc_configuration Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration @@ -581,26 +581,26 @@ def dsc_configuration def dsc_node Azure::Automation::Mgmt::V2015_10_31::Models::DscNode end - def dsc_node_configuration - Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration + def schedule + Azure::Automation::Mgmt::V2015_10_31::Models::Schedule end - def module_model - Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel + def connection + Azure::Automation::Mgmt::V2015_10_31::Models::Connection end def runbook Azure::Automation::Mgmt::V2015_10_31::Models::Runbook end - def schedule - Azure::Automation::Mgmt::V2015_10_31::Models::Schedule + def sku_name_enum + Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum end def variable Azure::Automation::Mgmt::V2015_10_31::Models::Variable end - def webhook - Azure::Automation::Mgmt::V2015_10_31::Models::Webhook + def module_model + Azure::Automation::Mgmt::V2015_10_31::Models::ModuleModel end - def sku_name_enum - Azure::Automation::Mgmt::V2015_10_31::Models::SkuNameEnum + def automation_key_permissions + Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions end def automation_account_state Azure::Automation::Mgmt::V2015_10_31::Models::AutomationAccountState @@ -608,8 +608,8 @@ def automation_account_state def automation_key_name Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyName end - def automation_key_permissions - Azure::Automation::Mgmt::V2015_10_31::Models::AutomationKeyPermissions + def webhook + Azure::Automation::Mgmt::V2015_10_31::Models::Webhook end def job_provisioning_state Azure::Automation::Mgmt::V2015_10_31::Models::JobProvisioningState @@ -647,15 +647,15 @@ def runbook_state def runbook_provisioning_state Azure::Automation::Mgmt::V2015_10_31::Models::RunbookProvisioningState end - def http_status_code - Azure::Automation::Mgmt::V2015_10_31::Models::HttpStatusCode - end def schedule_day Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleDay end def schedule_frequency Azure::Automation::Mgmt::V2015_10_31::Models::ScheduleFrequency end + def usage + Azure::Automation::Mgmt::V2015_10_31::Models::Usage + end end end end diff --git a/azure_sdk/lib/latest/modules/batch_profile_module.rb b/azure_sdk/lib/latest/modules/batch_profile_module.rb index 3145f68949..f93eb47800 100644 --- a/azure_sdk/lib/latest/modules/batch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/batch_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::Latest module Batch module Mgmt + Location = Azure::Batch::Mgmt::V2017_09_01::Location + CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations + Operations = Azure::Batch::Mgmt::V2017_09_01::Operations BatchAccountOperations = Azure::Batch::Mgmt::V2017_09_01::BatchAccountOperations ApplicationPackageOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationPackageOperations ApplicationOperations = Azure::Batch::Mgmt::V2017_09_01::ApplicationOperations - Location = Azure::Batch::Mgmt::V2017_09_01::Location - Operations = Azure::Batch::Mgmt::V2017_09_01::Operations - CertificateOperations = Azure::Batch::Mgmt::V2017_09_01::CertificateOperations PoolOperations = Azure::Batch::Mgmt::V2017_09_01::PoolOperations module Models + OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk FixedScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings AutoStorageBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageBaseProperties AutoScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleSettings @@ -23,9 +24,7 @@ module Models ScaleSettings = Azure::Batch::Mgmt::V2017_09_01::Models::ScaleSettings KeyVaultReference = Azure::Batch::Mgmt::V2017_09_01::Models::KeyVaultReference BatchAccountUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters - OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay BatchAccountRegenerateKeyParameters = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters - OperationListResult = Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult ActivateApplicationPackageParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters AutoScaleRunError = Azure::Batch::Mgmt::V2017_09_01::Models::AutoScaleRunError ApplicationPackage = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackage @@ -33,72 +32,73 @@ module Models ListApplicationsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListApplicationsResult NetworkSecurityGroupRule = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRule BatchLocationQuota = Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota - InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool - ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource PoolEndpointConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration DeleteCertificateError = Azure::Batch::Mgmt::V2017_09_01::Models::DeleteCertificateError NetworkConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkConfiguration CheckNameAvailabilityParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityParameters TaskSchedulingPolicy = Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy + ProxyResource = Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource CloudServiceConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration LinuxUserConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration - OSDisk = Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk UserAccount = Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount - DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk - MetadataItem = Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem DeploymentConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration ResourceFile = Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile + MetadataItem = Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem BatchAccountKeys = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys - EnvironmentSetting = Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting Application = Azure::Batch::Mgmt::V2017_09_01::Models::Application AutoUserSpecification = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification - Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource + EnvironmentSetting = Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting UserIdentity = Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity - CheckNameAvailabilityResult = Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult StartTask = Azure::Batch::Mgmt::V2017_09_01::Models::StartTask - ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference - CertificateReference = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference VirtualMachineConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration ApplicationPackageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference + CertificateReference = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference ApplicationCreateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters - ResizeError = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError + DataDisk = Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk CertificateBaseProperties = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties - ResizeOperationStatus = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus - WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration - Operation = Azure::Batch::Mgmt::V2017_09_01::Models::Operation + ResizeError = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError ApplicationUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters - ListPoolsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult + ResizeOperationStatus = Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus BatchAccountListResult = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult - ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + ListPoolsResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult AutoStorageProperties = Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties + WindowsConfiguration = Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration + Pool = Azure::Batch::Mgmt::V2017_09_01::Models::Pool BatchAccount = Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount - Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + ListCertificatesResult = Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult CertificateCreateOrUpdateParameters = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters - Pool = Azure::Batch::Mgmt::V2017_09_01::Models::Pool - PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode ProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState - AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType PackageState = Azure::Batch::Mgmt::V2017_09_01::Models::PackageState + PoolAllocationMode = Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode + AccountKeyType = Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType + PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState CertificateFormat = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat CertificateProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState - PoolProvisioningState = Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState + StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType AllocationState = Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState CachingType = Azure::Batch::Mgmt::V2017_09_01::Models::CachingType - StorageAccountType = Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType + InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol ComputeNodeDeallocationOption = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption InterNodeCommunicationState = Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState - InboundEndpointProtocol = Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel NetworkSecurityGroupRuleAccess = Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess ComputeNodeFillType = Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType - ElevationLevel = Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility AutoUserScope = Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope CertificateStoreLocation = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation - CertificateVisibility = Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility NameAvailabilityReason = Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason + Resource = Azure::Batch::Mgmt::V2017_09_01::Models::Resource + OperationDisplay = Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay + ImageReference = Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference + 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 + Certificate = Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + InboundNatPool = Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool end class BatchManagementClass - attr_reader :batch_account_operations, :application_package_operations, :application_operations, :location, :operations, :certificate_operations, :pool_operations, :configurable, :base_url, :options, :model_classes + attr_reader :location, :certificate_operations, :operations, :batch_account_operations, :application_package_operations, :application_operations, :pool_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -108,12 +108,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @location = @client_0.location + @certificate_operations = @client_0.certificate_operations + @operations = @client_0.operations @batch_account_operations = @client_0.batch_account_operations @application_package_operations = @client_0.application_package_operations @application_operations = @client_0.application_operations - @location = @client_0.location - @operations = @client_0.operations - @certificate_operations = @client_0.certificate_operations @pool_operations = @client_0.pool_operations @model_classes = ModelClasses.new @@ -133,6 +133,9 @@ def method_missing(method, *args) end class ModelClasses + def osdisk + Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk + end def fixed_scale_settings Azure::Batch::Mgmt::V2017_09_01::Models::FixedScaleSettings end @@ -154,15 +157,9 @@ def key_vault_reference def batch_account_update_parameters Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountUpdateParameters end - def operation_display - Azure::Batch::Mgmt::V2017_09_01::Models::OperationDisplay - end def batch_account_regenerate_key_parameters Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountRegenerateKeyParameters end - def operation_list_result - Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult - end def activate_application_package_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ActivateApplicationPackageParameters end @@ -184,12 +181,6 @@ def network_security_group_rule def batch_location_quota Azure::Batch::Mgmt::V2017_09_01::Models::BatchLocationQuota end - def inbound_nat_pool - Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool - end - def proxy_resource - Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource - end def pool_endpoint_configuration Azure::Batch::Mgmt::V2017_09_01::Models::PoolEndpointConfiguration end @@ -205,122 +196,110 @@ def check_name_availability_parameters def task_scheduling_policy Azure::Batch::Mgmt::V2017_09_01::Models::TaskSchedulingPolicy end + def proxy_resource + Azure::Batch::Mgmt::V2017_09_01::Models::ProxyResource + end def cloud_service_configuration Azure::Batch::Mgmt::V2017_09_01::Models::CloudServiceConfiguration end def linux_user_configuration Azure::Batch::Mgmt::V2017_09_01::Models::LinuxUserConfiguration end - def osdisk - Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk - end def user_account Azure::Batch::Mgmt::V2017_09_01::Models::UserAccount end - def data_disk - Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk - end - def metadata_item - Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem - end def deployment_configuration Azure::Batch::Mgmt::V2017_09_01::Models::DeploymentConfiguration end def resource_file Azure::Batch::Mgmt::V2017_09_01::Models::ResourceFile end + def metadata_item + Azure::Batch::Mgmt::V2017_09_01::Models::MetadataItem + end def batch_account_keys Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountKeys end - def environment_setting - Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting - end def application Azure::Batch::Mgmt::V2017_09_01::Models::Application end def auto_user_specification Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification end - def resource - Azure::Batch::Mgmt::V2017_09_01::Models::Resource + def environment_setting + Azure::Batch::Mgmt::V2017_09_01::Models::EnvironmentSetting end def user_identity Azure::Batch::Mgmt::V2017_09_01::Models::UserIdentity end - def check_name_availability_result - Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult - end def start_task Azure::Batch::Mgmt::V2017_09_01::Models::StartTask end - def image_reference - Azure::Batch::Mgmt::V2017_09_01::Models::ImageReference - end - def certificate_reference - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference - end def virtual_machine_configuration Azure::Batch::Mgmt::V2017_09_01::Models::VirtualMachineConfiguration end def application_package_reference Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationPackageReference end + def certificate_reference + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateReference + end def application_create_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationCreateParameters end - def resize_error - Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError + def data_disk + Azure::Batch::Mgmt::V2017_09_01::Models::DataDisk end def certificate_base_properties Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties end - def resize_operation_status - Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus - end - def windows_configuration - Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration - end - def operation - Azure::Batch::Mgmt::V2017_09_01::Models::Operation + def resize_error + Azure::Batch::Mgmt::V2017_09_01::Models::ResizeError end def application_update_parameters Azure::Batch::Mgmt::V2017_09_01::Models::ApplicationUpdateParameters end - def list_pools_result - Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult + def resize_operation_status + Azure::Batch::Mgmt::V2017_09_01::Models::ResizeOperationStatus end def batch_account_list_result Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccountListResult end - def list_certificates_result - Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult + def list_pools_result + Azure::Batch::Mgmt::V2017_09_01::Models::ListPoolsResult end def auto_storage_properties Azure::Batch::Mgmt::V2017_09_01::Models::AutoStorageProperties end + def windows_configuration + Azure::Batch::Mgmt::V2017_09_01::Models::WindowsConfiguration + end + def pool + Azure::Batch::Mgmt::V2017_09_01::Models::Pool + end def batch_account Azure::Batch::Mgmt::V2017_09_01::Models::BatchAccount end - def certificate - Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + def list_certificates_result + Azure::Batch::Mgmt::V2017_09_01::Models::ListCertificatesResult end def certificate_create_or_update_parameters Azure::Batch::Mgmt::V2017_09_01::Models::CertificateCreateOrUpdateParameters end - def pool - Azure::Batch::Mgmt::V2017_09_01::Models::Pool + def provisioning_state + Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState + end + def package_state + Azure::Batch::Mgmt::V2017_09_01::Models::PackageState end def pool_allocation_mode Azure::Batch::Mgmt::V2017_09_01::Models::PoolAllocationMode end - def provisioning_state - Azure::Batch::Mgmt::V2017_09_01::Models::ProvisioningState - end def account_key_type Azure::Batch::Mgmt::V2017_09_01::Models::AccountKeyType end - def package_state - Azure::Batch::Mgmt::V2017_09_01::Models::PackageState + def pool_provisioning_state + Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState end def certificate_format Azure::Batch::Mgmt::V2017_09_01::Models::CertificateFormat @@ -328,8 +307,8 @@ def certificate_format def certificate_provisioning_state Azure::Batch::Mgmt::V2017_09_01::Models::CertificateProvisioningState end - def pool_provisioning_state - Azure::Batch::Mgmt::V2017_09_01::Models::PoolProvisioningState + def storage_account_type + Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType end def allocation_state Azure::Batch::Mgmt::V2017_09_01::Models::AllocationState @@ -337,8 +316,8 @@ def allocation_state def caching_type Azure::Batch::Mgmt::V2017_09_01::Models::CachingType end - def storage_account_type - Azure::Batch::Mgmt::V2017_09_01::Models::StorageAccountType + def inbound_endpoint_protocol + Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol end def compute_node_deallocation_option Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeDeallocationOption @@ -346,8 +325,8 @@ def compute_node_deallocation_option def inter_node_communication_state Azure::Batch::Mgmt::V2017_09_01::Models::InterNodeCommunicationState end - def inbound_endpoint_protocol - Azure::Batch::Mgmt::V2017_09_01::Models::InboundEndpointProtocol + def elevation_level + Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel end def network_security_group_rule_access Azure::Batch::Mgmt::V2017_09_01::Models::NetworkSecurityGroupRuleAccess @@ -355,8 +334,8 @@ def network_security_group_rule_access def compute_node_fill_type Azure::Batch::Mgmt::V2017_09_01::Models::ComputeNodeFillType end - def elevation_level - Azure::Batch::Mgmt::V2017_09_01::Models::ElevationLevel + def certificate_visibility + Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility end def auto_user_scope Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserScope @@ -364,12 +343,33 @@ def auto_user_scope def certificate_store_location Azure::Batch::Mgmt::V2017_09_01::Models::CertificateStoreLocation end - def certificate_visibility - Azure::Batch::Mgmt::V2017_09_01::Models::CertificateVisibility - end def name_availability_reason Azure::Batch::Mgmt::V2017_09_01::Models::NameAvailabilityReason end + 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 + Azure::Batch::Mgmt::V2017_09_01::Models::Operation + end + def operation_list_result + Azure::Batch::Mgmt::V2017_09_01::Models::OperationListResult + end + def check_name_availability_result + Azure::Batch::Mgmt::V2017_09_01::Models::CheckNameAvailabilityResult + end + def certificate + Azure::Batch::Mgmt::V2017_09_01::Models::Certificate + end + def inbound_nat_pool + Azure::Batch::Mgmt::V2017_09_01::Models::InboundNatPool + 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 e2b7e7ec8c..c38b29cee1 100644 --- a/azure_sdk/lib/latest/modules/billing_profile_module.rb +++ b/azure_sdk/lib/latest/modules/billing_profile_module.rb @@ -13,19 +13,19 @@ module Mgmt Operations = Azure::Billing::Mgmt::V2018_03_01_preview::Operations module Models - ErrorResponse = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse ErrorDetails = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorDetails + OperationDisplay = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay + Operation = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation OperationListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationListResult - Resource = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource + ErrorResponse = Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse 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 - OperationDisplay = Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay EnrollmentAccountListResult = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult - Operation = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation EnrollmentAccount = Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount BillingPeriod = Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriod Invoice = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice + Resource = Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource end class BillingManagementClass @@ -61,17 +61,20 @@ def method_missing(method, *args) end class ModelClasses - def error_response - Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse - 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 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 resource - Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource + def error_response + Azure::Billing::Mgmt::V2018_03_01_preview::Models::ErrorResponse end def download_url Azure::Billing::Mgmt::V2018_03_01_preview::Models::DownloadUrl @@ -82,15 +85,9 @@ def invoices_list_result def billing_periods_list_result Azure::Billing::Mgmt::V2018_03_01_preview::Models::BillingPeriodsListResult end - def operation_display - Azure::Billing::Mgmt::V2018_03_01_preview::Models::OperationDisplay - end def enrollment_account_list_result Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccountListResult end - def operation - Azure::Billing::Mgmt::V2018_03_01_preview::Models::Operation - end def enrollment_account Azure::Billing::Mgmt::V2018_03_01_preview::Models::EnrollmentAccount end @@ -100,6 +97,9 @@ def billing_period def invoice Azure::Billing::Mgmt::V2018_03_01_preview::Models::Invoice end + def resource + Azure::Billing::Mgmt::V2018_03_01_preview::Models::Resource + end end end end diff --git a/azure_sdk/lib/latest/modules/cdn_profile_module.rb b/azure_sdk/lib/latest/modules/cdn_profile_module.rb index 5c103f5df4..145d37b772 100644 --- a/azure_sdk/lib/latest/modules/cdn_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cdn_profile_module.rb @@ -7,22 +7,23 @@ module Azure::Profiles::Latest module CDN module Mgmt - Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles Endpoints = Azure::CDN::Mgmt::V2017_10_12::Endpoints - Origins = Azure::CDN::Mgmt::V2017_10_12::Origins + Operations = Azure::CDN::Mgmt::V2017_10_12::Operations + Profiles = Azure::CDN::Mgmt::V2017_10_12::Profiles CustomDomains = Azure::CDN::Mgmt::V2017_10_12::CustomDomains ResourceUsageOperations = Azure::CDN::Mgmt::V2017_10_12::ResourceUsageOperations - Operations = Azure::CDN::Mgmt::V2017_10_12::Operations + Origins = Azure::CDN::Mgmt::V2017_10_12::Origins EdgeNodes = Azure::CDN::Mgmt::V2017_10_12::EdgeNodes module Models - OriginUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters Sku = Azure::CDN::Mgmt::V2017_10_12::Models::Sku + OriginUpdateParameters = Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters OriginListResult = Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult ProfileListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileListResult PurgeParameters = Azure::CDN::Mgmt::V2017_10_12::Models::PurgeParameters SsoUri = Azure::CDN::Mgmt::V2017_10_12::Models::SsoUri LoadParameters = Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters + ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse DeepCreatedOrigin = Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin CidrIpAddress = Azure::CDN::Mgmt::V2017_10_12::Models::CidrIpAddress EndpointListResult = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointListResult @@ -34,51 +35,50 @@ module Models CustomDomainParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainParameters EdgenodeResult = Azure::CDN::Mgmt::V2017_10_12::Models::EdgenodeResult CustomDomainListResult = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult - ErrorResponse = Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse ValidateCustomDomainInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput IpAddressGroup = Azure::CDN::Mgmt::V2017_10_12::Models::IpAddressGroup ValidateCustomDomainOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput - Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource - CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput DeliveryRuleCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition CheckNameAvailabilityOutput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput + CheckNameAvailabilityInput = Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput UrlPathConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters - ValidateProbeInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeInput CacheExpirationActionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::CacheExpirationActionParameters ValidateProbeOutput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeOutput + ValidateProbeInput = Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeInput GeoFilter = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilter - ResourceUsage = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsage UrlFileExtensionConditionParameters = Azure::CDN::Mgmt::V2017_10_12::Models::UrlFileExtensionConditionParameters ResourceUsageListResult = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsageListResult + ResourceUsage = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsage EndpointPropertiesUpdateParametersDeliveryPolicy = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy - OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay SupportedOptimizationTypesListResult = Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult - Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation - Profile = Azure::CDN::Mgmt::V2017_10_12::Models::Profile Endpoint = Azure::CDN::Mgmt::V2017_10_12::Models::Endpoint DeliveryRuleUrlPathCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlPathCondition - DeliveryRuleUrlFileExtensionCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition + Profile = Azure::CDN::Mgmt::V2017_10_12::Models::Profile DeliveryRuleCacheExpirationAction = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction Origin = Azure::CDN::Mgmt::V2017_10_12::Models::Origin + DeliveryRuleUrlFileExtensionCondition = Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition ProxyResource = Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource - CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain EdgeNode = Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode - TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName ProfileResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState OptimizationType = Azure::CDN::Mgmt::V2017_10_12::Models::OptimizationType EndpointResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::EndpointResourceState QueryStringCachingBehavior = Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior - GeoFilterActions = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions + TrackedResource = Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource OriginResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState CustomDomainResourceState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState - CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState + GeoFilterActions = Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions CustomHttpsProvisioningSubstate = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate + CustomHttpsProvisioningState = Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState + CustomDomain = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain ResourceType = Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType + Resource = Azure::CDN::Mgmt::V2017_10_12::Models::Resource + OperationDisplay = Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay + Operation = Azure::CDN::Mgmt::V2017_10_12::Models::Operation + SkuName = Azure::CDN::Mgmt::V2017_10_12::Models::SkuName end class CDNManagementClass - attr_reader :profiles, :endpoints, :origins, :custom_domains, :resource_usage_operations, :operations, :edge_nodes, :configurable, :base_url, :options, :model_classes + attr_reader :endpoints, :operations, :profiles, :custom_domains, :resource_usage_operations, :origins, :edge_nodes, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -88,12 +88,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @profiles = @client_0.profiles @endpoints = @client_0.endpoints - @origins = @client_0.origins + @operations = @client_0.operations + @profiles = @client_0.profiles @custom_domains = @client_0.custom_domains @resource_usage_operations = @client_0.resource_usage_operations - @operations = @client_0.operations + @origins = @client_0.origins @edge_nodes = @client_0.edge_nodes @model_classes = ModelClasses.new @@ -113,12 +113,12 @@ def method_missing(method, *args) end class ModelClasses - def origin_update_parameters - Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters - end def sku Azure::CDN::Mgmt::V2017_10_12::Models::Sku end + def origin_update_parameters + Azure::CDN::Mgmt::V2017_10_12::Models::OriginUpdateParameters + end def origin_list_result Azure::CDN::Mgmt::V2017_10_12::Models::OriginListResult end @@ -134,6 +134,9 @@ def sso_uri def load_parameters Azure::CDN::Mgmt::V2017_10_12::Models::LoadParameters end + def error_response + Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse + end def deep_created_origin Azure::CDN::Mgmt::V2017_10_12::Models::DeepCreatedOrigin end @@ -167,9 +170,6 @@ def edgenode_result def custom_domain_list_result Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainListResult end - def error_response - Azure::CDN::Mgmt::V2017_10_12::Models::ErrorResponse - end def validate_custom_domain_input Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainInput end @@ -179,65 +179,53 @@ def ip_address_group def validate_custom_domain_output Azure::CDN::Mgmt::V2017_10_12::Models::ValidateCustomDomainOutput end - def resource - Azure::CDN::Mgmt::V2017_10_12::Models::Resource - end - def check_name_availability_input - Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput - end def delivery_rule_condition Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCondition end def check_name_availability_output Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityOutput end + def check_name_availability_input + Azure::CDN::Mgmt::V2017_10_12::Models::CheckNameAvailabilityInput + end def url_path_condition_parameters Azure::CDN::Mgmt::V2017_10_12::Models::UrlPathConditionParameters end - def validate_probe_input - Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeInput - end def cache_expiration_action_parameters Azure::CDN::Mgmt::V2017_10_12::Models::CacheExpirationActionParameters end def validate_probe_output Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeOutput end + def validate_probe_input + Azure::CDN::Mgmt::V2017_10_12::Models::ValidateProbeInput + end def geo_filter Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilter end - def resource_usage - Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsage - end def url_file_extension_condition_parameters Azure::CDN::Mgmt::V2017_10_12::Models::UrlFileExtensionConditionParameters end def resource_usage_list_result Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsageListResult end + def resource_usage + Azure::CDN::Mgmt::V2017_10_12::Models::ResourceUsage + end def endpoint_properties_update_parameters_delivery_policy Azure::CDN::Mgmt::V2017_10_12::Models::EndpointPropertiesUpdateParametersDeliveryPolicy end - def operation_display - Azure::CDN::Mgmt::V2017_10_12::Models::OperationDisplay - end def supported_optimization_types_list_result Azure::CDN::Mgmt::V2017_10_12::Models::SupportedOptimizationTypesListResult end - def operation - Azure::CDN::Mgmt::V2017_10_12::Models::Operation - end - def profile - Azure::CDN::Mgmt::V2017_10_12::Models::Profile - end def endpoint Azure::CDN::Mgmt::V2017_10_12::Models::Endpoint end def delivery_rule_url_path_condition Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlPathCondition end - def delivery_rule_url_file_extension_condition - Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition + def profile + Azure::CDN::Mgmt::V2017_10_12::Models::Profile end def delivery_rule_cache_expiration_action Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleCacheExpirationAction @@ -245,21 +233,15 @@ def delivery_rule_cache_expiration_action def origin Azure::CDN::Mgmt::V2017_10_12::Models::Origin end + def delivery_rule_url_file_extension_condition + Azure::CDN::Mgmt::V2017_10_12::Models::DeliveryRuleUrlFileExtensionCondition + end def proxy_resource Azure::CDN::Mgmt::V2017_10_12::Models::ProxyResource end - def custom_domain - Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain - end def edge_node Azure::CDN::Mgmt::V2017_10_12::Models::EdgeNode end - def tracked_resource - Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource - end - def sku_name - Azure::CDN::Mgmt::V2017_10_12::Models::SkuName - end def profile_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::ProfileResourceState end @@ -272,8 +254,8 @@ def endpoint_resource_state def query_string_caching_behavior Azure::CDN::Mgmt::V2017_10_12::Models::QueryStringCachingBehavior end - def geo_filter_actions - Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions + def tracked_resource + Azure::CDN::Mgmt::V2017_10_12::Models::TrackedResource end def origin_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::OriginResourceState @@ -281,15 +263,33 @@ def origin_resource_state def custom_domain_resource_state Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainResourceState end - def custom_https_provisioning_state - Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState + def geo_filter_actions + Azure::CDN::Mgmt::V2017_10_12::Models::GeoFilterActions end def custom_https_provisioning_substate Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningSubstate end + def custom_https_provisioning_state + Azure::CDN::Mgmt::V2017_10_12::Models::CustomHttpsProvisioningState + end + def custom_domain + Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomain + end def resource_type Azure::CDN::Mgmt::V2017_10_12::Models::ResourceType end + def resource + Azure::CDN::Mgmt::V2017_10_12::Models::Resource + 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 sku_name + Azure::CDN::Mgmt::V2017_10_12::Models::SkuName + end end end end diff --git a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb index 021b149c7a..e950d95672 100644 --- a/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/cognitiveservices_profile_module.rb @@ -7,15 +7,16 @@ module Azure::Profiles::Latest module CognitiveServices module Mgmt - Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts ResourceSkus = Azure::CognitiveServices::Mgmt::V2017_04_18::ResourceSkus - Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations CheckSkuAvailability = Azure::CognitiveServices::Mgmt::V2017_04_18::CheckSkuAvailability + Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts + Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations module Models - ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku - Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier + Kind = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind + 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 CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult @@ -24,32 +25,31 @@ module Models OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult CheckSkuAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter - Usage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult CognitiveServicesAccountCreateParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountCreateParameters CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys ResourceSkuRestrictionInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName - ResourceSkuRestrictions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount - ResourceSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult - ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku - SkuName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName - SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier - Kind = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind - ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType QuotaUsageStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus ResourceSkuRestrictionsType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsType ResourceSkuRestrictionsReasonCode = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode + ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState + ResourceSkuRestrictions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions + SkuName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName + ResourceSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku + Usage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage + Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult end class CognitiveServicesManagementClass - attr_reader :accounts, :resource_skus, :operations, :check_sku_availability, :configurable, :base_url, :options, :model_classes + attr_reader :resource_skus, :check_sku_availability, :accounts, :operations, :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) - @accounts = @client_0.accounts @resource_skus = @client_0.resource_skus - @operations = @client_0.operations @check_sku_availability = @client_0.check_sku_availability + @accounts = @client_0.accounts + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -81,14 +81,17 @@ def method_missing(method, *args) end class ModelClasses - def error_body - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody - end def sku Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku end - def error - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + def sku_tier + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier + end + def kind + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind + end + def error_body + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody end def cognitive_services_account_update_parameters Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountUpdateParameters @@ -114,9 +117,6 @@ def cognitive_services_account_enumerate_skus_result def check_sku_availability_parameter Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter end - def usage - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage - end def check_sku_availability_result Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult end @@ -135,36 +135,15 @@ def resource_sku_restriction_info def metric_name Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName end - def resource_sku_restrictions - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions - end def cognitive_services_account Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount end - def resource_sku - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku - end def usages_result Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult end - def resource_skus_result - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult - end def cognitive_services_resource_and_sku Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku end - def sku_name - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName - end - def sku_tier - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier - end - def kind - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind - end - def provisioning_state - Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState - end def key_name Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName end @@ -180,6 +159,27 @@ def resource_sku_restrictions_type def resource_sku_restrictions_reason_code Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionsReasonCode end + def provisioning_state + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState + end + def resource_sku_restrictions + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions + end + def sku_name + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName + end + def resource_sku + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku + end + def usage + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage + end + def error + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error + end + def resource_skus_result + Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult + 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 fb47521f1d..9f1f6fa52e 100644 --- a/azure_sdk/lib/latest/modules/compute_profile_module.rb +++ b/azure_sdk/lib/latest/modules/compute_profile_module.rb @@ -8,261 +8,261 @@ module Azure::Profiles::Latest module Compute module Mgmt ResourceSkus = Azure::Compute::Mgmt::V2017_09_01::ResourceSkus - Operations = Azure::Compute::Mgmt::V2018_06_01::Operations - AvailabilitySets = Azure::Compute::Mgmt::V2018_06_01::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensionImages - VirtualMachineExtensions = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensions - VirtualMachineImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineImages - UsageOperations = Azure::Compute::Mgmt::V2018_06_01::UsageOperations - VirtualMachines = Azure::Compute::Mgmt::V2018_06_01::VirtualMachines - VirtualMachineSizes = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineSizes - Images = Azure::Compute::Mgmt::V2018_06_01::Images VirtualMachineScaleSets = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSets VirtualMachineScaleSetExtensions = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSetExtensions VirtualMachineScaleSetRollingUpgrades = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSetRollingUpgrades VirtualMachineScaleSetVMs = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSetVMs LogAnalytics = Azure::Compute::Mgmt::V2018_06_01::LogAnalytics + Operations = Azure::Compute::Mgmt::V2018_06_01::Operations VirtualMachineRunCommands = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineRunCommands + Disks = Azure::Compute::Mgmt::V2018_06_01::Disks + Snapshots = Azure::Compute::Mgmt::V2018_06_01::Snapshots Galleries = Azure::Compute::Mgmt::V2018_06_01::Galleries GalleryImages = Azure::Compute::Mgmt::V2018_06_01::GalleryImages GalleryImageVersions = Azure::Compute::Mgmt::V2018_06_01::GalleryImageVersions - Disks = Azure::Compute::Mgmt::V2018_06_01::Disks - Snapshots = Azure::Compute::Mgmt::V2018_06_01::Snapshots + AvailabilitySets = Azure::Compute::Mgmt::V2018_06_01::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensionImages + VirtualMachineExtensions = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensions + VirtualMachines = Azure::Compute::Mgmt::V2018_06_01::VirtualMachines + VirtualMachineImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineImages + UsageOperations = Azure::Compute::Mgmt::V2018_06_01::UsageOperations + VirtualMachineSizes = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineSizes + Images = Azure::Compute::Mgmt::V2018_06_01::Images module Models - ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions - ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity ResourceSkuLocationInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo - ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities - ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity + ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode ResourceSkuCosts = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts - ResourceSkusResult = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult ResourceSkuRestrictionInfo = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo + 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 - ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode - ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties + ResourceSku = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku + ResourceSkusResult = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse - ApiEntityReference = Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference - VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings - ComputeOperationListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult - VirtualMachineScaleSetIpTag = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag - SubResource = Azure::Compute::Mgmt::V2018_06_01::Models::SubResource - VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration - VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters - VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk - AvailabilitySetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult - VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk - VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult + ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties + Plan = Azure::Compute::Mgmt::V2018_06_01::Models::Plan + 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 + KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference + Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku + VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk + DiffDiskSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings + ReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk - GalleryList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList + ManagedArtifact = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile - GalleryDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage + WinRMListener = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile - VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult - ComputeOperationValue = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue - OSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage - InstanceViewStatus = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus - GalleryArtifactSource = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource - Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku - Usage = Azure::Compute::Mgmt::V2018_06_01::Models::Usage - CreationData = Azure::Compute::Mgmt::V2018_06_01::Models::CreationData - VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters + 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 + VaultCertificate = Azure::Compute::Mgmt::V2018_06_01::Models::VaultCertificate + VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration + OSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::OSProfile VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration - Plan = Azure::Compute::Mgmt::V2018_06_01::Models::Plan + NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile + GalleryImageList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList + DiagnosticsProfile = Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile SourceVault = Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault - TargetRegion = Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion - ImagePurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan - KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference + VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineAgentInstanceView VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings - VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk - Disallowed = Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed - SnapshotList = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotList - DataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk + BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnosticsInstanceView + CreationData = Azure::Compute::Mgmt::V2018_06_01::Models::CreationData + MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus + StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile + DiskList = Azure::Compute::Mgmt::V2018_06_01::Models::DiskList VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile - AdditionalCapabilities = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalCapabilities + RollingUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy VirtualMachineScaleSetUpdateNetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkProfile - WinRMListener = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMListener - SnapshotUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotUpdate - WindowsConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration + OSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::OSDisk + GalleryIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier + ImageStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile VirtualMachineScaleSetExtensionListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionListResult - SshConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionProfile - VaultCertificate = Azure::Compute::Mgmt::V2018_06_01::Models::VaultCertificate + RunCommandParameterDefinition = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile - OSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::OSProfile + GalleryArtifactPublishingProfileBase = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase VirtualMachineScaleSetUpdateVMProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateVMProfile - NetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile - AccessUri = Azure::Compute::Mgmt::V2018_06_01::Models::AccessUri - DiagnosticsProfile = Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile - GrantAccessData = Azure::Compute::Mgmt::V2018_06_01::Models::GrantAccessData - VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineAgentInstanceView + ListUsagesResult = Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult + DiskSku = Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku + HardwareProfile = Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile + VirtualMachineIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue + RegionalReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus VirtualMachineScaleSetVMInstanceIDs = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceIDs - BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnosticsInstanceView + DataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk VirtualMachineScaleSetVMInstanceRequiredIDs = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs - VirtualMachineIdentity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentity + WinRMConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMConfiguration VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineStatusCodeCount - VirtualMachineInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView + LinuxConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::LinuxConfiguration VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary - GalleryImageVersionStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile + GrantAccessData = Azure::Compute::Mgmt::V2018_06_01::Models::GrantAccessData VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary - AutoOSUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::AutoOSUpgradePolicy + VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceView - UpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy + VirtualMachineIdentity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentity VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListResult - ImageDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageDataDisk + VirtualMachineListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListWithLinkResult - DiskSku = Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku + ImageDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageDataDisk VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuCapacity - ImageListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ImageListResult - VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSku - VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentity - VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult - VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile - ApiErrorBase = Azure::Compute::Mgmt::V2018_06_01::Models::ApiErrorBase - VirtualMachineSize = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize - InnerError = Azure::Compute::Mgmt::V2018_06_01::Models::InnerError VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView - ApiError = Azure::Compute::Mgmt::V2018_06_01::Models::ApiError - PurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan - RollbackStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo + VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSku UsageName = Azure::Compute::Mgmt::V2018_06_01::Models::UsageName - UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus - ManagedArtifact = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact - RollingUpgradeProgressInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo + VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult KeyVaultSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference - UpgradeOperationHistoricalStatusInfoProperties = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties - DiffDiskSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings - UpgradeOperationHistoricalStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo - StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile - VirtualMachineScaleSetListOSUpgradeHistory = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListOSUpgradeHistory - WinRMConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::WinRMConfiguration VirtualMachineHealthStatus = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus - LinuxConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::LinuxConfiguration + KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndKeyReference VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView - ReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus - SnapshotSku = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotSku - VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView + VaultSecretGroup = Azure::Compute::Mgmt::V2018_06_01::Models::VaultSecretGroup + SubResourceReadOnly = Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly + DiskEncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMListResult - VirtualMachineIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue + UpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus - RegionalReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus - DiskList = Azure::Compute::Mgmt::V2018_06_01::Models::DiskList - RollingUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy - Resource = Azure::Compute::Mgmt::V2018_06_01::Models::Resource - ImageStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile + 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 + ApiErrorBase = Azure::Compute::Mgmt::V2018_06_01::Models::ApiErrorBase + BootDiagnostics = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnostics + 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 UpdateResource = Azure::Compute::Mgmt::V2018_06_01::Models::UpdateResource + RunCommandInputParameter = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter + DiskInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::DiskInstanceView + VirtualMachineInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView + Resource = Azure::Compute::Mgmt::V2018_06_01::Models::Resource + AvailabilitySet = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue - SubResourceReadOnly = Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly GalleryImageVersionList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList - RecoveryWalkResponse = Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse - GalleryArtifactPublishingProfileBase = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase - DiskUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate - ListUsagesResult = Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult - EncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::EncryptionSettings - DiskEncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings - LogAnalyticsInputBase = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsInputBase - AdditionalUnattendContent = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent - LogAnalyticsOutput = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOutput - VaultSecretGroup = Azure::Compute::Mgmt::V2018_06_01::Models::VaultSecretGroup - LogAnalyticsOperationResult = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOperationResult - DiskInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::DiskInstanceView - RunCommandInputParameter = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter - VirtualMachineListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult - RunCommandInput = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput - ImageDiskReference = Azure::Compute::Mgmt::V2018_06_01::Models::ImageDiskReference - RunCommandParameterDefinition = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition - GalleryImageList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList - RunCommandDocumentBase = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase - HardwareProfile = Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile - KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndKeyReference - SshPublicKey = Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey - RunCommandListResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandListResult - MaintenanceRedeployStatus = Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus - RunCommandResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult - VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile - GalleryIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier - OSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::OSDisk - KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference - ImageOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageOSDisk - GalleryImageIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier - BootDiagnostics = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnostics - ResourceRange = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange DataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage - RecommendedMachineConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration - AvailabilitySet = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet - AvailabilitySetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetUpdate VirtualMachineExtensionImage = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionImage VirtualMachineImageResource = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource - VirtualMachineExtension = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtension - VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionUpdate - VirtualMachineImage = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage + AdditionalUnattendContent = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent VirtualMachineCaptureResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureResult + RecommendedMachineConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration + VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile ImageReference = Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference - ManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters - NetworkInterfaceReference = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference - VirtualMachine = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine - VirtualMachineUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineUpdate - Image = Azure::Compute::Mgmt::V2018_06_01::Models::Image - ImageUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::ImageUpdate + VirtualMachineImage = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration - VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + 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 - VirtualMachineScaleSetUpdateNetworkConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration + VirtualMachineScaleSetUpdateIPConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration VirtualMachineScaleSetExtension = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtension + ManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters + KeyVaultAndSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference + GalleryImageIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier + ResourceRange = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange + DiskUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate + RollingUpgradeStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo + SnapshotUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotUpdate + VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionUpdate + RunCommandResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult VirtualMachineScaleSet = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSet VirtualMachineScaleSetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdate VirtualMachineScaleSetVM = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM - RollingUpgradeStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo - RequestRateByIntervalInput = Azure::Compute::Mgmt::V2018_06_01::Models::RequestRateByIntervalInput - ThrottledRequestsInput = Azure::Compute::Mgmt::V2018_06_01::Models::ThrottledRequestsInput + NetworkInterfaceReference = Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference + VirtualMachine = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine + ImageOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageOSDisk + Snapshot = Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot + GalleryDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage RunCommandDocument = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument - Gallery = Azure::Compute::Mgmt::V2018_06_01::Models::Gallery - GalleryImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage + VirtualMachineScaleSetUpdateNetworkConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration + StatusLevelTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes + Disallowed = Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed + Image = Azure::Compute::Mgmt::V2018_06_01::Models::Image GalleryImageVersionPublishingProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile GalleryOSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryOSDiskImage GalleryDataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDataDiskImage GalleryImageVersion = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion - Disk = Azure::Compute::Mgmt::V2018_06_01::Models::Disk - Snapshot = Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot - StatusLevelTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes AvailabilitySetSkuTypes = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes - OperatingSystemTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes - VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes CachingTypes = Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes StorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes - DiffDiskOptions = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames - ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames - SettingNames = Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames + Disk = Azure::Compute::Mgmt::V2018_06_01::Models::Disk + VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes ProtocolTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes 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 - OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes + Gallery = Azure::Compute::Mgmt::V2018_06_01::Models::Gallery + GalleryImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage + VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters + RollingUpgradeActionType = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType + DiskCreateOption = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption IPVersion = Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion - VirtualMachinePriorityTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachinePriorityTypes - VirtualMachineEvictionPolicyTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineEvictionPolicyTypes + UpgradeMode = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode + DiffDiskOptions = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions + ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames + SettingNames = Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames + OperatingSystemTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes + DiskStorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskStorageAccountTypes VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType - UpgradeState = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeState - UpgradeOperationInvoker = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationInvoker RollingUpgradeStatusCode = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode - RollingUpgradeActionType = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType - IntervalInMins = Azure::Compute::Mgmt::V2018_06_01::Models::IntervalInMins + OperatingSystemStateTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes + AccessLevel = Azure::Compute::Mgmt::V2018_06_01::Models::AccessLevel + InstanceViewTypes = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewTypes + AdditionalCapabilities = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalCapabilities AggregatedReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState ReplicationState = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState HostCaching = Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching - DiskStorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskStorageAccountTypes - DiskCreateOption = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption SnapshotStorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotStorageAccountTypes - AccessLevel = Azure::Compute::Mgmt::V2018_06_01::Models::AccessLevel - InstanceViewTypes = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewTypes ReplicationStatusTypes = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatusTypes + ComputeOperationValue = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue + AutoOSUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::AutoOSUpgradePolicy + ComputeOperationListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult + RecoveryWalkResponse = Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse + VirtualMachineScaleSetListOSUpgradeHistory = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + LogAnalyticsOutput = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOutput + LogAnalyticsInputBase = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsInputBase + UpgradeOperationHistoricalStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo + UpgradeOperationHistoricalStatusInfoProperties = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties + RollbackStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo + UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus + AvailabilitySetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetUpdate + VirtualMachineUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineUpdate + ImageUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::ImageUpdate + RequestRateByIntervalInput = Azure::Compute::Mgmt::V2018_06_01::Models::RequestRateByIntervalInput + ThrottledRequestsInput = Azure::Compute::Mgmt::V2018_06_01::Models::ThrottledRequestsInput + LogAnalyticsOperationResult = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOperationResult + VirtualMachinePriorityTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachinePriorityTypes + VirtualMachineEvictionPolicyTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineEvictionPolicyTypes + UpgradeState = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeState + UpgradeOperationInvoker = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationInvoker + IntervalInMins = Azure::Compute::Mgmt::V2018_06_01::Models::IntervalInMins + VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters + VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk + SubResource = Azure::Compute::Mgmt::V2018_06_01::Models::SubResource + VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk + EncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::EncryptionSettings + AvailabilitySetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult + ImageListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ImageListResult + VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult + VirtualMachineScaleSetIpTag = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag + VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentity + SnapshotSku = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotSku + RunCommandDocumentBase = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase + RunCommandListResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandListResult + VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult + OSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage + GalleryList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList + RunCommandInput = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput + GalleryArtifactSource = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource + ImagePurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan + Usage = Azure::Compute::Mgmt::V2018_06_01::Models::Usage + TargetRegion = Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion + GalleryImageVersionStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile end class ComputeManagementClass - attr_reader :resource_skus, :operations, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machine_images, :usage_operations, :virtual_machines, :virtual_machine_sizes, :images, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :log_analytics, :virtual_machine_run_commands, :galleries, :gallery_images, :gallery_image_versions, :disks, :snapshots, :configurable, :base_url, :options, :model_classes + attr_reader :resource_skus, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :log_analytics, :operations, :virtual_machine_run_commands, :disks, :snapshots, :galleries, :gallery_images, :gallery_image_versions, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -291,26 +291,26 @@ def initialize(configurable, base_url=nil, options=nil) @client_3.subscription_id = configurable.subscription_id end add_telemetry(@client_3) - @operations = @client_3.operations - @availability_sets = @client_3.availability_sets - @virtual_machine_extension_images = @client_3.virtual_machine_extension_images - @virtual_machine_extensions = @client_3.virtual_machine_extensions - @virtual_machine_images = @client_3.virtual_machine_images - @usage_operations = @client_3.usage_operations - @virtual_machines = @client_3.virtual_machines - @virtual_machine_sizes = @client_3.virtual_machine_sizes - @images = @client_3.images @virtual_machine_scale_sets = @client_3.virtual_machine_scale_sets @virtual_machine_scale_set_extensions = @client_3.virtual_machine_scale_set_extensions @virtual_machine_scale_set_rolling_upgrades = @client_3.virtual_machine_scale_set_rolling_upgrades @virtual_machine_scale_set_vms = @client_3.virtual_machine_scale_set_vms @log_analytics = @client_3.log_analytics + @operations = @client_3.operations @virtual_machine_run_commands = @client_3.virtual_machine_run_commands + @disks = @client_3.disks + @snapshots = @client_3.snapshots @galleries = @client_3.galleries @gallery_images = @client_3.gallery_images @gallery_image_versions = @client_3.gallery_image_versions - @disks = @client_3.disks - @snapshots = @client_3.snapshots + @availability_sets = @client_3.availability_sets + @virtual_machine_extension_images = @client_3.virtual_machine_extension_images + @virtual_machine_extensions = @client_3.virtual_machine_extensions + @virtual_machines = @client_3.virtual_machines + @virtual_machine_images = @client_3.virtual_machine_images + @usage_operations = @client_3.usage_operations + @virtual_machine_sizes = @client_3.virtual_machine_sizes + @images = @client_3.images @model_classes = ModelClasses.new end @@ -335,545 +335,410 @@ def method_missing(method, *args) end class ModelClasses - def resource_sku_restrictions - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions - end - def resource_sku_capacity - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity - end def resource_sku_location_info Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuLocationInfo end - def resource_sku_capabilities - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities - end - def resource_sku - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku - end - def resource_sku_costs - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts - end - def resource_skus_result - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult - end - def resource_sku_restriction_info - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo - end - def resource_sku_capacity_scale_type - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType - end - def resource_sku_restrictions_type - Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType + def resource_sku_capacity + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacity end def resource_sku_restrictions_reason_code Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode end - def compute_long_running_operation_properties - Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties - end - def operation_status_response - Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse - end - def api_entity_reference - Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference - end - def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings - end - def compute_operation_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult - end - def virtual_machine_scale_set_ip_tag - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag - end - def sub_resource - Azure::Compute::Mgmt::V2018_06_01::Models::SubResource - end - def virtual_machine_scale_set_public_ipaddress_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration - end - def virtual_machine_scale_set_managed_disk_parameters - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters - end - def virtual_machine_scale_set_osdisk - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk - end - def availability_set_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult - end - def virtual_machine_scale_set_update_osdisk - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk - end - def virtual_machine_size_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult - end - def virtual_machine_scale_set_data_disk - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk - end - def gallery_list - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList - end - def virtual_machine_scale_set_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile - end - def gallery_disk_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage - end - def virtual_machine_scale_set_update_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile - end - def virtual_machine_extensions_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult + def resource_sku_costs + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts end - def compute_operation_value - Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue + def resource_sku_restriction_info + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionInfo end - def osdisk_image - Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage + def resource_sku_capabilities + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapabilities end - def instance_view_status - Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus + def resource_sku_capacity_scale_type + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCapacityScaleType end - def gallery_artifact_source - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource + def resource_sku_restrictions + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictions end - def sku - Azure::Compute::Mgmt::V2018_06_01::Models::Sku + def resource_sku_restrictions_type + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsType end - def usage - Azure::Compute::Mgmt::V2018_06_01::Models::Usage + def resource_sku + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSku end - def creation_data - Azure::Compute::Mgmt::V2018_06_01::Models::CreationData + def resource_skus_result + Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkusResult end - def virtual_machine_capture_parameters - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters + def operation_status_response + Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse end - def virtual_machine_scale_set_update_public_ipaddress_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration + def compute_long_running_operation_properties + Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties end def plan Azure::Compute::Mgmt::V2018_06_01::Models::Plan end - def source_vault - Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault + def virtual_machine_scale_set_update_osprofile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile end - def target_region - Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion + def snapshot_list + Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotList end - def image_purchase_plan - Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan + 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 end - def virtual_machine_scale_set_network_configuration_dns_settings - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings + def sku + Azure::Compute::Mgmt::V2018_06_01::Models::Sku end def virtual_hard_disk Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk end - def disallowed - Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed - end - def snapshot_list - Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotList + def diff_disk_settings + Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings end - def data_disk - Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk + def replication_status + Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus end - def virtual_machine_scale_set_network_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile + def virtual_machine_scale_set_data_disk + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk end - def additional_capabilities - Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalCapabilities + def managed_artifact + Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact end - def virtual_machine_scale_set_update_network_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkProfile + 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 end - def snapshot_update - Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotUpdate + def virtual_machine_scale_set_update_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile end def windows_configuration Azure::Compute::Mgmt::V2018_06_01::Models::WindowsConfiguration end - def virtual_machine_scale_set_extension_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionListResult + def api_entity_reference + Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference end def ssh_configuration Azure::Compute::Mgmt::V2018_06_01::Models::SshConfiguration end - def virtual_machine_scale_set_extension_profile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionProfile + def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings end def vault_certificate Azure::Compute::Mgmt::V2018_06_01::Models::VaultCertificate end - def virtual_machine_scale_set_vmprofile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile + def virtual_machine_scale_set_public_ipaddress_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration end def osprofile Azure::Compute::Mgmt::V2018_06_01::Models::OSProfile end - def virtual_machine_scale_set_update_vmprofile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateVMProfile + def virtual_machine_scale_set_update_public_ipaddress_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration end def network_profile Azure::Compute::Mgmt::V2018_06_01::Models::NetworkProfile end - def access_uri - Azure::Compute::Mgmt::V2018_06_01::Models::AccessUri + def gallery_image_list + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList end def diagnostics_profile Azure::Compute::Mgmt::V2018_06_01::Models::DiagnosticsProfile end - def grant_access_data - Azure::Compute::Mgmt::V2018_06_01::Models::GrantAccessData + def source_vault + Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault end def virtual_machine_agent_instance_view Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineAgentInstanceView end - def virtual_machine_scale_set_vminstance_ids - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceIDs + def virtual_machine_scale_set_network_configuration_dns_settings + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings end def boot_diagnostics_instance_view Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnosticsInstanceView end - def virtual_machine_scale_set_vminstance_required_ids - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs - end - def virtual_machine_identity - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentity - end - def virtual_machine_status_code_count - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineStatusCodeCount - end - def virtual_machine_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView - end - def virtual_machine_scale_set_instance_view_statuses_summary - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary - end - def gallery_image_version_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile - end - def virtual_machine_scale_set_vmextensions_summary - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary - end - def auto_osupgrade_policy - Azure::Compute::Mgmt::V2018_06_01::Models::AutoOSUpgradePolicy - end - def virtual_machine_scale_set_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceView - end - def upgrade_policy - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy - end - def virtual_machine_scale_set_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListResult - end - def image_data_disk - Azure::Compute::Mgmt::V2018_06_01::Models::ImageDataDisk - end - def virtual_machine_scale_set_list_with_link_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListWithLinkResult - end - def disk_sku - Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku + def creation_data + Azure::Compute::Mgmt::V2018_06_01::Models::CreationData end - def virtual_machine_scale_set_sku_capacity - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuCapacity + def maintenance_redeploy_status + Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus end - def image_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::ImageListResult + def storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile end - def virtual_machine_scale_set_sku - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSku + def disk_list + Azure::Compute::Mgmt::V2018_06_01::Models::DiskList end - def virtual_machine_scale_set_identity - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentity + def virtual_machine_scale_set_network_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile end - def virtual_machine_scale_set_list_skus_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult + def rolling_upgrade_policy + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy end - def virtual_machine_scale_set_update_osprofile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile + def virtual_machine_scale_set_update_network_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkProfile end - def api_error_base - Azure::Compute::Mgmt::V2018_06_01::Models::ApiErrorBase + def osdisk + Azure::Compute::Mgmt::V2018_06_01::Models::OSDisk end - def virtual_machine_size - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize + def gallery_identifier + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier end - def inner_error - Azure::Compute::Mgmt::V2018_06_01::Models::InnerError + def image_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile end - def virtual_machine_extension_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView + def virtual_machine_scale_set_extension_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionListResult end - def api_error - Azure::Compute::Mgmt::V2018_06_01::Models::ApiError + def virtual_machine_scale_set_extension_profile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtensionProfile end - def purchase_plan - Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan + def run_command_parameter_definition + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition end - def rollback_status_info - Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo + def virtual_machine_scale_set_vmprofile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMProfile end - def usage_name - Azure::Compute::Mgmt::V2018_06_01::Models::UsageName + def gallery_artifact_publishing_profile_base + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase end - def upgrade_operation_history_status - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus + def virtual_machine_scale_set_update_vmprofile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateVMProfile end - def managed_artifact - Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact + def list_usages_result + Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult end - def rolling_upgrade_progress_info - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo + def disk_sku + Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku end - def key_vault_secret_reference - Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference + def hardware_profile + Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile end - def upgrade_operation_historical_status_info_properties - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties + def virtual_machine_identity_user_assigned_identities_value + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue end - def diff_disk_settings - Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings + def regional_replication_status + Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus end - def upgrade_operation_historical_status_info - Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo + def virtual_machine_scale_set_vminstance_ids + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceIDs end - def storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile + def data_disk + Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk end - def virtual_machine_scale_set_list_osupgrade_history - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + def virtual_machine_scale_set_vminstance_required_ids + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceRequiredIDs end def win_rmconfiguration Azure::Compute::Mgmt::V2018_06_01::Models::WinRMConfiguration end - def virtual_machine_health_status - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus + def virtual_machine_status_code_count + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineStatusCodeCount end def linux_configuration Azure::Compute::Mgmt::V2018_06_01::Models::LinuxConfiguration end - def virtual_machine_scale_set_vminstance_view - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView + def virtual_machine_scale_set_instance_view_statuses_summary + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary end - def replication_status - Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus + def grant_access_data + Azure::Compute::Mgmt::V2018_06_01::Models::GrantAccessData end - def snapshot_sku - Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotSku + def virtual_machine_scale_set_vmextensions_summary + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary end def virtual_machine_extension_handler_instance_view Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView end - def virtual_machine_scale_set_vmlist_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMListResult + def virtual_machine_scale_set_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceView end - def virtual_machine_identity_user_assigned_identities_value - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue + def virtual_machine_identity + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentity end - def rolling_upgrade_running_status - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus + def virtual_machine_scale_set_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListResult end - def regional_replication_status - Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus + def virtual_machine_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult end - def disk_list - Azure::Compute::Mgmt::V2018_06_01::Models::DiskList + def virtual_machine_scale_set_list_with_link_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListWithLinkResult end - def rolling_upgrade_policy - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy + def image_data_disk + Azure::Compute::Mgmt::V2018_06_01::Models::ImageDataDisk end - def resource - Azure::Compute::Mgmt::V2018_06_01::Models::Resource + def virtual_machine_scale_set_sku_capacity + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuCapacity end - def image_storage_profile - Azure::Compute::Mgmt::V2018_06_01::Models::ImageStorageProfile + def virtual_machine_extension_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView end - def update_resource - Azure::Compute::Mgmt::V2018_06_01::Models::UpdateResource + def virtual_machine_scale_set_sku + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSku end - def virtual_machine_scale_set_identity_user_assigned_identities_value - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue + def usage_name + Azure::Compute::Mgmt::V2018_06_01::Models::UsageName end - def sub_resource_read_only - Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly + def virtual_machine_scale_set_list_skus_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult end - def gallery_image_version_list - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList + def key_vault_secret_reference + Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference end - def recovery_walk_response - Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse + def virtual_machine_health_status + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus end - def gallery_artifact_publishing_profile_base - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase + def key_vault_and_key_reference + Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndKeyReference end - def disk_update - Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate + def virtual_machine_scale_set_vminstance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView end - def list_usages_result - Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult + def vault_secret_group + Azure::Compute::Mgmt::V2018_06_01::Models::VaultSecretGroup end - def encryption_settings - Azure::Compute::Mgmt::V2018_06_01::Models::EncryptionSettings + def sub_resource_read_only + Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly end def disk_encryption_settings Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings end - def log_analytics_input_base - Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsInputBase - end - def additional_unattend_content - Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent - end - def log_analytics_output - Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOutput - end - def vault_secret_group - Azure::Compute::Mgmt::V2018_06_01::Models::VaultSecretGroup - end - def log_analytics_operation_result - Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOperationResult + def virtual_machine_scale_set_vmlist_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMListResult end - def disk_instance_view - Azure::Compute::Mgmt::V2018_06_01::Models::DiskInstanceView + def upgrade_policy + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradePolicy end - def run_command_input_parameter - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter + def rolling_upgrade_running_status + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus end - def virtual_machine_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult + def purchase_plan + Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan end - def run_command_input - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput + def rolling_upgrade_progress_info + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo end - def image_disk_reference - Azure::Compute::Mgmt::V2018_06_01::Models::ImageDiskReference + def access_uri + Azure::Compute::Mgmt::V2018_06_01::Models::AccessUri end - def run_command_parameter_definition - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition + def api_error_base + Azure::Compute::Mgmt::V2018_06_01::Models::ApiErrorBase end - def gallery_image_list - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList + def boot_diagnostics + Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnostics end - def run_command_document_base - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase + def inner_error + Azure::Compute::Mgmt::V2018_06_01::Models::InnerError end - def hardware_profile - Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile + def virtual_machine_size + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize end - def key_vault_and_key_reference - Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndKeyReference + def api_error + Azure::Compute::Mgmt::V2018_06_01::Models::ApiError end def ssh_public_key Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey end - def run_command_list_result - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandListResult + def update_resource + Azure::Compute::Mgmt::V2018_06_01::Models::UpdateResource end - def maintenance_redeploy_status - Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceRedeployStatus + def run_command_input_parameter + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter end - def run_command_result - Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult + def disk_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::DiskInstanceView end - def virtual_machine_scale_set_osprofile - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile + def virtual_machine_instance_view + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView end - def gallery_identifier - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryIdentifier + def resource + Azure::Compute::Mgmt::V2018_06_01::Models::Resource end - def osdisk - Azure::Compute::Mgmt::V2018_06_01::Models::OSDisk + def availability_set + Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet end - def key_vault_and_secret_reference - Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference + def virtual_machine_scale_set_identity_user_assigned_identities_value + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue end - def image_osdisk - Azure::Compute::Mgmt::V2018_06_01::Models::ImageOSDisk + def gallery_image_version_list + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList 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 boot_diagnostics - Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnostics + def virtual_machine_extension_image + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionImage end - def resource_range - Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange + def virtual_machine_image_resource + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource end - def data_disk_image - Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage + 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 end def recommended_machine_configuration Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration end - def availability_set - Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet + def virtual_machine_scale_set_osprofile + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSProfile end - def availability_set_update - Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetUpdate + def image_reference + Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference end - def virtual_machine_extension_image - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionImage + def virtual_machine_image + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage end - def virtual_machine_image_resource - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImageResource + def virtual_machine_scale_set_ipconfiguration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration end def virtual_machine_extension Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtension end - def virtual_machine_extension_update - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionUpdate + def image_disk_reference + Azure::Compute::Mgmt::V2018_06_01::Models::ImageDiskReference end - def virtual_machine_image - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineImage + def virtual_machine_scale_set_network_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfiguration end - def virtual_machine_capture_result - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureResult + def virtual_machine_scale_set_update_ipconfiguration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration end - def image_reference - Azure::Compute::Mgmt::V2018_06_01::Models::ImageReference + def virtual_machine_scale_set_extension + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtension end def managed_disk_parameters Azure::Compute::Mgmt::V2018_06_01::Models::ManagedDiskParameters end - def network_interface_reference - Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference - end - def virtual_machine - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine - end - def virtual_machine_update - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineUpdate + def key_vault_and_secret_reference + Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndSecretReference end - def image - Azure::Compute::Mgmt::V2018_06_01::Models::Image + def gallery_image_identifier + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier end - def image_update - Azure::Compute::Mgmt::V2018_06_01::Models::ImageUpdate + def resource_range + Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange end - def virtual_machine_scale_set_ipconfiguration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIPConfiguration + def disk_update + Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate end - def virtual_machine_scale_set_update_ipconfiguration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateIPConfiguration + def rolling_upgrade_status_info + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo end - def virtual_machine_scale_set_network_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfiguration + def snapshot_update + Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotUpdate end - def virtual_machine_scale_set_update_network_configuration - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration + def virtual_machine_extension_update + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionUpdate end - def virtual_machine_scale_set_extension - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetExtension + def run_command_result + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandResult end def virtual_machine_scale_set Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSet @@ -881,26 +746,38 @@ def virtual_machine_scale_set def virtual_machine_scale_set_update Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdate end - def virtual_machine_scale_set_vm - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM + def virtual_machine_scale_set_vm + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVM + end + def network_interface_reference + Azure::Compute::Mgmt::V2018_06_01::Models::NetworkInterfaceReference + end + def virtual_machine + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachine end - def rolling_upgrade_status_info - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusInfo + def image_osdisk + Azure::Compute::Mgmt::V2018_06_01::Models::ImageOSDisk end - def request_rate_by_interval_input - Azure::Compute::Mgmt::V2018_06_01::Models::RequestRateByIntervalInput + def snapshot + Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot end - def throttled_requests_input - Azure::Compute::Mgmt::V2018_06_01::Models::ThrottledRequestsInput + def gallery_disk_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage end def run_command_document Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocument end - def gallery - Azure::Compute::Mgmt::V2018_06_01::Models::Gallery + def virtual_machine_scale_set_update_network_configuration + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateNetworkConfiguration end - def gallery_image - Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage + def status_level_types + Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes + end + def disallowed + Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed + end + def image + Azure::Compute::Mgmt::V2018_06_01::Models::Image end def gallery_image_version_publishing_profile Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionPublishingProfile @@ -914,24 +791,9 @@ def gallery_data_disk_image def gallery_image_version Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersion end - def disk - Azure::Compute::Mgmt::V2018_06_01::Models::Disk - end - def snapshot - Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot - end - def status_level_types - Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes - end def availability_set_sku_types Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes end - def operating_system_types - Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes - end - 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 end @@ -941,17 +803,14 @@ def disk_create_option_types def storage_account_types Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes end - def diff_disk_options - Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions - end def pass_names Azure::Compute::Mgmt::V2018_06_01::Models::PassNames end - def component_names - Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames + def disk + Azure::Compute::Mgmt::V2018_06_01::Models::Disk end - def setting_names - Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames + def virtual_machine_size_types + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes end def protocol_types Azure::Compute::Mgmt::V2018_06_01::Models::ProtocolTypes @@ -962,14 +821,125 @@ def resource_identity_type def maintenance_operation_result_code_types Azure::Compute::Mgmt::V2018_06_01::Models::MaintenanceOperationResultCodeTypes end + def gallery + Azure::Compute::Mgmt::V2018_06_01::Models::Gallery + end + def gallery_image + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImage + end + def virtual_machine_capture_parameters + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters + end + def rolling_upgrade_action_type + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType + end + def disk_create_option + Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption + end + def ipversion + Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion + end def upgrade_mode Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeMode end + def diff_disk_options + Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions + end + def component_names + Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames + end + def setting_names + Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames + end + def operating_system_types + Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes + end + def disk_storage_account_types + Azure::Compute::Mgmt::V2018_06_01::Models::DiskStorageAccountTypes + end + def virtual_machine_scale_set_sku_scale_type + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType + end + def rolling_upgrade_status_code + Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode + end def operating_system_state_types Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemStateTypes end - def ipversion - Azure::Compute::Mgmt::V2018_06_01::Models::IPVersion + def access_level + Azure::Compute::Mgmt::V2018_06_01::Models::AccessLevel + end + def instance_view_types + Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewTypes + end + def additional_capabilities + Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalCapabilities + end + def aggregated_replication_state + Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState + 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 + def replication_status_types + Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatusTypes + end + def compute_operation_value + Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue + end + def auto_osupgrade_policy + Azure::Compute::Mgmt::V2018_06_01::Models::AutoOSUpgradePolicy + end + def compute_operation_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult + end + def recovery_walk_response + Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse + end + def virtual_machine_scale_set_list_osupgrade_history + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListOSUpgradeHistory + end + def log_analytics_output + Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOutput + end + def log_analytics_input_base + Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsInputBase + end + def upgrade_operation_historical_status_info + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo + end + def upgrade_operation_historical_status_info_properties + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties + end + def rollback_status_info + Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo + end + def upgrade_operation_history_status + Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus + end + def availability_set_update + Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetUpdate + end + def virtual_machine_update + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineUpdate + end + def image_update + Azure::Compute::Mgmt::V2018_06_01::Models::ImageUpdate + end + def request_rate_by_interval_input + Azure::Compute::Mgmt::V2018_06_01::Models::RequestRateByIntervalInput + end + def throttled_requests_input + Azure::Compute::Mgmt::V2018_06_01::Models::ThrottledRequestsInput + end + def log_analytics_operation_result + Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOperationResult end def virtual_machine_priority_types Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachinePriorityTypes @@ -977,50 +947,80 @@ def virtual_machine_priority_types def virtual_machine_eviction_policy_types Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineEvictionPolicyTypes end - def virtual_machine_scale_set_sku_scale_type - Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuScaleType - end def upgrade_state Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeState end def upgrade_operation_invoker Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationInvoker end - def rolling_upgrade_status_code - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeStatusCode - end - def rolling_upgrade_action_type - Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeActionType - end def interval_in_mins Azure::Compute::Mgmt::V2018_06_01::Models::IntervalInMins end - def aggregated_replication_state - Azure::Compute::Mgmt::V2018_06_01::Models::AggregatedReplicationState + def virtual_machine_scale_set_managed_disk_parameters + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters end - def replication_state - Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationState + def virtual_machine_scale_set_osdisk + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk end - def host_caching - Azure::Compute::Mgmt::V2018_06_01::Models::HostCaching + def sub_resource + Azure::Compute::Mgmt::V2018_06_01::Models::SubResource end - def disk_storage_account_types - Azure::Compute::Mgmt::V2018_06_01::Models::DiskStorageAccountTypes + def virtual_machine_scale_set_update_osdisk + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk end - def disk_create_option - Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOption + def encryption_settings + Azure::Compute::Mgmt::V2018_06_01::Models::EncryptionSettings end - def snapshot_storage_account_types - Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotStorageAccountTypes + def availability_set_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult end - def access_level - Azure::Compute::Mgmt::V2018_06_01::Models::AccessLevel + def image_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::ImageListResult end - def instance_view_types - Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewTypes + def virtual_machine_size_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult end - def replication_status_types - Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatusTypes + def virtual_machine_scale_set_ip_tag + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag + end + def virtual_machine_scale_set_identity + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentity + end + def snapshot_sku + Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotSku + end + def run_command_document_base + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase + end + def run_command_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandListResult + end + def virtual_machine_extensions_list_result + Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult + end + def osdisk_image + Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage + end + def gallery_list + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList + end + def run_command_input + Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput + end + def gallery_artifact_source + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource + end + def image_purchase_plan + Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan + end + def usage + Azure::Compute::Mgmt::V2018_06_01::Models::Usage + end + def target_region + Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion + end + def gallery_image_version_storage_profile + Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile 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 467b6a9845..5557034d33 100644 --- a/azure_sdk/lib/latest/modules/consumption_profile_module.rb +++ b/azure_sdk/lib/latest/modules/consumption_profile_module.rb @@ -7,70 +7,70 @@ module Azure::Profiles::Latest module Consumption module Mgmt + Budgets = Azure::Consumption::Mgmt::V2018_06_30::Budgets + PriceSheet = Azure::Consumption::Mgmt::V2018_06_30::PriceSheet + CostTags = Azure::Consumption::Mgmt::V2018_06_30::CostTags + Forecasts = Azure::Consumption::Mgmt::V2018_06_30::Forecasts + Operations = Azure::Consumption::Mgmt::V2018_06_30::Operations + Tags = Azure::Consumption::Mgmt::V2018_06_30::Tags UsageDetails = Azure::Consumption::Mgmt::V2018_06_30::UsageDetails 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 - Tags = Azure::Consumption::Mgmt::V2018_06_30::Tags - Forecasts = Azure::Consumption::Mgmt::V2018_06_30::Forecasts - Operations = Azure::Consumption::Mgmt::V2018_06_30::Operations module Models - Notification = Azure::Consumption::Mgmt::V2018_06_30::Models::Notification + ErrorResponse = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse + ProxyResource = Azure::Consumption::Mgmt::V2018_06_30::Models::ProxyResource MeterDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::MeterDetails CurrentSpend = Azure::Consumption::Mgmt::V2018_06_30::Models::CurrentSpend UsageDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetailsListResult BudgetTimePeriod = Azure::Consumption::Mgmt::V2018_06_30::Models::BudgetTimePeriod MarketplacesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::MarketplacesListResult + Notification = Azure::Consumption::Mgmt::V2018_06_30::Models::Notification Filters = Azure::Consumption::Mgmt::V2018_06_30::Models::Filters BalancePropertiesAdjustmentDetailsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesAdjustmentDetailsItem - ErrorResponse = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse - OperationListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult - ErrorDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails - Operation = Azure::Consumption::Mgmt::V2018_06_30::Models::Operation - ReservationRecommendation = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendation BudgetsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::BudgetsListResult - Tag = Azure::Consumption::Mgmt::V2018_06_30::Models::Tag CostTagProperties = Azure::Consumption::Mgmt::V2018_06_30::Models::CostTagProperties BalancePropertiesNewPurchasesDetailsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesNewPurchasesDetailsItem QueryOptions = Azure::Consumption::Mgmt::V2018_06_30::Models::QueryOptions ReservationSummariesListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummariesListResult PriceSheetProperties = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetProperties ReservationRecommendationsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendationsListResult - ProxyResource = Azure::Consumption::Mgmt::V2018_06_30::Models::ProxyResource - Resource = Azure::Consumption::Mgmt::V2018_06_30::Models::Resource ForecastPropertiesConfidenceLevelsItem = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem - OperationDisplay = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay ResourceAttributes = Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes - ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult + ReservationRecommendation = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendation + Tag = Azure::Consumption::Mgmt::V2018_06_30::Models::Tag ForecastsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastsListResult - UsageDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetail + ReservationDetailsListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult Marketplace = Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace Balance = Azure::Consumption::Mgmt::V2018_06_30::Models::Balance - ReservationSummary = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary ReservationDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail TagsResult = Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult + Resource = Azure::Consumption::Mgmt::V2018_06_30::Models::Resource Budget = Azure::Consumption::Mgmt::V2018_06_30::Models::Budget - CostTag = Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag PriceSheetResult = Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult - Forecast = Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast + ReservationSummary = Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary + UsageDetail = Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetail BillingFrequency = Azure::Consumption::Mgmt::V2018_06_30::Models::BillingFrequency - CategoryType = Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType + Forecast = Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast + ErrorDetails = Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails + OperationDisplay = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay TimeGrainType = Azure::Consumption::Mgmt::V2018_06_30::Models::TimeGrainType + Operation = Azure::Consumption::Mgmt::V2018_06_30::Models::Operation + CostTag = Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag + OperationListResult = Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult OperatorType = Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType Grain = Azure::Consumption::Mgmt::V2018_06_30::Models::Grain - ChargeType = Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType + CategoryType = Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType Bound = Azure::Consumption::Mgmt::V2018_06_30::Models::Bound Datagrain = Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain + ChargeType = Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType end class ConsumptionManagementClass - attr_reader :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :budgets, :price_sheet, :cost_tags, :tags, :forecasts, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :budgets, :price_sheet, :cost_tags, :forecasts, :operations, :tags, :usage_details, :marketplaces, :balances, :reservations_summaries, :reservations_details, :reservation_recommendations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -80,18 +80,18 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @budgets = @client_0.budgets + @price_sheet = @client_0.price_sheet + @cost_tags = @client_0.cost_tags + @forecasts = @client_0.forecasts + @operations = @client_0.operations + @tags = @client_0.tags @usage_details = @client_0.usage_details @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 - @tags = @client_0.tags - @forecasts = @client_0.forecasts - @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -110,8 +110,11 @@ def method_missing(method, *args) end class ModelClasses - def notification - Azure::Consumption::Mgmt::V2018_06_30::Models::Notification + def error_response + Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse + end + def proxy_resource + Azure::Consumption::Mgmt::V2018_06_30::Models::ProxyResource end def meter_details Azure::Consumption::Mgmt::V2018_06_30::Models::MeterDetails @@ -128,33 +131,18 @@ def budget_time_period def marketplaces_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::MarketplacesListResult end + def notification + Azure::Consumption::Mgmt::V2018_06_30::Models::Notification + end def filters Azure::Consumption::Mgmt::V2018_06_30::Models::Filters end def balance_properties_adjustment_details_item Azure::Consumption::Mgmt::V2018_06_30::Models::BalancePropertiesAdjustmentDetailsItem end - def error_response - Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorResponse - end - def operation_list_result - Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult - end - def error_details - Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails - end - def operation - Azure::Consumption::Mgmt::V2018_06_30::Models::Operation - end - def reservation_recommendation - Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendation - end def budgets_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::BudgetsListResult end - def tag - Azure::Consumption::Mgmt::V2018_06_30::Models::Tag - end def cost_tag_properties Azure::Consumption::Mgmt::V2018_06_30::Models::CostTagProperties end @@ -173,29 +161,23 @@ def price_sheet_properties def reservation_recommendations_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendationsListResult end - def proxy_resource - Azure::Consumption::Mgmt::V2018_06_30::Models::ProxyResource - end - def resource - Azure::Consumption::Mgmt::V2018_06_30::Models::Resource - end def forecast_properties_confidence_levels_item Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastPropertiesConfidenceLevelsItem end - def operation_display - Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay - end def resource_attributes Azure::Consumption::Mgmt::V2018_06_30::Models::ResourceAttributes end - def reservation_details_list_result - Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult + def reservation_recommendation + Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationRecommendation + end + def tag + Azure::Consumption::Mgmt::V2018_06_30::Models::Tag end def forecasts_list_result Azure::Consumption::Mgmt::V2018_06_30::Models::ForecastsListResult end - def usage_detail - Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetail + def reservation_details_list_result + Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetailsListResult end def marketplace Azure::Consumption::Mgmt::V2018_06_30::Models::Marketplace @@ -203,44 +185,59 @@ def marketplace def balance Azure::Consumption::Mgmt::V2018_06_30::Models::Balance end - def reservation_summary - Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary - end def reservation_detail Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationDetail end def tags_result Azure::Consumption::Mgmt::V2018_06_30::Models::TagsResult end + def resource + Azure::Consumption::Mgmt::V2018_06_30::Models::Resource + end def budget Azure::Consumption::Mgmt::V2018_06_30::Models::Budget end - def cost_tag - Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag - end def price_sheet_result Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetResult end - def forecast - Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast + def reservation_summary + Azure::Consumption::Mgmt::V2018_06_30::Models::ReservationSummary + end + def usage_detail + Azure::Consumption::Mgmt::V2018_06_30::Models::UsageDetail 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 forecast + Azure::Consumption::Mgmt::V2018_06_30::Models::Forecast + end + def error_details + Azure::Consumption::Mgmt::V2018_06_30::Models::ErrorDetails + end + def operation_display + Azure::Consumption::Mgmt::V2018_06_30::Models::OperationDisplay end def time_grain_type Azure::Consumption::Mgmt::V2018_06_30::Models::TimeGrainType end + def operation + Azure::Consumption::Mgmt::V2018_06_30::Models::Operation + end + def cost_tag + Azure::Consumption::Mgmt::V2018_06_30::Models::CostTag + end + def operation_list_result + Azure::Consumption::Mgmt::V2018_06_30::Models::OperationListResult + end def operator_type Azure::Consumption::Mgmt::V2018_06_30::Models::OperatorType end def grain Azure::Consumption::Mgmt::V2018_06_30::Models::Grain end - def charge_type - Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType + def category_type + Azure::Consumption::Mgmt::V2018_06_30::Models::CategoryType end def bound Azure::Consumption::Mgmt::V2018_06_30::Models::Bound @@ -248,6 +245,9 @@ def bound def datagrain Azure::Consumption::Mgmt::V2018_06_30::Models::Datagrain end + def charge_type + Azure::Consumption::Mgmt::V2018_06_30::Models::ChargeType + 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 16a8465cbc..54aab8dfc5 100644 --- a/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerinstance_profile_module.rb @@ -8,55 +8,55 @@ module Azure::Profiles::Latest module ContainerInstance module Mgmt ContainerGroups = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroups - Operations = Azure::ContainerInstance::Mgmt::V2018_06_01::Operations ContainerGroupUsage = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerGroupUsage ContainerOperations = Azure::ContainerInstance::Mgmt::V2018_06_01::ContainerOperations + Operations = Azure::ContainerInstance::Mgmt::V2018_06_01::Operations module Models + ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroup + ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerNetworkProtocol + LogAnalytics = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::LogAnalytics + ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupNetworkProtocol + UsageListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageListResult + UsageName = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName + Event = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event + ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerInstanceOperationsOrigin + ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupRestartPolicy + OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperatingSystemTypes + ContainerPort = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPort + Resource = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource Port = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Port IpAddress = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::IpAddress EnvironmentVariable = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::EnvironmentVariable ContainerGroupPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupPropertiesInstanceView - Event = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event - LogAnalytics = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::LogAnalytics ResourceRequests = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequests ContainerGroupDiagnostics = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupDiagnostics ResourceRequirements = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequirements VolumeMount = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::VolumeMount ContainerHttpGet = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerHttpGet - OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay Container = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Container - Operation = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation GitRepoVolume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::GitRepoVolume - OperationListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult ImageRegistryCredential = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential - UsageName = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName + OperationDisplay = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay ContainerState = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState - Usage = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Usage - ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits - UsageListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageListResult + Operation = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation ContainerProbe = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerProbe - ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + OperationListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult Volume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Volume + ContainerGroupListResult = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + ResourceLimits = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits Logs = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Logs ContainerPropertiesInstanceView = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPropertiesInstanceView ContainerExecRequestTerminalSize = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequestTerminalSize AzureFileVolume = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::AzureFileVolume - ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequest + Usage = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Usage ContainerExec = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExec ContainerExecResponse = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecResponse - ContainerPort = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPort - Resource = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource - ContainerGroup = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroup - ContainerNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerNetworkProtocol - ContainerGroupRestartPolicy = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupRestartPolicy - ContainerGroupNetworkProtocol = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupNetworkProtocol - OperatingSystemTypes = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperatingSystemTypes - ContainerInstanceOperationsOrigin = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerInstanceOperationsOrigin + ContainerExecRequest = Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequest end class ContainerInstanceManagementClass - attr_reader :container_groups, :operations, :container_group_usage, :container_operations, :configurable, :base_url, :options, :model_classes + attr_reader :container_groups, :container_group_usage, :container_operations, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -67,9 +67,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @container_groups = @client_0.container_groups - @operations = @client_0.operations @container_group_usage = @client_0.container_group_usage @container_operations = @client_0.container_operations + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -88,6 +88,42 @@ def method_missing(method, *args) end class ModelClasses + def container_group + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroup + end + def container_network_protocol + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerNetworkProtocol + end + def log_analytics + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::LogAnalytics + end + def container_group_network_protocol + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupNetworkProtocol + end + def usage_list_result + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageListResult + end + def usage_name + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName + end + def event + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event + end + def container_instance_operations_origin + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerInstanceOperationsOrigin + end + def container_group_restart_policy + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupRestartPolicy + end + def operating_system_types + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperatingSystemTypes + end + def container_port + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPort + end + def resource + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource + end def port Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Port end @@ -100,12 +136,6 @@ def environment_variable def container_group_properties_instance_view Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupPropertiesInstanceView end - def event - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Event - end - def log_analytics - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::LogAnalytics - end def resource_requests Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceRequests end @@ -121,48 +151,39 @@ def volume_mount def container_http_get Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerHttpGet end - def operation_display - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay - end def container Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Container end - def operation - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation - end def git_repo_volume Azure::ContainerInstance::Mgmt::V2018_06_01::Models::GitRepoVolume end - def operation_list_result - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult - end def image_registry_credential Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ImageRegistryCredential end - def usage_name - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageName + def operation_display + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationDisplay end def container_state Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerState end - def usage - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Usage - end - def resource_limits - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits - end - def usage_list_result - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::UsageListResult + def operation + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Operation end def container_probe Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerProbe end - def container_group_list_result - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + def operation_list_result + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperationListResult end def volume Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Volume end + def container_group_list_result + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupListResult + end + def resource_limits + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ResourceLimits + end def logs Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Logs end @@ -175,8 +196,8 @@ def container_exec_request_terminal_size def azure_file_volume Azure::ContainerInstance::Mgmt::V2018_06_01::Models::AzureFileVolume end - def container_exec_request - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequest + def usage + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Usage end def container_exec Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExec @@ -184,29 +205,8 @@ def container_exec def container_exec_response Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecResponse end - def container_port - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerPort - end - def resource - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::Resource - end - def container_group - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroup - end - def container_network_protocol - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerNetworkProtocol - end - def container_group_restart_policy - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupRestartPolicy - end - def container_group_network_protocol - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerGroupNetworkProtocol - end - def operating_system_types - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::OperatingSystemTypes - end - def container_instance_operations_origin - Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerInstanceOperationsOrigin + def container_exec_request + Azure::ContainerInstance::Mgmt::V2018_06_01::Models::ContainerExecRequest 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 5cf1c96cf5..f32c102d8f 100644 --- a/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerregistry_profile_module.rb @@ -8,11 +8,14 @@ module Azure::Profiles::Latest module ContainerRegistry module Mgmt Registries = Azure::ContainerRegistry::Mgmt::V2017_10_01::Registries - Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations Replications = Azure::ContainerRegistry::Mgmt::V2017_10_01::Replications Webhooks = Azure::ContainerRegistry::Mgmt::V2017_10_01::Webhooks + Operations = Azure::ContainerRegistry::Mgmt::V2017_10_01::Operations module Models + Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event TrustPolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource RegistryPolicies = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies @@ -22,53 +25,50 @@ module Models OperationMetricSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationMetricSpecificationDefinition OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters - Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties - Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters WebhookCreateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookCreateParameters RegistryPassword = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword - WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters - WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig - OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult - Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor OperationServiceSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition - Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent - Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage + WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters QuarantinePolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy - EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication - Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook - Event = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult ImportMode = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode - SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName - SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier - ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName + EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage + ProvisioningState = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit PolicyStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus TrustPolicyType = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicyType WebhookStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookStatus WebhookAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction + SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier + Resource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + Webhook = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook + OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status + SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName + Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source end class ContainerRegistryManagementClass - attr_reader :registries, :operations, :replications, :webhooks, :configurable, :base_url, :options, :model_classes + attr_reader :registries, :replications, :webhooks, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -79,9 +79,9 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @registries = @client_0.registries - @operations = @client_0.operations @replications = @client_0.replications @webhooks = @client_0.webhooks + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -100,6 +100,15 @@ def method_missing(method, *args) end class ModelClasses + def request + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request + end + def sku + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku + end + def event + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + end def trust_policy Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy end @@ -127,18 +136,12 @@ def operation_definition def replication_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters end - def sku - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku - end def replication_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult end def storage_account_properties Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties end - def resource - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource - end def registry_update_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters end @@ -148,15 +151,9 @@ def webhook_create_parameters def registry_password Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPassword end - def webhook_update_parameters - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters - end def regenerate_credential_parameters Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters end - def webhook_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult - end def registry_usage_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult end @@ -169,9 +166,6 @@ def operation_display_definition def callback_config Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig end - def operation_list_result - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult - end def target Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target end @@ -181,9 +175,6 @@ def event_list_result def registry_list_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult end - def request - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request - end def registry_usage Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage end @@ -193,54 +184,42 @@ def actor def operation_service_specification_definition Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition end - def source - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source - end def registry_list_credentials_result Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult end def event_content Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent end - def status - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status - end def event_request_message Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage end + def webhook_update_parameters + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters + end def quarantine_policy Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy end - def event_response_message - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage - end def registry Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry end def replication Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication end - def webhook - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook - end - def event - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Event + def webhook_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult end def import_mode Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportMode end - def sku_name - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName + def password_name + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName end - def sku_tier - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier + def event_response_message + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage end def provisioning_state Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ProvisioningState end - def password_name - Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName - end def registry_usage_unit Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit end @@ -256,6 +235,27 @@ def webhook_status def webhook_action Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookAction end + def sku_tier + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier + end + def resource + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Resource + end + def webhook + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Webhook + end + def operation_list_result + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult + 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 source + Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source + 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 7f52e7fb1d..dc9be52cbe 100644 --- a/azure_sdk/lib/latest/modules/containerservice_profile_module.rb +++ b/azure_sdk/lib/latest/modules/containerservice_profile_module.rb @@ -7,51 +7,51 @@ module Azure::Profiles::Latest module ContainerService module Mgmt - Operations = Azure::ContainerService::Mgmt::V2018_03_31::Operations ManagedClusters = Azure::ContainerService::Mgmt::V2018_03_31::ManagedClusters + Operations = Azure::ContainerService::Mgmt::V2018_03_31::Operations ContainerServices = Azure::ContainerService::Mgmt::V2017_09_30::ContainerServices module Models + ContainerServiceOrchestratorTypes = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorTypes + ContainerService = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerService ContainerServiceCustomProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceCustomProfile ContainerServiceOrchestratorProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorProfile ContainerServiceAgentPoolProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceAgentPoolProfile 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 - ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + OSType = Azure::ContainerService::Mgmt::V2018_03_31::Models::OSType ContainerServiceNetworkProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceNetworkProfile - OperationListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult - ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics - TagsObject = Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject - ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile - ContainerServiceServicePrincipalProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile ManagedClusterAddonProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAddonProfile ManagedClusterAgentPoolProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAgentPoolProfile ManagedClusterAADProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAADProfile - ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey - ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration OperationValue = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationValue - KeyVaultSecretRef = Azure::ContainerService::Mgmt::V2018_03_31::Models::KeyVaultSecretRef ManagedClusterListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterListResult - ContainerServiceWindowsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceWindowsProfile - ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile - ManagedClusterUpgradeProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterUpgradeProfile - Resource = Azure::ContainerService::Mgmt::V2018_03_31::Models::Resource + TagsObject = Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterPoolUpgradeProfile ManagedCluster = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedCluster + ManagedClusterUpgradeProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterUpgradeProfile ManagedClusterAccessProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAccessProfile - ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceStorageProfileTypes - ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMSizeTypes - OSType = Azure::ContainerService::Mgmt::V2018_03_31::Models::OSType NetworkPlugin = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPlugin NetworkPolicy = Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy + Resource = Azure::ContainerService::Mgmt::V2018_03_31::Models::Resource + OperationListResult = Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult + 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 + ContainerServiceServicePrincipalProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile + ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile + ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics + ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile + KeyVaultSecretRef = Azure::ContainerService::Mgmt::V2018_03_31::Models::KeyVaultSecretRef + ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceStorageProfileTypes + ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMSizeTypes + 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 - OrchestratorProfile = Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile end class ContainerServiceManagementClass - attr_reader :operations, :managed_clusters, :container_services, :configurable, :base_url, :options, :model_classes + attr_reader :managed_clusters, :operations, :container_services, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -67,8 +67,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @operations = @client_1.operations @managed_clusters = @client_1.managed_clusters + @operations = @client_1.operations @client_2 = Azure::ContainerService::Mgmt::V2017_09_30::ContainerServiceClient.new(configurable.credentials, base_url, options) if(@client_2.respond_to?(:subscription_id)) @@ -98,6 +98,12 @@ def method_missing(method, *args) end class ModelClasses + def container_service_orchestrator_types + Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorTypes + end + def container_service + Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerService + end def container_service_custom_profile Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceCustomProfile end @@ -110,33 +116,12 @@ def container_service_agent_pool_profile def container_service_list_result Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceListResult end - def container_service - Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerService - end - def container_service_orchestrator_types - Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorTypes - end - def container_service_linux_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + def ostype + Azure::ContainerService::Mgmt::V2018_03_31::Models::OSType end def container_service_network_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceNetworkProfile end - def operation_list_result - Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult - end - def container_service_vmdiagnostics - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics - end - def tags_object - Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject - end - def container_service_diagnostics_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile - end - def container_service_service_principal_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile - end def managed_cluster_addon_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAddonProfile end @@ -146,41 +131,65 @@ def managed_cluster_agent_pool_profile def managed_cluster_aadprofile Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAADProfile end - def container_service_ssh_public_key - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey - end - def container_service_ssh_configuration - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration - end def operation_value Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationValue end - def key_vault_secret_ref - Azure::ContainerService::Mgmt::V2018_03_31::Models::KeyVaultSecretRef - end def managed_cluster_list_result Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterListResult end - def container_service_windows_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceWindowsProfile + def tags_object + Azure::ContainerService::Mgmt::V2018_03_31::Models::TagsObject end - def container_service_master_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile + def managed_cluster_pool_upgrade_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterPoolUpgradeProfile + end + def managed_cluster + Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedCluster end def managed_cluster_upgrade_profile Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterUpgradeProfile end + def managed_cluster_access_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAccessProfile + end + def network_plugin + Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPlugin + end + def network_policy + Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy + end def resource Azure::ContainerService::Mgmt::V2018_03_31::Models::Resource end - def managed_cluster_pool_upgrade_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterPoolUpgradeProfile + def operation_list_result + Azure::ContainerService::Mgmt::V2018_03_31::Models::OperationListResult end - def managed_cluster - Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedCluster + def container_service_windows_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceWindowsProfile end - def managed_cluster_access_profile - Azure::ContainerService::Mgmt::V2018_03_31::Models::ManagedClusterAccessProfile + def container_service_ssh_public_key + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshPublicKey + end + def container_service_ssh_configuration + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceSshConfiguration + end + def container_service_service_principal_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceServicePrincipalProfile + end + def container_service_linux_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceLinuxProfile + end + def container_service_master_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceMasterProfile + end + def container_service_vmdiagnostics + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMDiagnostics + end + def container_service_diagnostics_profile + Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceDiagnosticsProfile + end + def key_vault_secret_ref + Azure::ContainerService::Mgmt::V2018_03_31::Models::KeyVaultSecretRef end def container_service_storage_profile_types Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceStorageProfileTypes @@ -188,14 +197,8 @@ def container_service_storage_profile_types def container_service_vmsize_types Azure::ContainerService::Mgmt::V2018_03_31::Models::ContainerServiceVMSizeTypes end - def ostype - Azure::ContainerService::Mgmt::V2018_03_31::Models::OSType - end - def network_plugin - Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPlugin - end - def network_policy - Azure::ContainerService::Mgmt::V2018_03_31::Models::NetworkPolicy + def orchestrator_profile + Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorProfile end def orchestrator_version_profile Azure::ContainerService::Mgmt::V2017_09_30::Models::OrchestratorVersionProfile @@ -203,9 +206,6 @@ def orchestrator_version_profile 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 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 5cd21dadfd..447f44886c 100644 --- a/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb +++ b/azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb @@ -15,68 +15,68 @@ module ContentModerator Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews module Models + Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face + JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem - Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag - Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames ImageIds = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds + Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error ClassificationCategory2 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 - TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification TermsData = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging IPA = Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms - Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review + Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails - Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate - JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse - Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error ImageListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata - APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError TermListMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem + APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError RefreshIndexAdvancedInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem - 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 + TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem + Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag + ClassificationCategory3 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 + PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII SSN = Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN CreateVideoReviewsBodyItemVideoFramesItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem - PII = Azure::CognitiveServices::ContentModerator::V1_0::Models::PII - CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem - FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem + CreateVideoReviewsBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList - Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body + FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair - ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl - Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status - VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem + Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen + VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem + Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem ClassificationCategory1 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 - CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image + TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList + ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone - Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content + CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl + Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content end class ContentModeratorDataClass @@ -115,30 +115,30 @@ def method_missing(method, *args) end class ModelClasses + def face + Azure::CognitiveServices::ContentModerator::V1_0::Models::Face + end + def job_list_result + Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult + end def refresh_index Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex end def image_additional_info_item Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem end - def tag - Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag - end - def image - Azure::CognitiveServices::ContentModerator::V1_0::Models::Image - end def frames Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames end def image_ids Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds end + def error + Azure::CognitiveServices::ContentModerator::V1_0::Models::Error + end def classification_category2 Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2 end - def terms_in_list - Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList - end def classification Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification end @@ -157,30 +157,21 @@ def ipa def terms Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms end - def address - Azure::CognitiveServices::ContentModerator::V1_0::Models::Address - end def review Azure::CognitiveServices::ContentModerator::V1_0::Models::Review end + def address + Azure::CognitiveServices::ContentModerator::V1_0::Models::Address + end def detected_terms Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms end def job_execution_report_details Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails end - def face - Azure::CognitiveServices::ContentModerator::V1_0::Models::Face - end - def job - Azure::CognitiveServices::ContentModerator::V1_0::Models::Job - end def candidate Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate end - def job_list_result - Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult - end def evaluate Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate end @@ -190,57 +181,54 @@ def job_id def match_response Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse end - def error - Azure::CognitiveServices::ContentModerator::V1_0::Models::Error - end def image_list_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageListMetadata end - def apierror - Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError - end def term_list_metadata Azure::CognitiveServices::ContentModerator::V1_0::Models::TermListMetadata end def transcript_moderation_body_item_terms_item Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem end + def apierror + Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError + end def refresh_index_advanced_info_item Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndexAdvancedInfoItem end - def transcript_moderation_body_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem - end def frame Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame end def create_video_reviews_body_item_video_frames_item_reviewer_result_tags_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem end - def classification_category3 - Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 + def transcript_moderation_body_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem end def create_video_reviews_body_item_video_frames_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemMetadataItem end - def ssn - Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN + def tag + Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag end - def create_video_reviews_body_item_video_frames_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem + def classification_category3 + Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory3 end def pii Azure::CognitiveServices::ContentModerator::V1_0::Models::PII end - def create_video_reviews_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemMetadataItem + def ssn + Azure::CognitiveServices::ContentModerator::V1_0::Models::SSN end - def found_faces - Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces + def create_video_reviews_body_item_video_frames_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItem 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 @@ -250,23 +238,23 @@ def body_metadata def image_list Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList end - def body - Azure::CognitiveServices::ContentModerator::V1_0::Models::Body + def found_faces + Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces end def key_value_pair Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair end - def image_url - Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + def job + Azure::CognitiveServices::ContentModerator::V1_0::Models::Job end - def status - Azure::CognitiveServices::ContentModerator::V1_0::Models::Status + def screen + Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen end def video_frame_body_item_reviewer_result_tags_item Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem end - def screen - Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen + def body + Azure::CognitiveServices::ContentModerator::V1_0::Models::Body end def video_frame_body_item_metadata_item Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem @@ -280,8 +268,17 @@ def video_frame_body_item def classification_category1 Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1 end - def create_review_body_item_metadata_item - Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem + def image + Azure::CognitiveServices::ContentModerator::V1_0::Models::Image + end + def terms_in_list + Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList + end + def image_url + Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl + end + def status + Azure::CognitiveServices::ContentModerator::V1_0::Models::Status end def ocr Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR @@ -292,8 +289,8 @@ def create_review_body_item def phone Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone end - def content - Azure::CognitiveServices::ContentModerator::V1_0::Models::Content + def create_review_body_item_metadata_item + Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem end def term_list Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList @@ -301,6 +298,9 @@ def term_list def azure_region_base_url Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl end + def content + Azure::CognitiveServices::ContentModerator::V1_0::Models::Content + end end end end diff --git a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb index 744733e667..fd896b9c8c 100644 --- a/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customerinsights_profile_module.rb @@ -7,25 +7,49 @@ module Azure::Profiles::Latest module CustomerInsights module Mgmt - Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations Hubs = Azure::CustomerInsights::Mgmt::V2017_04_26::Hubs - Profiles = Azure::CustomerInsights::Mgmt::V2017_04_26::Profiles Interactions = Azure::CustomerInsights::Mgmt::V2017_04_26::Interactions Relationships = Azure::CustomerInsights::Mgmt::V2017_04_26::Relationships RelationshipLinks = Azure::CustomerInsights::Mgmt::V2017_04_26::RelationshipLinks + Profiles = Azure::CustomerInsights::Mgmt::V2017_04_26::Profiles AuthorizationPolicies = Azure::CustomerInsights::Mgmt::V2017_04_26::AuthorizationPolicies - Connectors = Azure::CustomerInsights::Mgmt::V2017_04_26::Connectors + Operations = Azure::CustomerInsights::Mgmt::V2017_04_26::Operations ConnectorMappings = Azure::CustomerInsights::Mgmt::V2017_04_26::ConnectorMappings - Kpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Kpi + Connectors = Azure::CustomerInsights::Mgmt::V2017_04_26::Connectors WidgetTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::WidgetTypes - Views = Azure::CustomerInsights::Mgmt::V2017_04_26::Views - Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links + Kpi = Azure::CustomerInsights::Mgmt::V2017_04_26::Kpi Roles = Azure::CustomerInsights::Mgmt::V2017_04_26::Roles + Views = Azure::CustomerInsights::Mgmt::V2017_04_26::Views RoleAssignments = Azure::CustomerInsights::Mgmt::V2017_04_26::RoleAssignments - Images = Azure::CustomerInsights::Mgmt::V2017_04_26::Images Predictions = Azure::CustomerInsights::Mgmt::V2017_04_26::Predictions + Links = Azure::CustomerInsights::Mgmt::V2017_04_26::Links + Images = Azure::CustomerInsights::Mgmt::V2017_04_26::Images module Models + PermissionTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes + Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + ConnectorTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes + ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes + CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes + ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes + KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions + EntityType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType + LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes + ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult + CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle + ProxyResource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource + RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult + Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource + OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay + Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation + OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult KpiListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult HubBillingInfoFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::HubBillingInfoFormat Participant = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Participant @@ -33,7 +57,6 @@ module Models MetadataDefinitionBase = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::MetadataDefinitionBase PredictionSystemGeneratedEntities = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionSystemGeneratedEntities DataSourcePrecedence = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourcePrecedence - ProfileListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult SuggestRelationshipLinksResponse = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SuggestRelationshipLinksResponse AuthorizationPolicy = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicy PredictionGradesItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionGradesItem @@ -46,15 +69,11 @@ module Models RelationshipsLookup = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipsLookup ConnectorMappingAvailability = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingAvailability ConnectorMappingCompleteOperation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation - OperationListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult KpiThresholds = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds ConnectorListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorListResult KpiParticipantProfilesMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata - Operation = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation KpiExtract = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiExtract ConnectorMappingListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult - Resource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource - OperationDisplay = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay TypePropertiesMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping AuthorizationPolicyListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::AuthorizationPolicyListResult RelationshipTypeFieldMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeFieldMapping @@ -73,7 +92,6 @@ module Models CanonicalProfileDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinition KpiAlias = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiAlias ViewListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewListResult - ProxyResource = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource CanonicalProfileDefinitionPropertiesItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinitionPropertiesItem RelationshipTypeMapping = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RelationshipTypeMapping WidgetTypeListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::WidgetTypeListResult @@ -84,7 +102,6 @@ module Models KpiGroupByMetadata = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiGroupByMetadata PredictionDistributionDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinition ParticipantPropertyReference = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference - RoleAssignmentListResult = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult SalesforceDiscoverSetting = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting PredictionDistributionDefinitionDistributionsItem = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionDistributionDefinitionDistributionsItem KpiDefinition = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiDefinition @@ -112,28 +129,11 @@ module Models PredictionResourceFormat = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat EntityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityTypes DataSourceType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType - Status = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status ProvisioningStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates - PermissionTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes - ConnectorTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes - ConnectorStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates - ErrorManagementTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes - FrequencyTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes - CompletionOperationTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes - ConnectorMappingStates = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates - CalculationWindowTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes - KpiFunctions = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions - EntityType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType - LinkTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes - InstanceOperationType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType - CardinalityTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes - RoleTypes = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes - CanonicalPropertyValueType = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType - PredictionModelLifeCycle = Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle end class CustomerInsightsManagementClass - attr_reader :operations, :hubs, :profiles, :interactions, :relationships, :relationship_links, :authorization_policies, :connectors, :connector_mappings, :kpi, :widget_types, :views, :links, :roles, :role_assignments, :images, :predictions, :configurable, :base_url, :options, :model_classes + attr_reader :hubs, :interactions, :relationships, :relationship_links, :profiles, :authorization_policies, :operations, :connector_mappings, :connectors, :widget_types, :kpi, :roles, :views, :role_assignments, :predictions, :links, :images, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -143,23 +143,23 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @hubs = @client_0.hubs - @profiles = @client_0.profiles @interactions = @client_0.interactions @relationships = @client_0.relationships @relationship_links = @client_0.relationship_links + @profiles = @client_0.profiles @authorization_policies = @client_0.authorization_policies - @connectors = @client_0.connectors + @operations = @client_0.operations @connector_mappings = @client_0.connector_mappings - @kpi = @client_0.kpi + @connectors = @client_0.connectors @widget_types = @client_0.widget_types - @views = @client_0.views - @links = @client_0.links + @kpi = @client_0.kpi @roles = @client_0.roles + @views = @client_0.views @role_assignments = @client_0.role_assignments - @images = @client_0.images @predictions = @client_0.predictions + @links = @client_0.links + @images = @client_0.images @model_classes = ModelClasses.new end @@ -178,6 +178,78 @@ def method_missing(method, *args) end class ModelClasses + def permission_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes + end + def status + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status + end + def connector_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes + end + def connector_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates + end + def error_management_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes + end + def frequency_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes + end + def completion_operation_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes + end + def connector_mapping_states + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates + end + def calculation_window_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes + end + def kpi_functions + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions + end + def entity_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType + end + def link_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes + end + def instance_operation_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType + end + def cardinality_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes + end + def profile_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult + end + def canonical_property_value_type + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType + end + def role_types + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes + end + def prediction_model_life_cycle + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle + end + def proxy_resource + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource + end + def role_assignment_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult + end + def resource + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource + end + def operation_display + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay + end + def operation + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation + end + def operation_list_result + Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult + end def kpi_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiListResult end @@ -199,9 +271,6 @@ def prediction_system_generated_entities def data_source_precedence Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourcePrecedence end - def profile_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProfileListResult - end def suggest_relationship_links_response Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SuggestRelationshipLinksResponse end @@ -238,9 +307,6 @@ def connector_mapping_availability def connector_mapping_complete_operation Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingCompleteOperation end - def operation_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationListResult - end def kpi_thresholds Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiThresholds end @@ -250,21 +316,12 @@ def connector_list_result def kpi_participant_profiles_metadata Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiParticipantProfilesMetadata end - def operation - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Operation - end def kpi_extract Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiExtract end def connector_mapping_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingListResult end - def resource - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Resource - end - def operation_display - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::OperationDisplay - end def type_properties_mapping Azure::CustomerInsights::Mgmt::V2017_04_26::Models::TypePropertiesMapping end @@ -319,9 +376,6 @@ def kpi_alias def view_list_result Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ViewListResult end - def proxy_resource - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProxyResource - end def canonical_profile_definition_properties_item Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalProfileDefinitionPropertiesItem end @@ -352,9 +406,6 @@ def prediction_distribution_definition def participant_property_reference Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ParticipantPropertyReference end - def role_assignment_list_result - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleAssignmentListResult - end def salesforce_discover_setting Azure::CustomerInsights::Mgmt::V2017_04_26::Models::SalesforceDiscoverSetting end @@ -436,60 +487,9 @@ def entity_types def data_source_type Azure::CustomerInsights::Mgmt::V2017_04_26::Models::DataSourceType end - def status - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::Status - end def provisioning_states Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ProvisioningStates end - def permission_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PermissionTypes - end - def connector_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorTypes - end - def connector_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorStates - end - def error_management_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ErrorManagementTypes - end - def frequency_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::FrequencyTypes - end - def completion_operation_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CompletionOperationTypes - end - def connector_mapping_states - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ConnectorMappingStates - end - def calculation_window_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CalculationWindowTypes - end - def kpi_functions - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::KpiFunctions - end - def entity_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::EntityType - end - def link_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::LinkTypes - end - def instance_operation_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::InstanceOperationType - end - def cardinality_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CardinalityTypes - end - def role_types - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::RoleTypes - end - def canonical_property_value_type - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::CanonicalPropertyValueType - end - def prediction_model_life_cycle - Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionModelLifeCycle - end end end end diff --git a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb index 4b79f6d097..36e0ae3062 100644 --- a/azure_sdk/lib/latest/modules/customsearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/customsearch_profile_module.rb @@ -12,7 +12,6 @@ module Models ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query - Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error WebMetaTag = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag WebPage = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer @@ -20,12 +19,13 @@ module Models SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response - ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer - Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing + ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork - ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode + Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode + ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode + Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat end @@ -69,9 +69,6 @@ def query_context def query Azure::CognitiveServices::CustomSearch::V1_0::Models::Query end - def error - Azure::CognitiveServices::CustomSearch::V1_0::Models::Error - end def web_meta_tag Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag end @@ -93,23 +90,26 @@ def identifiable def response Azure::CognitiveServices::CustomSearch::V1_0::Models::Response end + def answer + Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer + end def error_response Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse end - def answer - Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer + def creative_work + Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork end def thing Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing end - def creative_work - Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork + def error_sub_code + Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode end def error_code Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode end - def error_sub_code - Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode + def error + Azure::CognitiveServices::CustomSearch::V1_0::Models::Error end def safe_search Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch diff --git a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb index 22bcea2ec7..a2c455f290 100644 --- a/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakeanalytics_profile_module.rb @@ -7,67 +7,67 @@ module Azure::Profiles::Latest module DataLakeAnalytics module Mgmt - Accounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Accounts DataLakeStoreAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::DataLakeStoreAccounts - StorageAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::StorageAccounts ComputePolicies = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::ComputePolicies FirewallRules = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::FirewallRules - Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations Locations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Locations + Accounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Accounts + Operations = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Operations + StorageAccounts = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::StorageAccounts module Models - CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation + DataLakeStoreAccountInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformation + StorageAccountInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageAccountInformation + ComputePolicy = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicy + FirewallRule = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallRule + DataLakeAnalyticsAccount = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccount + DataLakeAnalyticsAccountBasic = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountBasic + StorageContainer = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainer + AADObjectType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AADObjectType + FirewallState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallState + FirewallAllowAzureIpsState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + StorageAccountInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageAccountInformationListResult + DataLakeAnalyticsAccountListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountListResult + DataLakeAnalyticsAccountStatus = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus + UpdateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters + OperationOrigin = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin + StorageContainerListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainerListResult + TierType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType + DataLakeAnalyticsAccountState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountState + CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + SubscriptionState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState Resource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource + CapabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation NameAvailabilityInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation + UpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters Operation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation + UpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters OperationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult - UpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + AddDataLakeStoreWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreWithAccountParameters SubResource = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource - UpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters - UpdateStorageAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters DataLakeStoreAccountInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformationListResult - AddDataLakeStoreWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreWithAccountParameters - CreateOrUpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateComputePolicyParameters AddStorageAccountWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddStorageAccountWithAccountParameters - SasTokenInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformation + UpdateStorageAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters CreateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateComputePolicyWithAccountParameters + SasTokenInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformation + CreateOrUpdateComputePolicyParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateComputePolicyParameters ComputePolicyListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicyListResult CreateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters OperationDisplay = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay - CreateDataLakeAnalyticsAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters CreateOrUpdateFirewallRuleParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters UpdateDataLakeStoreWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreWithAccountParameters - StorageAccountInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageAccountInformationListResult + CreateDataLakeAnalyticsAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters UpdateStorageAccountWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountWithAccountParameters SasTokenInformationListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformationListResult - UpdateComputePolicyWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters - CheckNameAvailabilityParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - UpdateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - StorageContainerListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainerListResult UpdateDataLakeAnalyticsAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeAnalyticsAccountParameters - DataLakeAnalyticsAccountListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountListResult + UpdateFirewallRuleWithAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters AddDataLakeStoreParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreParameters FirewallRuleListResult = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallRuleListResult AddStorageAccountParameters = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddStorageAccountParameters - DataLakeStoreAccountInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformation - StorageAccountInformation = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageAccountInformation - ComputePolicy = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicy - FirewallRule = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallRule - DataLakeAnalyticsAccount = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccount - DataLakeAnalyticsAccountBasic = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountBasic - StorageContainer = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainer - AADObjectType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AADObjectType - FirewallState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallState - FirewallAllowAzureIpsState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState - TierType = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType - DataLakeAnalyticsAccountStatus = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus - DataLakeAnalyticsAccountState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountState - OperationOrigin = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin - SubscriptionState = Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState end class DataLakeAnalyticsManagementClass - attr_reader :accounts, :data_lake_store_accounts, :storage_accounts, :compute_policies, :firewall_rules, :operations, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :data_lake_store_accounts, :compute_policies, :firewall_rules, :locations, :accounts, :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 @@ -77,13 +77,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @accounts = @client_0.accounts @data_lake_store_accounts = @client_0.data_lake_store_accounts - @storage_accounts = @client_0.storage_accounts @compute_policies = @client_0.compute_policies @firewall_rules = @client_0.firewall_rules - @operations = @client_0.operations @locations = @client_0.locations + @accounts = @client_0.accounts + @operations = @client_0.operations + @storage_accounts = @client_0.storage_accounts @model_classes = ModelClasses.new end @@ -102,51 +102,111 @@ def method_missing(method, *args) end class ModelClasses - def capability_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation + def data_lake_store_account_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformation + end + def storage_account_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageAccountInformation + end + def compute_policy + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicy + end + def firewall_rule + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallRule + end + def data_lake_analytics_account + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccount + end + def data_lake_analytics_account_basic + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountBasic + end + def storage_container + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainer + end + def aadobject_type + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AADObjectType + end + def firewall_state + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallState + end + def firewall_allow_azure_ips_state + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + end + def storage_account_information_list_result + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageAccountInformationListResult + end + def data_lake_analytics_account_list_result + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountListResult + end + def data_lake_analytics_account_status + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus + end + def update_compute_policy_with_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters + end + def operation_origin + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin + end + def storage_container_list_result + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainerListResult + end + def tier_type + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType + end + def data_lake_analytics_account_state + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountState + end + def check_name_availability_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end + def subscription_state + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState end def resource Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Resource end + def capability_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CapabilityInformation + end def name_availability_information Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::NameAvailabilityInformation end + def update_firewall_rule_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + end def operation Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::Operation end + def update_compute_policy_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters + end def operation_list_result Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationListResult end - def update_firewall_rule_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + def add_data_lake_store_with_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreWithAccountParameters end def sub_resource Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubResource end - def update_compute_policy_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyParameters - end - def update_storage_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters - end def data_lake_store_account_information_list_result Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformationListResult end - def add_data_lake_store_with_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreWithAccountParameters - end - def create_or_update_compute_policy_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateComputePolicyParameters - end def add_storage_account_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddStorageAccountWithAccountParameters end - def sas_token_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformation + def update_storage_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountParameters end def create_compute_policy_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateComputePolicyWithAccountParameters end + def sas_token_information + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformation + end + def create_or_update_compute_policy_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateComputePolicyParameters + end def compute_policy_list_result Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicyListResult end @@ -156,17 +216,14 @@ def create_firewall_rule_with_account_parameters def operation_display Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationDisplay end - def create_data_lake_analytics_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters - end def create_or_update_firewall_rule_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters end def update_data_lake_store_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreWithAccountParameters end - def storage_account_information_list_result - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageAccountInformationListResult + def create_data_lake_analytics_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CreateDataLakeAnalyticsAccountParameters end def update_storage_account_with_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateStorageAccountWithAccountParameters @@ -174,23 +231,11 @@ def update_storage_account_with_account_parameters def sas_token_information_list_result Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SasTokenInformationListResult end - def update_compute_policy_with_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateComputePolicyWithAccountParameters - end - def check_name_availability_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end - def update_firewall_rule_with_account_parameters - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - end - def storage_container_list_result - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainerListResult - end def update_data_lake_analytics_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateDataLakeAnalyticsAccountParameters end - def data_lake_analytics_account_list_result - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountListResult + def update_firewall_rule_with_account_parameters + Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters end def add_data_lake_store_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddDataLakeStoreParameters @@ -201,51 +246,6 @@ def firewall_rule_list_result def add_storage_account_parameters Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AddStorageAccountParameters end - def data_lake_store_account_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeStoreAccountInformation - end - def storage_account_information - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageAccountInformation - end - def compute_policy - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::ComputePolicy - end - def firewall_rule - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallRule - end - def data_lake_analytics_account - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccount - end - def data_lake_analytics_account_basic - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountBasic - end - def storage_container - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::StorageContainer - end - def aadobject_type - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::AADObjectType - end - def firewall_state - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallState - end - def firewall_allow_azure_ips_state - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState - end - def tier_type - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::TierType - end - def data_lake_analytics_account_status - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountStatus - end - def data_lake_analytics_account_state - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::DataLakeAnalyticsAccountState - end - def operation_origin - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::OperationOrigin - end - def subscription_state - Azure::DataLakeAnalytics::Mgmt::V2016_11_01::Models::SubscriptionState - end end end end diff --git a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb index 10c09344ed..4d74a5647d 100644 --- a/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb +++ b/azure_sdk/lib/latest/modules/datalakestore_profile_module.rb @@ -7,17 +7,21 @@ module Azure::Profiles::Latest module DataLakeStore module Mgmt - Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts 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 Operations = Azure::DataLakeStore::Mgmt::V2016_11_01::Operations - Locations = Azure::DataLakeStore::Mgmt::V2016_11_01::Locations + Accounts = Azure::DataLakeStore::Mgmt::V2016_11_01::Accounts + TrustedIdProviders = Azure::DataLakeStore::Mgmt::V2016_11_01::TrustedIdProviders module Models - NameAvailabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation - Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource - CreateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters + FirewallRule = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule + FirewallState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState + FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin + CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + SubscriptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState EncryptionIdentity = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity CreateVirtualNetworkRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateVirtualNetworkRuleWithAccountParameters EncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfig @@ -26,27 +30,16 @@ module Models UpdateVirtualNetworkRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateVirtualNetworkRuleParameters UpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderParameters CreateOrUpdateTrustedIdProviderParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters - FirewallRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult CreateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters TrustedIdProviderListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderListResult UpdateKeyVaultMetaInfo = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo - Operation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation UpdateEncryptionConfig = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig - CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation - UpdateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - CheckNameAvailabilityParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters UpdateVirtualNetworkRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateVirtualNetworkRuleWithAccountParameters VirtualNetworkRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::VirtualNetworkRuleListResult UpdateTrustedIdProviderWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters - OperationListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult UpdateDataLakeStoreAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters DataLakeStoreAccountListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult - CreateOrUpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters - SubResource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource - UpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters - OperationDisplay = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay CreateOrUpdateVirtualNetworkRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateVirtualNetworkRuleParameters - FirewallRule = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule VirtualNetworkRule = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::VirtualNetworkRule TrustedIdProvider = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProvider DataLakeStoreAccount = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccount @@ -54,18 +47,25 @@ module Models EncryptionConfigType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionConfigType EncryptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionState EncryptionProvisioningState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState - FirewallState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState - FirewallAllowAzureIpsState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState TrustedIdProviderState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState - TierType = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType DataLakeStoreAccountStatus = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus DataLakeStoreAccountState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState - OperationOrigin = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin - SubscriptionState = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + Resource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource + CapabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation + NameAvailabilityInformation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation + UpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + Operation = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation + OperationDisplay = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay + OperationListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult + SubResource = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource + CreateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters + CreateOrUpdateFirewallRuleParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters + UpdateFirewallRuleWithAccountParameters = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters + FirewallRuleListResult = Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult end class DataLakeStoreManagementClass - attr_reader :accounts, :firewall_rules, :virtual_network_rules, :trusted_id_providers, :operations, :locations, :configurable, :base_url, :options, :model_classes + attr_reader :firewall_rules, :locations, :virtual_network_rules, :operations, :accounts, :trusted_id_providers, :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) - @accounts = @client_0.accounts @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 @operations = @client_0.operations - @locations = @client_0.locations + @accounts = @client_0.accounts + @trusted_id_providers = @client_0.trusted_id_providers @model_classes = ModelClasses.new end @@ -99,14 +99,26 @@ def method_missing(method, *args) end class ModelClasses - def name_availability_information - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation + def firewall_rule + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule end - def resource - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource + def firewall_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState end - def create_firewall_rule_with_account_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters + def firewall_allow_azure_ips_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState + end + def tier_type + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType + end + def operation_origin + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin + end + def check_name_availability_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters + end + def subscription_state + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState end def encryption_identity Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionIdentity @@ -132,9 +144,6 @@ def update_trusted_id_provider_parameters def create_or_update_trusted_id_provider_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateTrustedIdProviderParameters end - def firewall_rule_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult - end def create_data_lake_store_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateDataLakeStoreAccountParameters end @@ -144,21 +153,9 @@ def trusted_id_provider_list_result def update_key_vault_meta_info Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateKeyVaultMetaInfo end - def operation - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation - end def update_encryption_config Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateEncryptionConfig end - def capability_information - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation - end - def update_firewall_rule_with_account_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters - end - def check_name_availability_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CheckNameAvailabilityParameters - end def update_virtual_network_rule_with_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateVirtualNetworkRuleWithAccountParameters end @@ -168,33 +165,15 @@ def virtual_network_rule_list_result def update_trusted_id_provider_with_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateTrustedIdProviderWithAccountParameters end - def operation_list_result - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult - end def update_data_lake_store_account_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateDataLakeStoreAccountParameters end def data_lake_store_account_list_result Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountListResult end - def create_or_update_firewall_rule_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters - end - def sub_resource - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource - end - def update_firewall_rule_parameters - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters - end - def operation_display - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay - end def create_or_update_virtual_network_rule_parameters Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateVirtualNetworkRuleParameters end - def firewall_rule - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRule - end def virtual_network_rule Azure::DataLakeStore::Mgmt::V2016_11_01::Models::VirtualNetworkRule end @@ -216,29 +195,50 @@ def encryption_state def encryption_provisioning_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::EncryptionProvisioningState end - def firewall_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallState - end - def firewall_allow_azure_ips_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallAllowAzureIpsState - end def trusted_id_provider_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TrustedIdProviderState end - def tier_type - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::TierType - end def data_lake_store_account_status Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountStatus end def data_lake_store_account_state Azure::DataLakeStore::Mgmt::V2016_11_01::Models::DataLakeStoreAccountState end - def operation_origin - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationOrigin + def resource + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Resource end - def subscription_state - Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubscriptionState + def capability_information + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CapabilityInformation + end + def name_availability_information + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::NameAvailabilityInformation + end + def update_firewall_rule_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleParameters + end + def operation + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::Operation + end + def operation_display + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationDisplay + end + def operation_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::OperationListResult + end + def sub_resource + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::SubResource + end + def create_firewall_rule_with_account_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateFirewallRuleWithAccountParameters + end + def create_or_update_firewall_rule_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::CreateOrUpdateFirewallRuleParameters + end + def update_firewall_rule_with_account_parameters + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::UpdateFirewallRuleWithAccountParameters + end + def firewall_rule_list_result + Azure::DataLakeStore::Mgmt::V2016_11_01::Models::FirewallRuleListResult end end end diff --git a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb index 3143fe83e5..92d39a0935 100644 --- a/azure_sdk/lib/latest/modules/devspaces_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devspaces_profile_module.rb @@ -11,23 +11,23 @@ module Mgmt Operations = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Operations module Models - ControllerConnectionDetailsList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList - Sku = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Sku - ErrorResponse = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse ControllerUpdateParameters = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters ResourceProviderOperationDisplay = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDisplay OrchestratorSpecificConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::OrchestratorSpecificConnectionDetails ResourceProviderOperationDefinition = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationDefinition ResourceProviderOperationList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationList + Sku = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Sku ControllerConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetails - Resource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource ControllerList = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerList ErrorDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails - TrackedResource = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource - Controller = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller KubernetesConnectionDetails = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails + Controller = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller ProvisioningState = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ProvisioningState SkuTier = Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::SkuTier + 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 end class DevSpacesManagementClass @@ -61,15 +61,6 @@ def method_missing(method, *args) end class ModelClasses - def controller_connection_details_list - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetailsList - end - def sku - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Sku - end - def error_response - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorResponse - end def controller_update_parameters Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerUpdateParameters end @@ -85,33 +76,42 @@ def resource_provider_operation_definition def resource_provider_operation_list Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ResourceProviderOperationList end + def sku + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Sku + end def controller_connection_details Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerConnectionDetails end - def resource - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Resource - end def controller_list Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ControllerList end def error_details Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::ErrorDetails end - def tracked_resource - Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::TrackedResource + def kubernetes_connection_details + Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::KubernetesConnectionDetails end def controller Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::Controller 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 end def sku_tier Azure::DevSpaces::Mgmt::V2018_06_01_preview::Models::SkuTier 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 end end end diff --git a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb index d2fa1e310d..50304f4e53 100644 --- a/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/devtestlabs_profile_module.rb @@ -7,9 +7,16 @@ module Azure::Profiles::Latest module DevTestLabs module Mgmt + Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets + VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules + Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users + VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks + VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines + Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks + Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations + Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies ProviderOperations = Azure::DevTestLabs::Mgmt::V2016_05_15::ProviderOperations Labs = Azure::DevTestLabs::Mgmt::V2016_05_15::Labs - Operations = Azure::DevTestLabs::Mgmt::V2016_05_15::Operations GlobalSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::GlobalSchedules ArtifactSources = Azure::DevTestLabs::Mgmt::V2016_05_15::ArtifactSources ArmTemplates = Azure::DevTestLabs::Mgmt::V2016_05_15::ArmTemplates @@ -17,25 +24,17 @@ module Mgmt Costs = Azure::DevTestLabs::Mgmt::V2016_05_15::Costs CustomImages = Azure::DevTestLabs::Mgmt::V2016_05_15::CustomImages Formulas = Azure::DevTestLabs::Mgmt::V2016_05_15::Formulas - GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages NotificationChannels = Azure::DevTestLabs::Mgmt::V2016_05_15::NotificationChannels PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets - Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies + GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners - Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users - Disks = Azure::DevTestLabs::Mgmt::V2016_05_15::Disks Environments = Azure::DevTestLabs::Mgmt::V2016_05_15::Environments - Secrets = Azure::DevTestLabs::Mgmt::V2016_05_15::Secrets - VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines - VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules - VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks module Models ExternalSubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExternalSubnetFragment GalleryImageReference = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReference DayDetails = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetails - InboundNatRule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule NotificationSettings = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettings SharedPublicIpAddressConfiguration = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfiguration ExportResourceUsageParameters = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExportResourceUsageParameters @@ -58,7 +57,6 @@ module Models FormulaPropertiesFromVm = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FormulaPropertiesFromVm ArtifactInstallPropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactInstallPropertiesFragment ResponseWithContinuationLabVhd = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationLabVhd - Subnet = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet UserSecretStoreFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserSecretStoreFragment AttachNewDataDiskOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachNewDataDiskOptions GalleryImageReferenceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImageReferenceFragment @@ -87,11 +85,9 @@ module Models SubnetOverrideFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetOverrideFragment PolicySetResult = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicySetResult SubnetSharedPublicIpAddressConfigurationFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfigurationFragment - Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event LabVhd = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVhd DayDetailsFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetailsFragment SubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetFragment - UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity SharedPublicIpAddressConfigurationFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfigurationFragment ResponseWithContinuationServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationServiceRunner NetworkInterfacePropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NetworkInterfacePropertiesFragment @@ -116,12 +112,10 @@ module Models EventFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EventFragment SubnetSharedPublicIpAddressConfiguration = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfiguration ApplyArtifactsRequest = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplyArtifactsRequest - Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port ArtifactParameterPropertiesFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterPropertiesFragment PortFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PortFragment ProviderOperationResult = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ProviderOperationResult CostThresholdProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties - Resource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource DetachDiskProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties ResponseWithContinuationArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArmTemplate EvaluatePoliciesResponse = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesResponse @@ -129,6 +123,7 @@ module Models ArmTemplateParameterProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplateParameterProperties ResponseWithContinuationArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationArtifactSource ComputeVmInstanceViewStatusFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatusFragment + Resource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource ResponseWithContinuationCustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationCustomImage EvaluatePoliciesProperties = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesProperties ResponseWithContinuationDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationDisk @@ -138,60 +133,65 @@ module Models ResponseWithContinuationFormula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationFormula CustomImagePropertiesCustom = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImagePropertiesCustom ResponseWithContinuationGalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage - Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule ApplicableSchedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule ScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment ApplicableScheduleFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableScheduleFragment ArmTemplate = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArmTemplate Artifact = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact - ArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource + InboundNatRule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule ArtifactSourceFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment - CustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage - Disk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk + ArtifactSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource DtlEnvironment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment - Formula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula - GalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage + CustomImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage Lab = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab + Formula = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula + Disk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk LabCost = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost + Subnet = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet + GalleryImage = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage + LabVirtualMachineFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment LabFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment LabVirtualMachine = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine - LabVirtualMachineFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment + PolicyFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment NotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel NotificationChannelFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment - Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy - PolicyFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment + UserFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner - User = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User - VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork - UserFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment + NotificationStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus VirtualNetworkFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus - NotificationStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus + CostThresholdStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus SourceControlType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType + Event = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event + VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + User = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User + LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState StorageType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType - CostThresholdStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus + HostCachingOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions WindowsOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState - LinuxOsState = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState + VirtualMachineCreationSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource CustomImageOsType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType - HostCachingOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions + PremiumDataDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk NotificationChannelEventType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelEventType TransportProtocol = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol - VirtualMachineCreationSource = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource FileUploadOptions = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions - PremiumDataDisk = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk + HttpStatusCode = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode TargetCostStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus ReportingCycleType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ReportingCycleType CostType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType - HttpStatusCode = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode - PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus PolicyFactName = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName PolicyEvaluatorType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyEvaluatorType UsagePermissionType = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType + PolicyStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus + UserIdentity = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity + Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy + Schedule = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule + Port = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port end class DevTestLabsManagementClass - attr_reader :provider_operations, :labs, :operations, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :policies, :schedules, :service_runners, :users, :disks, :environments, :secrets, :virtual_machines, :virtual_machine_schedules, :virtual_networks, :configurable, :base_url, :options, :model_classes + attr_reader :secrets, :virtual_machine_schedules, :users, :virtual_networks, :virtual_machines, :disks, :operations, :policies, :provider_operations, :labs, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :notification_channels, :policy_sets, :gallery_images, :schedules, :service_runners, :environments, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -201,9 +201,16 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @secrets = @client_0.secrets + @virtual_machine_schedules = @client_0.virtual_machine_schedules + @users = @client_0.users + @virtual_networks = @client_0.virtual_networks + @virtual_machines = @client_0.virtual_machines + @disks = @client_0.disks + @operations = @client_0.operations + @policies = @client_0.policies @provider_operations = @client_0.provider_operations @labs = @client_0.labs - @operations = @client_0.operations @global_schedules = @client_0.global_schedules @artifact_sources = @client_0.artifact_sources @arm_templates = @client_0.arm_templates @@ -211,19 +218,12 @@ def initialize(configurable, base_url=nil, options=nil) @costs = @client_0.costs @custom_images = @client_0.custom_images @formulas = @client_0.formulas - @gallery_images = @client_0.gallery_images @notification_channels = @client_0.notification_channels @policy_sets = @client_0.policy_sets - @policies = @client_0.policies + @gallery_images = @client_0.gallery_images @schedules = @client_0.schedules @service_runners = @client_0.service_runners - @users = @client_0.users - @disks = @client_0.disks @environments = @client_0.environments - @secrets = @client_0.secrets - @virtual_machines = @client_0.virtual_machines - @virtual_machine_schedules = @client_0.virtual_machine_schedules - @virtual_networks = @client_0.virtual_networks @model_classes = ModelClasses.new end @@ -251,9 +251,6 @@ def gallery_image_reference def day_details Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DayDetails end - def inbound_nat_rule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule - end def notification_settings Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettings end @@ -320,9 +317,6 @@ def artifact_install_properties_fragment def response_with_continuation_lab_vhd Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationLabVhd end - def subnet - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet - end def user_secret_store_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserSecretStoreFragment end @@ -407,9 +401,6 @@ def policy_set_result def subnet_shared_public_ip_address_configuration_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetSharedPublicIpAddressConfigurationFragment end - def event - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event - end def lab_vhd Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVhd end @@ -419,9 +410,6 @@ def day_details_fragment def subnet_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SubnetFragment end - def user_identity - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity - end def shared_public_ip_address_configuration_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SharedPublicIpAddressConfigurationFragment end @@ -494,9 +482,6 @@ def subnet_shared_public_ip_address_configuration def apply_artifacts_request Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplyArtifactsRequest end - def port - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port - end def artifact_parameter_properties_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactParameterPropertiesFragment end @@ -509,9 +494,6 @@ def provider_operation_result def cost_threshold_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdProperties end - def resource - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource - end def detach_disk_properties Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties end @@ -533,6 +515,9 @@ def response_with_continuation_artifact_source def compute_vm_instance_view_status_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ComputeVmInstanceViewStatusFragment end + def resource + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Resource + end def response_with_continuation_custom_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationCustomImage end @@ -560,9 +545,6 @@ def custom_image_properties_custom def response_with_continuation_gallery_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ResponseWithContinuationGalleryImage end - def schedule - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule - end def applicable_schedule Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplicableSchedule end @@ -578,32 +560,41 @@ def arm_template def artifact Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Artifact end - def artifact_source - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource + def inbound_nat_rule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::InboundNatRule end def artifact_source_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment end + def artifact_source + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource + end + def dtl_environment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment + end def custom_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage end + def lab + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab + end + def formula + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula + end def disk Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk end - def dtl_environment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment + def lab_cost + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost end - def formula - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula + def subnet + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet end def gallery_image Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GalleryImage end - def lab - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab - end - def lab_cost - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost + def lab_virtual_machine_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment end def lab_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment @@ -611,8 +602,8 @@ def lab_fragment 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 policy_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment end def notification_channel Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel @@ -620,11 +611,8 @@ def notification_channel def notification_channel_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment end - def policy - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy - end - def policy_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment + def user_fragment + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment end def secret Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret @@ -632,14 +620,8 @@ def secret def service_runner Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner end - def user - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User - end - def virtual_network - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork - end - def user_fragment - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment + def notification_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus end def virtual_network_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment @@ -647,29 +629,41 @@ def virtual_network_fragment def enable_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus end - def notification_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationStatus + def cost_threshold_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus end def source_control_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::SourceControlType end + def event + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event + end + def virtual_network + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + end + def user + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User + end + def linux_os_state + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState + end def storage_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::StorageType end - def cost_threshold_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostThresholdStatus + def host_caching_options + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions end def windows_os_state Azure::DevTestLabs::Mgmt::V2016_05_15::Models::WindowsOsState end - def linux_os_state - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LinuxOsState + def virtual_machine_creation_source + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource end def custom_image_os_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImageOsType end - def host_caching_options - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HostCachingOptions + 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 @@ -677,14 +671,11 @@ def notification_channel_event_type def transport_protocol Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TransportProtocol end - def virtual_machine_creation_source - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualMachineCreationSource - end def file_upload_options Azure::DevTestLabs::Mgmt::V2016_05_15::Models::FileUploadOptions end - def premium_data_disk - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PremiumDataDisk + def http_status_code + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode end def target_cost_status Azure::DevTestLabs::Mgmt::V2016_05_15::Models::TargetCostStatus @@ -695,12 +686,6 @@ def reporting_cycle_type def cost_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CostType end - def http_status_code - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::HttpStatusCode - end - def policy_status - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus - end def policy_fact_name Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFactName end @@ -710,6 +695,21 @@ def policy_evaluator_type def usage_permission_type Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UsagePermissionType end + def policy_status + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyStatus + end + def user_identity + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserIdentity + end + def policy + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy + end + def schedule + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule + end + def port + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Port + end end end end diff --git a/azure_sdk/lib/latest/modules/dns_profile_module.rb b/azure_sdk/lib/latest/modules/dns_profile_module.rb index 9eefb6b119..28a01670ab 100644 --- a/azure_sdk/lib/latest/modules/dns_profile_module.rb +++ b/azure_sdk/lib/latest/modules/dns_profile_module.rb @@ -12,28 +12,28 @@ module Mgmt module Models RecordSetUpdateParameters = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetUpdateParameters - ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord 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 - SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource PtrRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord - NsRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord SrvRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord CnameRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord - SoaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord - Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource RecordSet = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSet - ZoneUpdate = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate - TxtRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord ZoneListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult - AaaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord - CaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord + TxtRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord + NsRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord + SoaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord TrackedResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TrackedResource Zone = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone ProxyResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ProxyResource AzureEntityResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AzureEntityResource - ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType RecordType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType + Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource + ZoneUpdate = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate + CaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord + ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType + SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource end class DnsManagementClass @@ -70,53 +70,41 @@ class ModelClasses def record_set_update_parameters Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetUpdateParameters end - def arecord - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord - end 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 sub_resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource - end def ptr_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord end - def ns_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord - 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 soa_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord - end - def resource - Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource - end def record_set Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSet end - def zone_update - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate + def zone_list_result + Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult end def txt_record Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord end - def zone_list_result - Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult - end - def aaaa_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord + def ns_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord end - def caa_record - Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord + def soa_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord end def tracked_resource Azure::Dns::Mgmt::V2018_03_01_preview::Models::TrackedResource @@ -130,11 +118,23 @@ def proxy_resource def azure_entity_resource Azure::Dns::Mgmt::V2018_03_01_preview::Models::AzureEntityResource end + def record_type + Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType + end + def resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource + end + def zone_update + Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate + end + def caa_record + Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord + end def zone_type Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType end - def record_type - Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType + def sub_resource + Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource end end end diff --git a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb index 17698e5897..e3c1c1c741 100644 --- a/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/entitysearch_profile_module.rb @@ -9,25 +9,28 @@ module EntitySearch EntitiesOperations = Azure::CognitiveServices::EntitySearch::V1_0::EntitiesOperations module Models + EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType + Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities ResponseBase = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase QueryContext = Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext - ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule - EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo - Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error - ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response - Thing = Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse - Answer = Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer SearchResultsAnswer = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer - Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities - Places = Azure::CognitiveServices::EntitySearch::V1_0::Models::Places + Answer = Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable - ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse + CreativeWork = Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode + SafeSearch = Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch + ContractualRulesContractualRule = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule + EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + Places = Azure::CognitiveServices::EntitySearch::V1_0::Models::Places PostalAddress = Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress Place = Azure::CognitiveServices::EntitySearch::V1_0::Models::Place Organization = Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization - CreativeWork = Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork Intangible = Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible ContractualRulesAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject @@ -38,8 +41,8 @@ module Models License = Azure::CognitiveServices::EntitySearch::V1_0::Models::License StructuredValue = Azure::CognitiveServices::EntitySearch::V1_0::Models::StructuredValue EntertainmentBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntertainmentBusiness + Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error MovieTheater = Azure::CognitiveServices::EntitySearch::V1_0::Models::MovieTheater - ContractualRulesLicenseAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLicenseAttribution ContractualRulesLinkAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLinkAttribution ContractualRulesMediaAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesMediaAttribution ContractualRulesTextAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesTextAttribution @@ -49,12 +52,9 @@ module Models Hotel = Azure::CognitiveServices::EntitySearch::V1_0::Models::Hotel EntityQueryScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityQueryScenario EntityScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario - EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType - ErrorCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode + ContractualRulesLicenseAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLicenseAttribution AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat - SafeSearch = Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch end class EntitySearchDataClass @@ -87,50 +87,62 @@ def method_missing(method, *args) end class ModelClasses + def entity_type + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType + end + def entities + Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities + end def response_base Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase end def query_context Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext end - def contractual_rules_contractual_rule - Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule - end - def entities_entity_presentation_info - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo - end - def error - Azure::CognitiveServices::EntitySearch::V1_0::Models::Error - end - def image_object - Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + def error_response + Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse end def response Azure::CognitiveServices::EntitySearch::V1_0::Models::Response end - def thing - Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing - end def search_response Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse end - def answer - Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer - end def search_results_answer Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer end - def entities - Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities + def answer + Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer end - def places - Azure::CognitiveServices::EntitySearch::V1_0::Models::Places + def thing + Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing end def identifiable Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable end - def error_response - Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse + def creative_work + Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork + end + def error_code + Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode + end + def error_sub_code + Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode + end + def safe_search + Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch + end + def contractual_rules_contractual_rule + Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesContractualRule + end + def entities_entity_presentation_info + Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo + end + def image_object + Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject + end + def places + Azure::CognitiveServices::EntitySearch::V1_0::Models::Places end def postal_address Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress @@ -141,9 +153,6 @@ def place def organization Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization end - def creative_work - Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork - end def intangible Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible end @@ -174,12 +183,12 @@ def structured_value def entertainment_business Azure::CognitiveServices::EntitySearch::V1_0::Models::EntertainmentBusiness end + def error + Azure::CognitiveServices::EntitySearch::V1_0::Models::Error + 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 @@ -207,14 +216,8 @@ def entity_query_scenario def entity_scenario Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario end - def entity_type - Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType - end - def error_code - Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode + def contractual_rules_license_attribution + Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLicenseAttribution end def answer_type Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType @@ -222,9 +225,6 @@ def answer_type def response_format Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat end - def safe_search - Azure::CognitiveServices::EntitySearch::V1_0::Models::SafeSearch - 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 95abdc050e..2007f980cf 100644 --- a/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventgrid_profile_module.rb @@ -187,30 +187,12 @@ def job_state end end module Mgmt + TopicTypes = Azure::EventGrid::Mgmt::V2018_05_01_preview::TopicTypes EventSubscriptions = Azure::EventGrid::Mgmt::V2018_05_01_preview::EventSubscriptions Operations = Azure::EventGrid::Mgmt::V2018_05_01_preview::Operations Topics = Azure::EventGrid::Mgmt::V2018_05_01_preview::Topics - TopicTypes = Azure::EventGrid::Mgmt::V2018_05_01_preview::TopicTypes module Models - Operation = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation - OperationsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult - EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter - InputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchemaMapping - DeadLetterDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::DeadLetterDestination - JsonField = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonField - EventSubscriptionsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionsListResult - OperationInfo = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationInfo - EventTypesListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventTypesListResult - EventSubscriptionDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionDestination - TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicSharedAccessKeys - RetryPolicy = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::RetryPolicy - EventSubscriptionFullUrl = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl - Resource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource - TopicRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest - TopicsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicsListResult - TopicTypesListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypesListResult - JsonFieldWithDefault = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonFieldWithDefault EventSubscriptionUpdateParameters = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionUpdateParameters TopicUpdateParameters = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicUpdateParameters StorageBlobDeadLetterDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::StorageBlobDeadLetterDestination @@ -220,7 +202,6 @@ module Models HybridConnectionEventSubscriptionDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::HybridConnectionEventSubscriptionDestination EventSubscription = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscription JsonInputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonInputSchemaMapping - TrackedResource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource Topic = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic EventType = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventType TopicTypeInfo = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeInfo @@ -230,10 +211,29 @@ module Models InputSchema = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchema ResourceRegionType = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::ResourceRegionType TopicTypeProvisioningState = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState + OperationsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult + TrackedResource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource + Resource = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource + Operation = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation + EventSubscriptionFilter = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter + InputSchemaMapping = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchemaMapping + DeadLetterDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::DeadLetterDestination + JsonField = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonField + EventSubscriptionsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionsListResult + OperationInfo = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationInfo + EventTypesListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventTypesListResult + EventSubscriptionDestination = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionDestination + TopicSharedAccessKeys = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicSharedAccessKeys + RetryPolicy = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::RetryPolicy + EventSubscriptionFullUrl = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl + TopicRegenerateKeyRequest = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest + TopicsListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicsListResult + TopicTypesListResult = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypesListResult + JsonFieldWithDefault = Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonFieldWithDefault end class EventGridManagementClass - attr_reader :event_subscriptions, :operations, :topics, :topic_types, :configurable, :base_url, :options, :model_classes + attr_reader :topic_types, :event_subscriptions, :operations, :topics, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -243,10 +243,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @topic_types = @client_0.topic_types @event_subscriptions = @client_0.event_subscriptions @operations = @client_0.operations @topics = @client_0.topics - @topic_types = @client_0.topic_types @model_classes = ModelClasses.new end @@ -265,60 +265,6 @@ def method_missing(method, *args) end class ModelClasses - def operation - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation - end - def operations_list_result - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult - end - def event_subscription_filter - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter - end - def input_schema_mapping - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchemaMapping - end - def dead_letter_destination - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::DeadLetterDestination - end - def json_field - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonField - end - def event_subscriptions_list_result - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionsListResult - end - def operation_info - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationInfo - end - def event_types_list_result - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventTypesListResult - end - def event_subscription_destination - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionDestination - end - def topic_shared_access_keys - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicSharedAccessKeys - end - def retry_policy - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::RetryPolicy - end - def event_subscription_full_url - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl - end - def resource - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource - end - def topic_regenerate_key_request - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest - end - def topics_list_result - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicsListResult - end - def topic_types_list_result - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypesListResult - end - def json_field_with_default - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonFieldWithDefault - end def event_subscription_update_parameters Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionUpdateParameters end @@ -346,9 +292,6 @@ def event_subscription def json_input_schema_mapping Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonInputSchemaMapping end - def tracked_resource - Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource - end def topic Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Topic end @@ -376,6 +319,63 @@ def resource_region_type def topic_type_provisioning_state Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypeProvisioningState end + def operations_list_result + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationsListResult + end + def tracked_resource + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TrackedResource + end + def resource + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Resource + end + def operation + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::Operation + end + def event_subscription_filter + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFilter + end + def input_schema_mapping + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchemaMapping + end + def dead_letter_destination + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::DeadLetterDestination + end + def json_field + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonField + end + def event_subscriptions_list_result + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionsListResult + end + def operation_info + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::OperationInfo + end + def event_types_list_result + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventTypesListResult + end + def event_subscription_destination + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionDestination + end + def topic_shared_access_keys + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicSharedAccessKeys + end + def retry_policy + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::RetryPolicy + end + def event_subscription_full_url + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::EventSubscriptionFullUrl + end + def topic_regenerate_key_request + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicRegenerateKeyRequest + end + def topics_list_result + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicsListResult + end + def topic_types_list_result + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::TopicTypesListResult + end + def json_field_with_default + Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::JsonFieldWithDefault + end end end end diff --git a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb index a5450d9115..193fe26907 100644 --- a/azure_sdk/lib/latest/modules/eventhub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/eventhub_profile_module.rb @@ -7,20 +7,21 @@ module Azure::Profiles::Latest module EventHub module Mgmt - Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces + Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations module Models - ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties - OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay - ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse - OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult - Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource + OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay + SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier Operation = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation + OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku + VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule + 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 IpFilterRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult ClusterSku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku @@ -29,14 +30,13 @@ module Models Cluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule - VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule - SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName - SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction + Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource + SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName end class EventHubManagementClass - attr_reader :operations, :clusters, :configuration, :namespaces, :configurable, :base_url, :options, :model_classes + attr_reader :clusters, :configuration, :namespaces, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -46,10 +46,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @clusters = @client_0.clusters @configuration = @client_0.configuration @namespaces = @client_0.namespaces + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -68,29 +68,32 @@ def method_missing(method, *args) end class ModelClasses - def cluster_quota_configuration_properties - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties + def virtual_network_rule_list_result + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult end def operation_display Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay end - def error_response - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse + def sku_tier + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier + end + def operation + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation 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 + def sku + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku end - def resource - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource + def virtual_network_rule + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule end - def operation - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation + def error_response + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse end - def sku - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku + def cluster_quota_configuration_properties + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties end def cluster_list_result Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult @@ -116,18 +119,15 @@ def ehnamespace def ip_filter_rule Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule end - def virtual_network_rule - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule + def ipaction + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction + end + def resource + Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource end def sku_name Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName end - def sku_tier - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier - end - def ipaction - Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction - 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 49fe08428f..a61ae1a3ef 100644 --- a/azure_sdk/lib/latest/modules/face_profile_module.rb +++ b/azure_sdk/lib/latest/modules/face_profile_module.rb @@ -6,16 +6,16 @@ module Azure::Profiles::Latest module Face - Face = Azure::CognitiveServices::Face::V1_0::Face + FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson + Face = Azure::CognitiveServices::Face::V1_0::Face PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations - FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations module Models - FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest Error = Azure::CognitiveServices::Face::V1_0::Models::Error + APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError + FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest SimilarFace = Azure::CognitiveServices::Face::V1_0::Models::SimilarFace - FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle GroupRequest = Azure::CognitiveServices::Face::V1_0::Models::GroupRequest FaceLandmarks = Azure::CognitiveServices::Face::V1_0::Models::FaceLandmarks GroupResult = Azure::CognitiveServices::Face::V1_0::Models::GroupResult @@ -29,27 +29,27 @@ module Models VerifyFaceToPersonRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToPersonRequest Exposure = Azure::CognitiveServices::Face::V1_0::Models::Exposure VerifyFaceToFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest + FaceRectangle = Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle FaceAttributes = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes - VerifyResult = Azure::CognitiveServices::Face::V1_0::Models::VerifyResult - APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError PersistedFace = Azure::CognitiveServices::Face::V1_0::Models::PersistedFace FacialHair = Azure::CognitiveServices::Face::V1_0::Models::FacialHair + VerifyResult = Azure::CognitiveServices::Face::V1_0::Models::VerifyResult Coordinate = Azure::CognitiveServices::Face::V1_0::Models::Coordinate Emotion = Azure::CognitiveServices::Face::V1_0::Models::Emotion Occlusion = Azure::CognitiveServices::Face::V1_0::Models::Occlusion Noise = Azure::CognitiveServices::Face::V1_0::Models::Noise - ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl Hair = Azure::CognitiveServices::Face::V1_0::Models::Hair NameAndUserDataContract = Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract - DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace + ImageUrl = Azure::CognitiveServices::Face::V1_0::Models::ImageUrl UpdatePersonFaceRequest = Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest - Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur + DetectedFace = Azure::CognitiveServices::Face::V1_0::Models::DetectedFace TrainingStatus = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus - FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList + Blur = Azure::CognitiveServices::Face::V1_0::Models::Blur PersonGroup = Azure::CognitiveServices::Face::V1_0::Models::PersonGroup + FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList + GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType Person = Azure::CognitiveServices::Face::V1_0::Models::Person Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender - GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel @@ -61,7 +61,7 @@ module Models end class FaceDataClass - attr_reader :face, :person_group_person, :person_group_operations, :face_list_operations, :configurable, :base_url, :options, :model_classes + attr_reader :face_list_operations, :person_group_person, :face, :person_group_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -71,10 +71,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @face = @client_0.face + @face_list_operations = @client_0.face_list_operations @person_group_person = @client_0.person_group_person + @face = @client_0.face @person_group_operations = @client_0.person_group_operations - @face_list_operations = @client_0.face_list_operations @model_classes = ModelClasses.new end @@ -93,18 +93,18 @@ def method_missing(method, *args) end class ModelClasses - def find_similar_request - Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest - end def error Azure::CognitiveServices::Face::V1_0::Models::Error end + def apierror + Azure::CognitiveServices::Face::V1_0::Models::APIError + 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 face_rectangle - Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle - end def group_request Azure::CognitiveServices::Face::V1_0::Models::GroupRequest end @@ -144,21 +144,21 @@ def exposure def verify_face_to_face_request Azure::CognitiveServices::Face::V1_0::Models::VerifyFaceToFaceRequest end + def face_rectangle + Azure::CognitiveServices::Face::V1_0::Models::FaceRectangle + end def face_attributes Azure::CognitiveServices::Face::V1_0::Models::FaceAttributes end - def verify_result - Azure::CognitiveServices::Face::V1_0::Models::VerifyResult - end - def apierror - Azure::CognitiveServices::Face::V1_0::Models::APIError - end def persisted_face Azure::CognitiveServices::Face::V1_0::Models::PersistedFace end def facial_hair Azure::CognitiveServices::Face::V1_0::Models::FacialHair end + def verify_result + Azure::CognitiveServices::Face::V1_0::Models::VerifyResult + end def coordinate Azure::CognitiveServices::Face::V1_0::Models::Coordinate end @@ -171,42 +171,42 @@ def occlusion def noise Azure::CognitiveServices::Face::V1_0::Models::Noise end - def image_url - Azure::CognitiveServices::Face::V1_0::Models::ImageUrl - end def hair Azure::CognitiveServices::Face::V1_0::Models::Hair end def name_and_user_data_contract Azure::CognitiveServices::Face::V1_0::Models::NameAndUserDataContract end - def detected_face - Azure::CognitiveServices::Face::V1_0::Models::DetectedFace + def image_url + Azure::CognitiveServices::Face::V1_0::Models::ImageUrl end def update_person_face_request Azure::CognitiveServices::Face::V1_0::Models::UpdatePersonFaceRequest end - def blur - Azure::CognitiveServices::Face::V1_0::Models::Blur + def detected_face + Azure::CognitiveServices::Face::V1_0::Models::DetectedFace end def training_status Azure::CognitiveServices::Face::V1_0::Models::TrainingStatus end - def face_list - Azure::CognitiveServices::Face::V1_0::Models::FaceList + def blur + Azure::CognitiveServices::Face::V1_0::Models::Blur end def person_group Azure::CognitiveServices::Face::V1_0::Models::PersonGroup end + def face_list + Azure::CognitiveServices::Face::V1_0::Models::FaceList + end + def glasses_type + Azure::CognitiveServices::Face::V1_0::Models::GlassesType + end def person Azure::CognitiveServices::Face::V1_0::Models::Person end def gender Azure::CognitiveServices::Face::V1_0::Models::Gender end - def glasses_type - Azure::CognitiveServices::Face::V1_0::Models::GlassesType - end def hair_color_type Azure::CognitiveServices::Face::V1_0::Models::HairColorType end diff --git a/azure_sdk/lib/latest/modules/features_profile_module.rb b/azure_sdk/lib/latest/modules/features_profile_module.rb index b35902ef72..7f6cea3857 100644 --- a/azure_sdk/lib/latest/modules/features_profile_module.rb +++ b/azure_sdk/lib/latest/modules/features_profile_module.rb @@ -10,12 +10,12 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models - OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay - FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation - FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult - OperationListResult = Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult 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 end class FeaturesManagementClass @@ -48,23 +48,23 @@ def method_missing(method, *args) end class ModelClasses - def operation_display - Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay - end - def feature_properties - Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties - end def operation Azure::Features::Mgmt::V2015_12_01::Models::Operation end - def feature_operations_list_result - Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult + 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 - def feature_result - Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult + def feature_properties + Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties + end + def operation_display + Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay + end + def feature_operations_list_result + Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult end end end diff --git a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb index fada59715e..eba90f0826 100644 --- a/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb +++ b/azure_sdk/lib/latest/modules/graphrbac_profile_module.rb @@ -10,56 +10,56 @@ module GraphRbac Applications = Azure::GraphRbac::V1_6::Applications Groups = Azure::GraphRbac::V1_6::Groups ServicePrincipals = Azure::GraphRbac::V1_6::ServicePrincipals - Users = Azure::GraphRbac::V1_6::Users Domains = Azure::GraphRbac::V1_6::Domains + Users = Azure::GraphRbac::V1_6::Users module Models + PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile + PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential + GetObjectsResult = Azure::GraphRbac::V1_6::Models::GetObjectsResult + UserBase = Azure::GraphRbac::V1_6::Models::UserBase + DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult + Domain = Azure::GraphRbac::V1_6::Models::Domain + AADObject = Azure::GraphRbac::V1_6::Models::AADObject + GetObjectsParameters = Azure::GraphRbac::V1_6::Models::GetObjectsParameters + RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess + SignInName = Azure::GraphRbac::V1_6::Models::SignInName + PasswordCredentialListResult = Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult + UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult + ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters + UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters + DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject + ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal + ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup + UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters + User = Azure::GraphRbac::V1_6::Models::User + UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters + UserType = Azure::GraphRbac::V1_6::Models::UserType + Application = Azure::GraphRbac::V1_6::Models::Application + GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters GroupAddMemberParameters = Azure::GraphRbac::V1_6::Models::GroupAddMemberParameters GraphError = Azure::GraphRbac::V1_6::Models::GraphError - GroupCreateParameters = Azure::GraphRbac::V1_6::Models::GroupCreateParameters KeyCredential = Azure::GraphRbac::V1_6::Models::KeyCredential ResourceAccess = Azure::GraphRbac::V1_6::Models::ResourceAccess GroupListResult = Azure::GraphRbac::V1_6::Models::GroupListResult ApplicationCreateParameters = Azure::GraphRbac::V1_6::Models::ApplicationCreateParameters GroupGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::GroupGetMemberGroupsParameters UserGetMemberGroupsResult = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult - ApplicationListResult = Azure::GraphRbac::V1_6::Models::ApplicationListResult + ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters 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 + KeyCredentialListResult = Azure::GraphRbac::V1_6::Models::KeyCredentialListResult CheckGroupMembershipResult = Azure::GraphRbac::V1_6::Models::CheckGroupMembershipResult - PasswordCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters + KeyCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters ServicePrincipalCreateParameters = Azure::GraphRbac::V1_6::Models::ServicePrincipalCreateParameters - GetObjectsResult = Azure::GraphRbac::V1_6::Models::GetObjectsResult + PasswordCredentialsUpdateParameters = Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters DomainListResult = Azure::GraphRbac::V1_6::Models::DomainListResult - PasswordCredential = Azure::GraphRbac::V1_6::Models::PasswordCredential ServicePrincipalListResult = Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult - ApplicationUpdateParameters = Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters - PasswordProfile = Azure::GraphRbac::V1_6::Models::PasswordProfile - DirectoryObjectListResult = Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult - UserBase = Azure::GraphRbac::V1_6::Models::UserBase - AADObject = Azure::GraphRbac::V1_6::Models::AADObject - Domain = Azure::GraphRbac::V1_6::Models::Domain - RequiredResourceAccess = Azure::GraphRbac::V1_6::Models::RequiredResourceAccess - GetObjectsParameters = Azure::GraphRbac::V1_6::Models::GetObjectsParameters - PasswordCredentialListResult = Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult - SignInName = Azure::GraphRbac::V1_6::Models::SignInName - ApplicationAddOwnerParameters = Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters - UserListResult = Azure::GraphRbac::V1_6::Models::UserListResult - DirectoryObject = Azure::GraphRbac::V1_6::Models::DirectoryObject - UserGetMemberGroupsParameters = Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters - Application = Azure::GraphRbac::V1_6::Models::Application - ADGroup = Azure::GraphRbac::V1_6::Models::ADGroup - ServicePrincipal = Azure::GraphRbac::V1_6::Models::ServicePrincipal - UserCreateParameters = Azure::GraphRbac::V1_6::Models::UserCreateParameters - UserUpdateParameters = Azure::GraphRbac::V1_6::Models::UserUpdateParameters - User = Azure::GraphRbac::V1_6::Models::User - UserType = Azure::GraphRbac::V1_6::Models::UserType end class GraphRbacDataClass - attr_reader :objects, :applications, :groups, :service_principals, :users, :domains, :configurable, :base_url, :options, :model_classes + attr_reader :objects, :applications, :groups, :service_principals, :domains, :users, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -73,8 +73,8 @@ def initialize(configurable, base_url=nil, options=nil) @applications = @client_0.applications @groups = @client_0.groups @service_principals = @client_0.service_principals - @users = @client_0.users @domains = @client_0.domains + @users = @client_0.users @model_classes = ModelClasses.new end @@ -93,15 +93,81 @@ def method_missing(method, *args) end class ModelClasses + def password_profile + Azure::GraphRbac::V1_6::Models::PasswordProfile + end + def password_credential + Azure::GraphRbac::V1_6::Models::PasswordCredential + end + def get_objects_result + Azure::GraphRbac::V1_6::Models::GetObjectsResult + end + def user_base + Azure::GraphRbac::V1_6::Models::UserBase + end + def directory_object_list_result + Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult + end + def domain + Azure::GraphRbac::V1_6::Models::Domain + end + def aadobject + Azure::GraphRbac::V1_6::Models::AADObject + end + def get_objects_parameters + Azure::GraphRbac::V1_6::Models::GetObjectsParameters + end + def required_resource_access + Azure::GraphRbac::V1_6::Models::RequiredResourceAccess + end + def sign_in_name + Azure::GraphRbac::V1_6::Models::SignInName + end + def password_credential_list_result + Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult + end + def user_list_result + Azure::GraphRbac::V1_6::Models::UserListResult + end + def application_add_owner_parameters + Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters + end + def user_get_member_groups_parameters + Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters + end + def directory_object + Azure::GraphRbac::V1_6::Models::DirectoryObject + end + def service_principal + Azure::GraphRbac::V1_6::Models::ServicePrincipal + end + def adgroup + Azure::GraphRbac::V1_6::Models::ADGroup + end + def user_update_parameters + Azure::GraphRbac::V1_6::Models::UserUpdateParameters + end + def user + Azure::GraphRbac::V1_6::Models::User + end + def user_create_parameters + Azure::GraphRbac::V1_6::Models::UserCreateParameters + end + def user_type + Azure::GraphRbac::V1_6::Models::UserType + end + def application + Azure::GraphRbac::V1_6::Models::Application + 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 - def group_create_parameters - Azure::GraphRbac::V1_6::Models::GroupCreateParameters - end def key_credential Azure::GraphRbac::V1_6::Models::KeyCredential end @@ -120,105 +186,39 @@ def group_get_member_groups_parameters def user_get_member_groups_result Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsResult end - def application_list_result - Azure::GraphRbac::V1_6::Models::ApplicationListResult + def application_update_parameters + Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters 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 + def application_list_result + Azure::GraphRbac::V1_6::Models::ApplicationListResult end def check_group_membership_parameters Azure::GraphRbac::V1_6::Models::CheckGroupMembershipParameters end - def key_credentials_update_parameters - Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters + def key_credential_list_result + Azure::GraphRbac::V1_6::Models::KeyCredentialListResult end def check_group_membership_result Azure::GraphRbac::V1_6::Models::CheckGroupMembershipResult end - def password_credentials_update_parameters - Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters + def key_credentials_update_parameters + Azure::GraphRbac::V1_6::Models::KeyCredentialsUpdateParameters end def service_principal_create_parameters Azure::GraphRbac::V1_6::Models::ServicePrincipalCreateParameters end - def get_objects_result - Azure::GraphRbac::V1_6::Models::GetObjectsResult + def password_credentials_update_parameters + Azure::GraphRbac::V1_6::Models::PasswordCredentialsUpdateParameters end def domain_list_result Azure::GraphRbac::V1_6::Models::DomainListResult end - def password_credential - Azure::GraphRbac::V1_6::Models::PasswordCredential - end def service_principal_list_result Azure::GraphRbac::V1_6::Models::ServicePrincipalListResult end - def application_update_parameters - Azure::GraphRbac::V1_6::Models::ApplicationUpdateParameters - end - def password_profile - Azure::GraphRbac::V1_6::Models::PasswordProfile - end - def directory_object_list_result - Azure::GraphRbac::V1_6::Models::DirectoryObjectListResult - end - def user_base - Azure::GraphRbac::V1_6::Models::UserBase - end - def aadobject - Azure::GraphRbac::V1_6::Models::AADObject - end - def domain - Azure::GraphRbac::V1_6::Models::Domain - end - def required_resource_access - Azure::GraphRbac::V1_6::Models::RequiredResourceAccess - end - def get_objects_parameters - Azure::GraphRbac::V1_6::Models::GetObjectsParameters - end - def password_credential_list_result - Azure::GraphRbac::V1_6::Models::PasswordCredentialListResult - end - def sign_in_name - Azure::GraphRbac::V1_6::Models::SignInName - end - def application_add_owner_parameters - Azure::GraphRbac::V1_6::Models::ApplicationAddOwnerParameters - end - def user_list_result - Azure::GraphRbac::V1_6::Models::UserListResult - end - def directory_object - Azure::GraphRbac::V1_6::Models::DirectoryObject - end - def user_get_member_groups_parameters - Azure::GraphRbac::V1_6::Models::UserGetMemberGroupsParameters - end - def application - Azure::GraphRbac::V1_6::Models::Application - end - def adgroup - Azure::GraphRbac::V1_6::Models::ADGroup - end - def service_principal - Azure::GraphRbac::V1_6::Models::ServicePrincipal - end - def user_create_parameters - Azure::GraphRbac::V1_6::Models::UserCreateParameters - end - def user_update_parameters - Azure::GraphRbac::V1_6::Models::UserUpdateParameters - end - def user - Azure::GraphRbac::V1_6::Models::User - end - def user_type - Azure::GraphRbac::V1_6::Models::UserType - end end end end diff --git a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb index 5dbb122fb9..900de597dc 100644 --- a/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/imagesearch_profile_module.rb @@ -9,62 +9,62 @@ module ImageSearch ImagesOperations = Azure::CognitiveServices::ImageSearch::V1_0::ImagesOperations module Models + ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase + Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage + ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse + Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response + SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer + Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable + Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer + Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing + CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork + ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode + ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization + Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible + MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue + Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error RelatedSearchesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule InsightsTag = Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag RecognizedEntitiesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntitiesModule PropertiesItem = Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem RecognizedEntityGroup = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup TrendingImagesCategory = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory - Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query PivotSuggestions = Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions RelatedCollectionsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedCollectionsModule ImageTagsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule RecipesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecipesModule ImagesImageMetadata = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesImageMetadata ImageInsightsImageCaption = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption - ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase - Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error TrendingImagesTile = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile ImagesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule - Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing - Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization AggregateRating = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating Offer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer AggregateOffer = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer - MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer - Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images - Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response - Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer - CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork - ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse ImageGallery = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery - Recipe = Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe + Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images NormalizedRectangle = Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle RecognizedEntity = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity + Recipe = Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion - ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights TrendingImages = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages - WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage - Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating + ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights CollectionPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage - StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability - ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode ImageAspect = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect ImageColor = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness ImageContent = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent - ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense - SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize + ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule end @@ -99,6 +99,63 @@ def method_missing(method, *args) end class ModelClasses + def response_base + Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase + end + def query + Azure::CognitiveServices::ImageSearch::V1_0::Models::Query + end + def web_page + Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage + end + def error_response + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse + end + def response + Azure::CognitiveServices::ImageSearch::V1_0::Models::Response + end + def search_results_answer + Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer + end + def identifiable + Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable + end + def answer + Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer + end + def thing + Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing + end + def creative_work + Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork + end + def error_code + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode + end + def error_sub_code + Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode + end + def safe_search + Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch + end + def image_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject + end + def organization + Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization + end + def intangible + Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible + end + def media_object + Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject + end + def structured_value + Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue + end + def error + Azure::CognitiveServices::ImageSearch::V1_0::Models::Error + end def related_searches_module Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule end @@ -117,9 +174,6 @@ def recognized_entity_group def trending_images_category Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory end - def query - Azure::CognitiveServices::ImageSearch::V1_0::Models::Query - end def pivot_suggestions Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions end @@ -138,24 +192,12 @@ def images_image_metadata def image_insights_image_caption Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption end - def response_base - Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase - end - def error - Azure::CognitiveServices::ImageSearch::V1_0::Models::Error - end def trending_images_tile Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile end def images_module Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule end - def thing - Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing - end - def organization - Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization - end def aggregate_rating Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating end @@ -165,38 +207,11 @@ def offer def aggregate_offer Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer end - def media_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject - end - def image_object - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject - end - def search_results_answer - Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer - end - def images - Azure::CognitiveServices::ImageSearch::V1_0::Models::Images - end - def identifiable - Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable - end - def response - Azure::CognitiveServices::ImageSearch::V1_0::Models::Response - end - def answer - Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer - end - def creative_work - Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork - end - def error_response - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse - end def image_gallery Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery end - def recipe - Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe + def images + Azure::CognitiveServices::ImageSearch::V1_0::Models::Images end def normalized_rectangle Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle @@ -204,45 +219,30 @@ def normalized_rectangle def recognized_entity Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity end + def recipe + Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe + end def recognized_entity_region Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion end - def image_insights - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights - end def trending_images Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages end - def web_page - Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage - end - def person - Azure::CognitiveServices::ImageSearch::V1_0::Models::Person - end - def intangible - Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible - end def rating Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating end + def image_insights + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights + end def collection_page Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage end - def structured_value - Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue - end def currency Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency end def item_availability Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability end - def error_code - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode - end def image_aspect Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect end @@ -255,18 +255,18 @@ def freshness def image_content Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent end - def image_type - Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType - end def image_license Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense end - def safe_search - Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch - end def image_size Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize end + def image_type + Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType + end + def person + Azure::CognitiveServices::ImageSearch::V1_0::Models::Person + end def image_crop_type Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType end diff --git a/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb b/azure_sdk/lib/latest/modules/iotcentral_profile_module.rb index 5ae1a3fa37..1cba812b75 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 Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations module Models - AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult + ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay - AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation - ErrorDetails = Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult - Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource + AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult + AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo AppNameAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameAvailabilityInfo App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku AppNameUnavailabilityReason = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameUnavailabilityReason + Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource end class IotCentralManagementClass @@ -57,26 +57,23 @@ def method_missing(method, *args) end class ModelClasses - def app_list_result - Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult + def error_details + Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails end def operation_display Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay end - def app_patch - Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch - end def operation Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation end - def error_details - Azure::IotCentral::Mgmt::V2018_09_01::Models::ErrorDetails - end def operation_list_result Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult end - def resource - Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource + def app_list_result + Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult + end + def app_patch + Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch end def operation_inputs Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs @@ -96,6 +93,9 @@ def app_sku def app_name_unavailability_reason Azure::IotCentral::Mgmt::V2018_09_01::Models::AppNameUnavailabilityReason end + def resource + Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource + 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 af6e3b6a7e..332c2bdcc8 100644 --- a/azure_sdk/lib/latest/modules/iothub_profile_module.rb +++ b/azure_sdk/lib/latest/modules/iothub_profile_module.rb @@ -7,13 +7,55 @@ module Azure::Profiles::Latest module IotHub module Mgmt - Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations + Certificates = Azure::IotHub::Mgmt::V2018_04_01::Certificates IotHubResource = Azure::IotHub::Mgmt::V2018_04_01::IotHubResource ResourceProviderCommon = Azure::IotHub::Mgmt::V2018_04_01::ResourceProviderCommon - Certificates = Azure::IotHub::Mgmt::V2018_04_01::Certificates + Operations = Azure::IotHub::Mgmt::V2018_04_01::Operations module Models - ErrorDetails = Azure::IotHub::Mgmt::V2018_04_01::Models::ErrorDetails + StorageEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties + TestAllRoutesInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput + OperationsMonitoringProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties + MatchedRoute = Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute + CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateWithNonceDescription + SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult + RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusQueueEndpointProperties + IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameAvailabilityInfo + TestAllRoutesResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult + CertificateVerificationDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateVerificationDescription + OperationDisplay = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay + RouteErrorPosition = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition + FallbackRouteProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FallbackRouteProperties + TestRouteInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteInput + IotHubSkuInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo + RouteCompilationError = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteCompilationError + RouteErrorRange = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorRange + TestRouteResultDetails = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResultDetails + FeedbackProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FeedbackProperties + CertificateBodyDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateBodyDescription + RoutingEventHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEventHubProperties + ExportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ExportDevicesRequest + TestRouteResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult + IotHubDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescription + AccessRights = Azure::IotHub::Mgmt::V2018_04_01::Models::AccessRights + ImportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ImportDevicesRequest + RoutingSource = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource + OperationMonitoringLevel = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationMonitoringLevel + IpFilterActionType = Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterActionType + IotHubSku = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku + IotHubSkuTier = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuTier + Operation = Azure::IotHub::Mgmt::V2018_04_01::Models::Operation + Name = Azure::IotHub::Mgmt::V2018_04_01::Models::Name + IotHubScaleType = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubScaleType + EndpointHealthStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthStatus + Capabilities = Azure::IotHub::Mgmt::V2018_04_01::Models::Capabilities + RouteErrorSeverity = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorSeverity + IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameUnavailabilityReason + TestResultStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::TestResultStatus + JobType = Azure::IotHub::Mgmt::V2018_04_01::Models::JobType + JobStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus + IpFilterRule = Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule + OperationInputs = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs IotHubQuotaMetricInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfo CertificateProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateProperties IotHubQuotaMetricInfoListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfoListResult @@ -21,6 +63,7 @@ module Models EndpointHealthData = Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthData CertificatePropertiesWithNonce = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificatePropertiesWithNonce EndpointHealthDataListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthDataListResult + ErrorDetails = Azure::IotHub::Mgmt::V2018_04_01::Models::ErrorDetails SharedAccessSignatureAuthorizationRule = Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRule RegistryStatistics = Azure::IotHub::Mgmt::V2018_04_01::Models::RegistryStatistics EventHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubProperties @@ -39,61 +82,18 @@ module Models EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::EventHubConsumerGroupsListResult IotHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubProperties IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescriptionListResult - Resource = Azure::IotHub::Mgmt::V2018_04_01::Models::Resource IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescriptionListResult - OperationDisplay = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay - OperationInputs = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs OperationListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationListResult - IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameAvailabilityInfo - CertificateDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateDescription - Name = Azure::IotHub::Mgmt::V2018_04_01::Models::Name - CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateWithNonceDescription + Resource = Azure::IotHub::Mgmt::V2018_04_01::Models::Resource UserSubscriptionQuota = Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota - RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusQueueEndpointProperties + CertificateDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateDescription UserSubscriptionQuotaListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuotaListResult RoutingEndpoints = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEndpoints RoutingMessage = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingMessage - StorageEndpointProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties - TestAllRoutesInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput - OperationsMonitoringProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties - MatchedRoute = Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute - SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult - TestAllRoutesResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult - CertificateVerificationDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateVerificationDescription - TestRouteInput = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteInput - IpFilterRule = Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule - RouteErrorPosition = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition - FallbackRouteProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FallbackRouteProperties - RouteErrorRange = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorRange - IotHubSkuInfo = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo - RouteCompilationError = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteCompilationError - CertificateBodyDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateBodyDescription - TestRouteResultDetails = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResultDetails - FeedbackProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::FeedbackProperties - TestRouteResult = Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult - RoutingEventHubProperties = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEventHubProperties - ExportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ExportDevicesRequest - Operation = Azure::IotHub::Mgmt::V2018_04_01::Models::Operation - ImportDevicesRequest = Azure::IotHub::Mgmt::V2018_04_01::Models::ImportDevicesRequest - IotHubDescription = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescription - AccessRights = Azure::IotHub::Mgmt::V2018_04_01::Models::AccessRights - IpFilterActionType = Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterActionType - RoutingSource = Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource - OperationMonitoringLevel = Azure::IotHub::Mgmt::V2018_04_01::Models::OperationMonitoringLevel - Capabilities = Azure::IotHub::Mgmt::V2018_04_01::Models::Capabilities - IotHubSku = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku - IotHubSkuTier = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuTier - EndpointHealthStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthStatus - JobType = Azure::IotHub::Mgmt::V2018_04_01::Models::JobType - JobStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus - IotHubScaleType = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubScaleType - IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameUnavailabilityReason - TestResultStatus = Azure::IotHub::Mgmt::V2018_04_01::Models::TestResultStatus - RouteErrorSeverity = Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorSeverity end class IotHubManagementClass - attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :configurable, :base_url, :options, :model_classes + attr_reader :certificates, :iot_hub_resource, :resource_provider_common, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -103,10 +103,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations + @certificates = @client_0.certificates @iot_hub_resource = @client_0.iot_hub_resource @resource_provider_common = @client_0.resource_provider_common - @certificates = @client_0.certificates + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -125,8 +125,134 @@ def method_missing(method, *args) end class ModelClasses - def error_details - Azure::IotHub::Mgmt::V2018_04_01::Models::ErrorDetails + def storage_endpoint_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties + end + def test_all_routes_input + Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput + end + def operations_monitoring_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties + end + def matched_route + Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute + end + def certificate_with_nonce_description + Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateWithNonceDescription + end + def shared_access_signature_authorization_rule_list_result + Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult + end + def routing_service_bus_queue_endpoint_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusQueueEndpointProperties + end + def iot_hub_name_availability_info + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameAvailabilityInfo + end + def test_all_routes_result + Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult + end + def certificate_verification_description + Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateVerificationDescription + end + def operation_display + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay + end + def route_error_position + Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition + end + def fallback_route_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::FallbackRouteProperties + end + def test_route_input + Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteInput + end + def iot_hub_sku_info + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo + end + def route_compilation_error + Azure::IotHub::Mgmt::V2018_04_01::Models::RouteCompilationError + end + def route_error_range + Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorRange + end + def test_route_result_details + Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResultDetails + end + def feedback_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::FeedbackProperties + end + def certificate_body_description + Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateBodyDescription + end + def routing_event_hub_properties + Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEventHubProperties + end + def export_devices_request + Azure::IotHub::Mgmt::V2018_04_01::Models::ExportDevicesRequest + end + def test_route_result + Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult + end + def iot_hub_description + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescription + end + def access_rights + Azure::IotHub::Mgmt::V2018_04_01::Models::AccessRights + end + def import_devices_request + Azure::IotHub::Mgmt::V2018_04_01::Models::ImportDevicesRequest + end + def routing_source + Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource + end + def operation_monitoring_level + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationMonitoringLevel + end + def ip_filter_action_type + Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterActionType + end + def iot_hub_sku + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku + end + def iot_hub_sku_tier + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuTier + end + def operation + Azure::IotHub::Mgmt::V2018_04_01::Models::Operation + end + def name + Azure::IotHub::Mgmt::V2018_04_01::Models::Name + end + def iot_hub_scale_type + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubScaleType + end + def endpoint_health_status + Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthStatus + end + def capabilities + Azure::IotHub::Mgmt::V2018_04_01::Models::Capabilities + end + def route_error_severity + Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorSeverity + end + def iot_hub_name_unavailability_reason + Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameUnavailabilityReason + end + def test_result_status + Azure::IotHub::Mgmt::V2018_04_01::Models::TestResultStatus + end + def job_type + Azure::IotHub::Mgmt::V2018_04_01::Models::JobType + end + def job_status + Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus + end + def ip_filter_rule + Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule + end + def operation_inputs + Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs end def iot_hub_quota_metric_info Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubQuotaMetricInfo @@ -149,6 +275,9 @@ def certificate_properties_with_nonce def endpoint_health_data_list_result Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthDataListResult end + def error_details + Azure::IotHub::Mgmt::V2018_04_01::Models::ErrorDetails + end def shared_access_signature_authorization_rule Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRule end @@ -203,38 +332,20 @@ def iot_hub_properties def iot_hub_sku_description_list_result Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuDescriptionListResult end - def resource - Azure::IotHub::Mgmt::V2018_04_01::Models::Resource - end def iot_hub_description_list_result Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescriptionListResult end - def operation_display - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationDisplay - end - def operation_inputs - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationInputs - end def operation_list_result Azure::IotHub::Mgmt::V2018_04_01::Models::OperationListResult end - def iot_hub_name_availability_info - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameAvailabilityInfo - end - def certificate_description - Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateDescription - end - def name - Azure::IotHub::Mgmt::V2018_04_01::Models::Name - end - def certificate_with_nonce_description - Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateWithNonceDescription + def resource + Azure::IotHub::Mgmt::V2018_04_01::Models::Resource end def user_subscription_quota Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota end - def routing_service_bus_queue_endpoint_properties - Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingServiceBusQueueEndpointProperties + def certificate_description + Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateDescription end def user_subscription_quota_list_result Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuotaListResult @@ -245,117 +356,6 @@ def routing_endpoints def routing_message Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingMessage end - def storage_endpoint_properties - Azure::IotHub::Mgmt::V2018_04_01::Models::StorageEndpointProperties - end - def test_all_routes_input - Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesInput - end - def operations_monitoring_properties - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationsMonitoringProperties - end - def matched_route - Azure::IotHub::Mgmt::V2018_04_01::Models::MatchedRoute - end - def shared_access_signature_authorization_rule_list_result - Azure::IotHub::Mgmt::V2018_04_01::Models::SharedAccessSignatureAuthorizationRuleListResult - end - def test_all_routes_result - Azure::IotHub::Mgmt::V2018_04_01::Models::TestAllRoutesResult - end - def certificate_verification_description - Azure::IotHub::Mgmt::V2018_04_01::Models::CertificateVerificationDescription - end - def test_route_input - Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteInput - end - def ip_filter_rule - Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterRule - end - def route_error_position - Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorPosition - end - def fallback_route_properties - Azure::IotHub::Mgmt::V2018_04_01::Models::FallbackRouteProperties - end - def route_error_range - Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorRange - end - def iot_hub_sku_info - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuInfo - 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 test_route_result_details - Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResultDetails - 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 routing_event_hub_properties - Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingEventHubProperties - end - def export_devices_request - Azure::IotHub::Mgmt::V2018_04_01::Models::ExportDevicesRequest - end - def operation - Azure::IotHub::Mgmt::V2018_04_01::Models::Operation - end - def import_devices_request - Azure::IotHub::Mgmt::V2018_04_01::Models::ImportDevicesRequest - end - def iot_hub_description - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubDescription - end - def access_rights - Azure::IotHub::Mgmt::V2018_04_01::Models::AccessRights - end - def ip_filter_action_type - Azure::IotHub::Mgmt::V2018_04_01::Models::IpFilterActionType - end - def routing_source - Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingSource - end - def operation_monitoring_level - Azure::IotHub::Mgmt::V2018_04_01::Models::OperationMonitoringLevel - end - def capabilities - Azure::IotHub::Mgmt::V2018_04_01::Models::Capabilities - end - def iot_hub_sku - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSku - end - def iot_hub_sku_tier - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubSkuTier - end - def endpoint_health_status - Azure::IotHub::Mgmt::V2018_04_01::Models::EndpointHealthStatus - end - def job_type - Azure::IotHub::Mgmt::V2018_04_01::Models::JobType - end - def job_status - Azure::IotHub::Mgmt::V2018_04_01::Models::JobStatus - end - def iot_hub_scale_type - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubScaleType - end - def iot_hub_name_unavailability_reason - Azure::IotHub::Mgmt::V2018_04_01::Models::IotHubNameUnavailabilityReason - end - def test_result_status - Azure::IotHub::Mgmt::V2018_04_01::Models::TestResultStatus - end - def route_error_severity - Azure::IotHub::Mgmt::V2018_04_01::Models::RouteErrorSeverity - 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 c1b29471fb..e3fb1f40cf 100644 --- a/azure_sdk/lib/latest/modules/keyvault_profile_module.rb +++ b/azure_sdk/lib/latest/modules/keyvault_profile_module.rb @@ -9,96 +9,96 @@ module Azure::Profiles::Latest module KeyVault module Models - KeyRestoreParameters = Azure::KeyVault::V7_0::Models::KeyRestoreParameters - SecretSetParameters = Azure::KeyVault::V7_0::Models::SecretSetParameters - JsonWebKey = Azure::KeyVault::V7_0::Models::JsonWebKey - SecretUpdateParameters = Azure::KeyVault::V7_0::Models::SecretUpdateParameters - KeyBundle = Azure::KeyVault::V7_0::Models::KeyBundle - CertificateCreateParameters = Azure::KeyVault::V7_0::Models::CertificateCreateParameters + DeletedSasDefinitionListResult = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionListResult + StorageRestoreParameters = Azure::KeyVault::V7_0::Models::StorageRestoreParameters + BackupStorageResult = Azure::KeyVault::V7_0::Models::BackupStorageResult + CertificateRestoreParameters = Azure::KeyVault::V7_0::Models::CertificateRestoreParameters + DeletedStorageListResult = Azure::KeyVault::V7_0::Models::DeletedStorageListResult + DeletedStorageBundle = Azure::KeyVault::V7_0::Models::DeletedStorageBundle + DeletedStorageAccountItem = Azure::KeyVault::V7_0::Models::DeletedStorageAccountItem + DeletedSasDefinitionBundle = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionBundle + DeletedSasDefinitionItem = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionItem + SasTokenType = Azure::KeyVault::V7_0::Models::SasTokenType + Action = Azure::KeyVault::V7_0::Models::Action + KeyOperationsParameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters KeySignParameters = Azure::KeyVault::V7_0::Models::KeySignParameters + JsonWebKey = Azure::KeyVault::V7_0::Models::JsonWebKey KeyVerifyParameters = Azure::KeyVault::V7_0::Models::KeyVerifyParameters - BackupCertificateResult = Azure::KeyVault::V7_0::Models::BackupCertificateResult + KeyBundle = Azure::KeyVault::V7_0::Models::KeyBundle KeyUpdateParameters = Azure::KeyVault::V7_0::Models::KeyUpdateParameters - SecretItem = Azure::KeyVault::V7_0::Models::SecretItem + KeyImportParameters = Azure::KeyVault::V7_0::Models::KeyImportParameters Attributes = Azure::KeyVault::V7_0::Models::Attributes KeyVaultError = Azure::KeyVault::V7_0::Models::KeyVaultError - SecretRestoreParameters = Azure::KeyVault::V7_0::Models::SecretRestoreParameters - SasDefinitionAttributes = Azure::KeyVault::V7_0::Models::SasDefinitionAttributes + SecretBundle = Azure::KeyVault::V7_0::Models::SecretBundle + StorageListResult = Azure::KeyVault::V7_0::Models::StorageListResult SasDefinitionUpdateParameters = Azure::KeyVault::V7_0::Models::SasDefinitionUpdateParameters KeyItem = Azure::KeyVault::V7_0::Models::KeyItem - CertificateIssuerItem = Azure::KeyVault::V7_0::Models::CertificateIssuerItem - SasDefinitionListResult = Azure::KeyVault::V7_0::Models::SasDefinitionListResult - SecretProperties = Azure::KeyVault::V7_0::Models::SecretProperties + SecretRestoreParameters = Azure::KeyVault::V7_0::Models::SecretRestoreParameters + SasDefinitionAttributes = Azure::KeyVault::V7_0::Models::SasDefinitionAttributes + CertificateItem = Azure::KeyVault::V7_0::Models::CertificateItem + KeyRestoreParameters = Azure::KeyVault::V7_0::Models::KeyRestoreParameters + KeyProperties = Azure::KeyVault::V7_0::Models::KeyProperties + SecretSetParameters = Azure::KeyVault::V7_0::Models::SecretSetParameters + SubjectAlternativeNames = Azure::KeyVault::V7_0::Models::SubjectAlternativeNames + SecretUpdateParameters = Azure::KeyVault::V7_0::Models::SecretUpdateParameters + Trigger = Azure::KeyVault::V7_0::Models::Trigger + CertificateCreateParameters = Azure::KeyVault::V7_0::Models::CertificateCreateParameters + LifetimeAction = Azure::KeyVault::V7_0::Models::LifetimeAction CertificateImportParameters = Azure::KeyVault::V7_0::Models::CertificateImportParameters - X509CertificateProperties = Azure::KeyVault::V7_0::Models::X509CertificateProperties + CertificatePolicy = Azure::KeyVault::V7_0::Models::CertificatePolicy CertificateUpdateParameters = Azure::KeyVault::V7_0::Models::CertificateUpdateParameters - Action = Azure::KeyVault::V7_0::Models::Action + SasDefinitionItem = Azure::KeyVault::V7_0::Models::SasDefinitionItem CertificateMergeParameters = Azure::KeyVault::V7_0::Models::CertificateMergeParameters - IssuerParameters = Azure::KeyVault::V7_0::Models::IssuerParameters CertificateIssuerSetParameters = Azure::KeyVault::V7_0::Models::CertificateIssuerSetParameters - CertificateBundle = Azure::KeyVault::V7_0::Models::CertificateBundle + IssuerCredentials = Azure::KeyVault::V7_0::Models::IssuerCredentials CertificateIssuerUpdateParameters = Azure::KeyVault::V7_0::Models::CertificateIssuerUpdateParameters - DeletedSasDefinitionListResult = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionListResult + OrganizationDetails = Azure::KeyVault::V7_0::Models::OrganizationDetails CertificateOperationUpdateParameter = Azure::KeyVault::V7_0::Models::CertificateOperationUpdateParameter - CertificateOperation = Azure::KeyVault::V7_0::Models::CertificateOperation + Error = Azure::KeyVault::V7_0::Models::Error KeyOperationResult = Azure::KeyVault::V7_0::Models::KeyOperationResult - AdministratorDetails = Azure::KeyVault::V7_0::Models::AdministratorDetails + Contacts = Azure::KeyVault::V7_0::Models::Contacts KeyVerifyResult = Azure::KeyVault::V7_0::Models::KeyVerifyResult - IssuerAttributes = Azure::KeyVault::V7_0::Models::IssuerAttributes KeyListResult = Azure::KeyVault::V7_0::Models::KeyListResult - Contact = Azure::KeyVault::V7_0::Models::Contact + SasDefinitionCreateParameters = Azure::KeyVault::V7_0::Models::SasDefinitionCreateParameters DeletedKeyListResult = Azure::KeyVault::V7_0::Models::DeletedKeyListResult - KeyCreateParameters = Azure::KeyVault::V7_0::Models::KeyCreateParameters + CertificateIssuerItem = Azure::KeyVault::V7_0::Models::CertificateIssuerItem SecretListResult = Azure::KeyVault::V7_0::Models::SecretListResult - KeyOperationsParameters = Azure::KeyVault::V7_0::Models::KeyOperationsParameters + X509CertificateProperties = Azure::KeyVault::V7_0::Models::X509CertificateProperties DeletedSecretListResult = Azure::KeyVault::V7_0::Models::DeletedSecretListResult - SecretBundle = Azure::KeyVault::V7_0::Models::SecretBundle + IssuerParameters = Azure::KeyVault::V7_0::Models::IssuerParameters CertificateListResult = Azure::KeyVault::V7_0::Models::CertificateListResult - StorageRestoreParameters = Azure::KeyVault::V7_0::Models::StorageRestoreParameters + SasDefinitionBundle = Azure::KeyVault::V7_0::Models::SasDefinitionBundle DeletedCertificateListResult = Azure::KeyVault::V7_0::Models::DeletedCertificateListResult - KeyProperties = Azure::KeyVault::V7_0::Models::KeyProperties + AdministratorDetails = Azure::KeyVault::V7_0::Models::AdministratorDetails CertificateIssuerListResult = Azure::KeyVault::V7_0::Models::CertificateIssuerListResult - Trigger = Azure::KeyVault::V7_0::Models::Trigger + Contact = Azure::KeyVault::V7_0::Models::Contact BackupKeyResult = Azure::KeyVault::V7_0::Models::BackupKeyResult - CertificatePolicy = Azure::KeyVault::V7_0::Models::CertificatePolicy + SecretItem = Azure::KeyVault::V7_0::Models::SecretItem BackupSecretResult = Azure::KeyVault::V7_0::Models::BackupSecretResult - Error = Azure::KeyVault::V7_0::Models::Error - BackupStorageResult = Azure::KeyVault::V7_0::Models::BackupStorageResult - OrganizationDetails = Azure::KeyVault::V7_0::Models::OrganizationDetails + SecretProperties = Azure::KeyVault::V7_0::Models::SecretProperties PendingCertificateSigningRequestResult = Azure::KeyVault::V7_0::Models::PendingCertificateSigningRequestResult - Contacts = Azure::KeyVault::V7_0::Models::Contacts + CertificateBundle = Azure::KeyVault::V7_0::Models::CertificateBundle StorageAccountAttributes = Azure::KeyVault::V7_0::Models::StorageAccountAttributes + IssuerAttributes = Azure::KeyVault::V7_0::Models::IssuerAttributes StorageBundle = Azure::KeyVault::V7_0::Models::StorageBundle - CertificateItem = Azure::KeyVault::V7_0::Models::CertificateItem - SasDefinitionItem = Azure::KeyVault::V7_0::Models::SasDefinitionItem - LifetimeAction = Azure::KeyVault::V7_0::Models::LifetimeAction + SasDefinitionListResult = Azure::KeyVault::V7_0::Models::SasDefinitionListResult StorageAccountCreateParameters = Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters - IssuerCredentials = Azure::KeyVault::V7_0::Models::IssuerCredentials + CertificateOperation = Azure::KeyVault::V7_0::Models::CertificateOperation StorageAccountUpdateParameters = Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters - KeyImportParameters = Azure::KeyVault::V7_0::Models::KeyImportParameters StorageAccountRegenerteKeyParameters = Azure::KeyVault::V7_0::Models::StorageAccountRegenerteKeyParameters - SubjectAlternativeNames = Azure::KeyVault::V7_0::Models::SubjectAlternativeNames + KeyCreateParameters = Azure::KeyVault::V7_0::Models::KeyCreateParameters StorageAccountItem = Azure::KeyVault::V7_0::Models::StorageAccountItem - IssuerBundle = Azure::KeyVault::V7_0::Models::IssuerBundle - SasDefinitionBundle = Azure::KeyVault::V7_0::Models::SasDefinitionBundle - SasDefinitionCreateParameters = Azure::KeyVault::V7_0::Models::SasDefinitionCreateParameters - StorageListResult = Azure::KeyVault::V7_0::Models::StorageListResult - CertificateRestoreParameters = Azure::KeyVault::V7_0::Models::CertificateRestoreParameters - DeletedStorageListResult = Azure::KeyVault::V7_0::Models::DeletedStorageListResult KeyAttributes = Azure::KeyVault::V7_0::Models::KeyAttributes DeletedKeyBundle = Azure::KeyVault::V7_0::Models::DeletedKeyBundle + IssuerBundle = Azure::KeyVault::V7_0::Models::IssuerBundle DeletedKeyItem = Azure::KeyVault::V7_0::Models::DeletedKeyItem - SecretAttributes = Azure::KeyVault::V7_0::Models::SecretAttributes DeletedSecretBundle = Azure::KeyVault::V7_0::Models::DeletedSecretBundle DeletedSecretItem = Azure::KeyVault::V7_0::Models::DeletedSecretItem + SecretAttributes = Azure::KeyVault::V7_0::Models::SecretAttributes CertificateAttributes = Azure::KeyVault::V7_0::Models::CertificateAttributes - DeletedCertificateBundle = Azure::KeyVault::V7_0::Models::DeletedCertificateBundle DeletedCertificateItem = Azure::KeyVault::V7_0::Models::DeletedCertificateItem - DeletedStorageBundle = Azure::KeyVault::V7_0::Models::DeletedStorageBundle - DeletedStorageAccountItem = Azure::KeyVault::V7_0::Models::DeletedStorageAccountItem - DeletedSasDefinitionBundle = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionBundle - DeletedSasDefinitionItem = Azure::KeyVault::V7_0::Models::DeletedSasDefinitionItem JsonWebKeyType = Azure::KeyVault::V7_0::Models::JsonWebKeyType + DeletedCertificateBundle = Azure::KeyVault::V7_0::Models::DeletedCertificateBundle JsonWebKeyCurveName = Azure::KeyVault::V7_0::Models::JsonWebKeyCurveName DeletionRecoveryLevel = Azure::KeyVault::V7_0::Models::DeletionRecoveryLevel KeyUsageType = Azure::KeyVault::V7_0::Models::KeyUsageType @@ -106,7 +106,7 @@ module Models JsonWebKeyOperation = Azure::KeyVault::V7_0::Models::JsonWebKeyOperation JsonWebKeyEncryptionAlgorithm = Azure::KeyVault::V7_0::Models::JsonWebKeyEncryptionAlgorithm JsonWebKeySignatureAlgorithm = Azure::KeyVault::V7_0::Models::JsonWebKeySignatureAlgorithm - SasTokenType = Azure::KeyVault::V7_0::Models::SasTokenType + BackupCertificateResult = Azure::KeyVault::V7_0::Models::BackupCertificateResult end class KeyVaultDataClass @@ -138,38 +138,59 @@ def method_missing(method, *args) end class ModelClasses - def key_restore_parameters - Azure::KeyVault::V7_0::Models::KeyRestoreParameters + def deleted_sas_definition_list_result + Azure::KeyVault::V7_0::Models::DeletedSasDefinitionListResult end - def secret_set_parameters - Azure::KeyVault::V7_0::Models::SecretSetParameters + def storage_restore_parameters + Azure::KeyVault::V7_0::Models::StorageRestoreParameters end - def json_web_key - Azure::KeyVault::V7_0::Models::JsonWebKey + def backup_storage_result + Azure::KeyVault::V7_0::Models::BackupStorageResult end - def secret_update_parameters - Azure::KeyVault::V7_0::Models::SecretUpdateParameters + def certificate_restore_parameters + Azure::KeyVault::V7_0::Models::CertificateRestoreParameters end - def key_bundle - Azure::KeyVault::V7_0::Models::KeyBundle + def deleted_storage_list_result + Azure::KeyVault::V7_0::Models::DeletedStorageListResult end - def certificate_create_parameters - Azure::KeyVault::V7_0::Models::CertificateCreateParameters + def deleted_storage_bundle + Azure::KeyVault::V7_0::Models::DeletedStorageBundle + end + def deleted_storage_account_item + Azure::KeyVault::V7_0::Models::DeletedStorageAccountItem + end + def deleted_sas_definition_bundle + Azure::KeyVault::V7_0::Models::DeletedSasDefinitionBundle + end + def deleted_sas_definition_item + Azure::KeyVault::V7_0::Models::DeletedSasDefinitionItem + end + def sas_token_type + Azure::KeyVault::V7_0::Models::SasTokenType + end + def action + Azure::KeyVault::V7_0::Models::Action + end + def key_operations_parameters + Azure::KeyVault::V7_0::Models::KeyOperationsParameters end def key_sign_parameters Azure::KeyVault::V7_0::Models::KeySignParameters end + def json_web_key + Azure::KeyVault::V7_0::Models::JsonWebKey + end def key_verify_parameters Azure::KeyVault::V7_0::Models::KeyVerifyParameters end - def backup_certificate_result - Azure::KeyVault::V7_0::Models::BackupCertificateResult + def key_bundle + Azure::KeyVault::V7_0::Models::KeyBundle end def key_update_parameters Azure::KeyVault::V7_0::Models::KeyUpdateParameters end - def secret_item - Azure::KeyVault::V7_0::Models::SecretItem + def key_import_parameters + Azure::KeyVault::V7_0::Models::KeyImportParameters end def attributes Azure::KeyVault::V7_0::Models::Attributes @@ -177,11 +198,11 @@ def attributes def key_vault_error Azure::KeyVault::V7_0::Models::KeyVaultError end - def secret_restore_parameters - Azure::KeyVault::V7_0::Models::SecretRestoreParameters + def secret_bundle + Azure::KeyVault::V7_0::Models::SecretBundle end - def sas_definition_attributes - Azure::KeyVault::V7_0::Models::SasDefinitionAttributes + def storage_list_result + Azure::KeyVault::V7_0::Models::StorageListResult end def sas_definition_update_parameters Azure::KeyVault::V7_0::Models::SasDefinitionUpdateParameters @@ -189,225 +210,204 @@ def sas_definition_update_parameters def key_item Azure::KeyVault::V7_0::Models::KeyItem end - def certificate_issuer_item - Azure::KeyVault::V7_0::Models::CertificateIssuerItem + def secret_restore_parameters + Azure::KeyVault::V7_0::Models::SecretRestoreParameters end - def sas_definition_list_result - Azure::KeyVault::V7_0::Models::SasDefinitionListResult + def sas_definition_attributes + Azure::KeyVault::V7_0::Models::SasDefinitionAttributes end - def secret_properties - Azure::KeyVault::V7_0::Models::SecretProperties + def certificate_item + Azure::KeyVault::V7_0::Models::CertificateItem + end + def key_restore_parameters + Azure::KeyVault::V7_0::Models::KeyRestoreParameters + end + def key_properties + Azure::KeyVault::V7_0::Models::KeyProperties + end + def secret_set_parameters + Azure::KeyVault::V7_0::Models::SecretSetParameters + end + def subject_alternative_names + Azure::KeyVault::V7_0::Models::SubjectAlternativeNames + end + def secret_update_parameters + Azure::KeyVault::V7_0::Models::SecretUpdateParameters + end + def trigger + Azure::KeyVault::V7_0::Models::Trigger + end + def certificate_create_parameters + Azure::KeyVault::V7_0::Models::CertificateCreateParameters + end + def lifetime_action + Azure::KeyVault::V7_0::Models::LifetimeAction end def certificate_import_parameters Azure::KeyVault::V7_0::Models::CertificateImportParameters end - def x509_certificate_properties - Azure::KeyVault::V7_0::Models::X509CertificateProperties + def certificate_policy + Azure::KeyVault::V7_0::Models::CertificatePolicy end def certificate_update_parameters Azure::KeyVault::V7_0::Models::CertificateUpdateParameters end - def action - Azure::KeyVault::V7_0::Models::Action + def sas_definition_item + Azure::KeyVault::V7_0::Models::SasDefinitionItem end def certificate_merge_parameters Azure::KeyVault::V7_0::Models::CertificateMergeParameters end - def issuer_parameters - Azure::KeyVault::V7_0::Models::IssuerParameters - end def certificate_issuer_set_parameters Azure::KeyVault::V7_0::Models::CertificateIssuerSetParameters end - def certificate_bundle - Azure::KeyVault::V7_0::Models::CertificateBundle + def issuer_credentials + Azure::KeyVault::V7_0::Models::IssuerCredentials end def certificate_issuer_update_parameters Azure::KeyVault::V7_0::Models::CertificateIssuerUpdateParameters end - def deleted_sas_definition_list_result - Azure::KeyVault::V7_0::Models::DeletedSasDefinitionListResult + def organization_details + Azure::KeyVault::V7_0::Models::OrganizationDetails end def certificate_operation_update_parameter Azure::KeyVault::V7_0::Models::CertificateOperationUpdateParameter end - def certificate_operation - Azure::KeyVault::V7_0::Models::CertificateOperation + def error + Azure::KeyVault::V7_0::Models::Error end def key_operation_result Azure::KeyVault::V7_0::Models::KeyOperationResult end - def administrator_details - Azure::KeyVault::V7_0::Models::AdministratorDetails + def contacts + Azure::KeyVault::V7_0::Models::Contacts end def key_verify_result Azure::KeyVault::V7_0::Models::KeyVerifyResult end - def issuer_attributes - Azure::KeyVault::V7_0::Models::IssuerAttributes - end def key_list_result Azure::KeyVault::V7_0::Models::KeyListResult end - def contact - Azure::KeyVault::V7_0::Models::Contact + def sas_definition_create_parameters + Azure::KeyVault::V7_0::Models::SasDefinitionCreateParameters end def deleted_key_list_result Azure::KeyVault::V7_0::Models::DeletedKeyListResult end - def key_create_parameters - Azure::KeyVault::V7_0::Models::KeyCreateParameters + def certificate_issuer_item + Azure::KeyVault::V7_0::Models::CertificateIssuerItem end def secret_list_result Azure::KeyVault::V7_0::Models::SecretListResult end - def key_operations_parameters - Azure::KeyVault::V7_0::Models::KeyOperationsParameters + def x509_certificate_properties + Azure::KeyVault::V7_0::Models::X509CertificateProperties end def deleted_secret_list_result Azure::KeyVault::V7_0::Models::DeletedSecretListResult end - def secret_bundle - Azure::KeyVault::V7_0::Models::SecretBundle + def issuer_parameters + Azure::KeyVault::V7_0::Models::IssuerParameters end def certificate_list_result Azure::KeyVault::V7_0::Models::CertificateListResult end - def storage_restore_parameters - Azure::KeyVault::V7_0::Models::StorageRestoreParameters + def sas_definition_bundle + Azure::KeyVault::V7_0::Models::SasDefinitionBundle end def deleted_certificate_list_result Azure::KeyVault::V7_0::Models::DeletedCertificateListResult end - def key_properties - Azure::KeyVault::V7_0::Models::KeyProperties + def administrator_details + Azure::KeyVault::V7_0::Models::AdministratorDetails end def certificate_issuer_list_result Azure::KeyVault::V7_0::Models::CertificateIssuerListResult end - def trigger - Azure::KeyVault::V7_0::Models::Trigger + def contact + Azure::KeyVault::V7_0::Models::Contact end def backup_key_result Azure::KeyVault::V7_0::Models::BackupKeyResult end - def certificate_policy - Azure::KeyVault::V7_0::Models::CertificatePolicy + def secret_item + Azure::KeyVault::V7_0::Models::SecretItem end def backup_secret_result Azure::KeyVault::V7_0::Models::BackupSecretResult end - def error - Azure::KeyVault::V7_0::Models::Error - end - def backup_storage_result - Azure::KeyVault::V7_0::Models::BackupStorageResult - end - def organization_details - Azure::KeyVault::V7_0::Models::OrganizationDetails + def secret_properties + Azure::KeyVault::V7_0::Models::SecretProperties end def pending_certificate_signing_request_result Azure::KeyVault::V7_0::Models::PendingCertificateSigningRequestResult end - def contacts - Azure::KeyVault::V7_0::Models::Contacts + def certificate_bundle + Azure::KeyVault::V7_0::Models::CertificateBundle end def storage_account_attributes Azure::KeyVault::V7_0::Models::StorageAccountAttributes end + def issuer_attributes + Azure::KeyVault::V7_0::Models::IssuerAttributes + end def storage_bundle Azure::KeyVault::V7_0::Models::StorageBundle end - def certificate_item - Azure::KeyVault::V7_0::Models::CertificateItem - end - def sas_definition_item - Azure::KeyVault::V7_0::Models::SasDefinitionItem - end - def lifetime_action - Azure::KeyVault::V7_0::Models::LifetimeAction + def sas_definition_list_result + Azure::KeyVault::V7_0::Models::SasDefinitionListResult end def storage_account_create_parameters Azure::KeyVault::V7_0::Models::StorageAccountCreateParameters end - def issuer_credentials - Azure::KeyVault::V7_0::Models::IssuerCredentials + def certificate_operation + Azure::KeyVault::V7_0::Models::CertificateOperation end def storage_account_update_parameters Azure::KeyVault::V7_0::Models::StorageAccountUpdateParameters end - def key_import_parameters - Azure::KeyVault::V7_0::Models::KeyImportParameters - end def storage_account_regenerte_key_parameters Azure::KeyVault::V7_0::Models::StorageAccountRegenerteKeyParameters end - def subject_alternative_names - Azure::KeyVault::V7_0::Models::SubjectAlternativeNames + def key_create_parameters + Azure::KeyVault::V7_0::Models::KeyCreateParameters end def storage_account_item Azure::KeyVault::V7_0::Models::StorageAccountItem end - def issuer_bundle - Azure::KeyVault::V7_0::Models::IssuerBundle - end - def sas_definition_bundle - Azure::KeyVault::V7_0::Models::SasDefinitionBundle - end - def sas_definition_create_parameters - Azure::KeyVault::V7_0::Models::SasDefinitionCreateParameters - end - def storage_list_result - Azure::KeyVault::V7_0::Models::StorageListResult - end - def certificate_restore_parameters - Azure::KeyVault::V7_0::Models::CertificateRestoreParameters - end - def deleted_storage_list_result - Azure::KeyVault::V7_0::Models::DeletedStorageListResult - end def key_attributes Azure::KeyVault::V7_0::Models::KeyAttributes end def deleted_key_bundle Azure::KeyVault::V7_0::Models::DeletedKeyBundle end + def issuer_bundle + Azure::KeyVault::V7_0::Models::IssuerBundle + end def deleted_key_item Azure::KeyVault::V7_0::Models::DeletedKeyItem end - def secret_attributes - Azure::KeyVault::V7_0::Models::SecretAttributes - end def deleted_secret_bundle Azure::KeyVault::V7_0::Models::DeletedSecretBundle end def deleted_secret_item Azure::KeyVault::V7_0::Models::DeletedSecretItem end + def secret_attributes + Azure::KeyVault::V7_0::Models::SecretAttributes + end def certificate_attributes Azure::KeyVault::V7_0::Models::CertificateAttributes end - def deleted_certificate_bundle - Azure::KeyVault::V7_0::Models::DeletedCertificateBundle - end def deleted_certificate_item Azure::KeyVault::V7_0::Models::DeletedCertificateItem end - def deleted_storage_bundle - Azure::KeyVault::V7_0::Models::DeletedStorageBundle - end - def deleted_storage_account_item - Azure::KeyVault::V7_0::Models::DeletedStorageAccountItem - end - def deleted_sas_definition_bundle - Azure::KeyVault::V7_0::Models::DeletedSasDefinitionBundle - end - def deleted_sas_definition_item - Azure::KeyVault::V7_0::Models::DeletedSasDefinitionItem - end def json_web_key_type Azure::KeyVault::V7_0::Models::JsonWebKeyType end + def deleted_certificate_bundle + Azure::KeyVault::V7_0::Models::DeletedCertificateBundle + end def json_web_key_curve_name Azure::KeyVault::V7_0::Models::JsonWebKeyCurveName end @@ -429,8 +429,8 @@ def json_web_key_encryption_algorithm def json_web_key_signature_algorithm Azure::KeyVault::V7_0::Models::JsonWebKeySignatureAlgorithm end - def sas_token_type - Azure::KeyVault::V7_0::Models::SasTokenType + def backup_certificate_result + Azure::KeyVault::V7_0::Models::BackupCertificateResult end end end @@ -439,42 +439,42 @@ module Mgmt Operations = Azure::KeyVault::Mgmt::V2018_02_14::Operations module Models - VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyParameters + KeyPermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::KeyPermissions + CreateMode = Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode + NetworkRuleBypassOptions = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleBypassOptions + StoragePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::StoragePermissions Permissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions + Sku = Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku + NetworkRuleAction = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleAction + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + VirtualNetworkRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule + Resource = Azure::KeyVault::Mgmt::V2018_02_14::Models::Resource + Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + OperationDisplay = Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationDisplay DeletedVault = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVault - IPRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule VaultListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultListResult - NetworkRuleSet = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet DeletedVaultListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultListResult - VaultPatchProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchProperties - Resource = Azure::KeyVault::Mgmt::V2018_02_14::Models::Resource - DeletedVaultProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultProperties + VaultProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultProperties + VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyProperties ResourceListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::ResourceListResult - VaultPatchParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchParameters + VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultCreateOrUpdateParameters VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultCheckNameAvailabilityParameters - AccessPolicyEntry = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyEntry + VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyParameters CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::CheckNameAvailabilityResult - VaultProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultProperties - OperationDisplay = Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationDisplay - VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultCreateOrUpdateParameters + VaultPatchProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchProperties LogSpecification = Azure::KeyVault::Mgmt::V2018_02_14::Models::LogSpecification - VirtualNetworkRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule + VaultPatchParameters = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchParameters ServiceSpecification = Azure::KeyVault::Mgmt::V2018_02_14::Models::ServiceSpecification - Sku = Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku - Operation = Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation - VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyProperties - OperationListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationListResult + AccessPolicyEntry = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyEntry + DeletedVaultProperties = Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultProperties Vault = Azure::KeyVault::Mgmt::V2018_02_14::Models::Vault + OperationListResult = Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationListResult + IPRule = Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule + NetworkRuleSet = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet SkuName = Azure::KeyVault::Mgmt::V2018_02_14::Models::SkuName - KeyPermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::KeyPermissions + Operation = Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation SecretPermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::SecretPermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::CertificatePermissions - StoragePermissions = Azure::KeyVault::Mgmt::V2018_02_14::Models::StoragePermissions - CreateMode = Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode - NetworkRuleBypassOptions = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleBypassOptions - NetworkRuleAction = Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleAction - Reason = Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind end class KeyVaultManagementClass @@ -508,89 +508,107 @@ def method_missing(method, *args) end class ModelClasses - def vault_access_policy_parameters - Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyParameters + def key_permissions + Azure::KeyVault::Mgmt::V2018_02_14::Models::KeyPermissions + end + def create_mode + Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode + end + def network_rule_bypass_options + Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleBypassOptions + end + def storage_permissions + Azure::KeyVault::Mgmt::V2018_02_14::Models::StoragePermissions end def permissions Azure::KeyVault::Mgmt::V2018_02_14::Models::Permissions end + def sku + Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku + end + def network_rule_action + Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleAction + end + def access_policy_update_kind + Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyUpdateKind + end + def virtual_network_rule + Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule + end + def resource + Azure::KeyVault::Mgmt::V2018_02_14::Models::Resource + end + def reason + Azure::KeyVault::Mgmt::V2018_02_14::Models::Reason + end + def operation_display + Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationDisplay + end def deleted_vault Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVault end - def iprule - Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule - end def vault_list_result Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultListResult end - def network_rule_set - Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet - end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultListResult end - def vault_patch_properties - Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchProperties - end - def resource - Azure::KeyVault::Mgmt::V2018_02_14::Models::Resource + def vault_properties + Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultProperties end - def deleted_vault_properties - Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultProperties + def vault_access_policy_properties + Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyProperties end def resource_list_result Azure::KeyVault::Mgmt::V2018_02_14::Models::ResourceListResult end - def vault_patch_parameters - Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchParameters + def vault_create_or_update_parameters + Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultCreateOrUpdateParameters end def vault_check_name_availability_parameters Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultCheckNameAvailabilityParameters end - def access_policy_entry - Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyEntry + def vault_access_policy_parameters + Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyParameters end def check_name_availability_result Azure::KeyVault::Mgmt::V2018_02_14::Models::CheckNameAvailabilityResult end - def vault_properties - Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultProperties - end - def operation_display - Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationDisplay - end - def vault_create_or_update_parameters - Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultCreateOrUpdateParameters + def vault_patch_properties + Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchProperties end def log_specification Azure::KeyVault::Mgmt::V2018_02_14::Models::LogSpecification end - def virtual_network_rule - Azure::KeyVault::Mgmt::V2018_02_14::Models::VirtualNetworkRule + def vault_patch_parameters + Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultPatchParameters end def service_specification Azure::KeyVault::Mgmt::V2018_02_14::Models::ServiceSpecification end - def sku - Azure::KeyVault::Mgmt::V2018_02_14::Models::Sku + def access_policy_entry + Azure::KeyVault::Mgmt::V2018_02_14::Models::AccessPolicyEntry end - def operation - Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation + def deleted_vault_properties + Azure::KeyVault::Mgmt::V2018_02_14::Models::DeletedVaultProperties end - def vault_access_policy_properties - Azure::KeyVault::Mgmt::V2018_02_14::Models::VaultAccessPolicyProperties + def vault + Azure::KeyVault::Mgmt::V2018_02_14::Models::Vault end def operation_list_result Azure::KeyVault::Mgmt::V2018_02_14::Models::OperationListResult end - def vault - Azure::KeyVault::Mgmt::V2018_02_14::Models::Vault + def iprule + Azure::KeyVault::Mgmt::V2018_02_14::Models::IPRule + end + def network_rule_set + Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleSet end def sku_name Azure::KeyVault::Mgmt::V2018_02_14::Models::SkuName end - def key_permissions - Azure::KeyVault::Mgmt::V2018_02_14::Models::KeyPermissions + def operation + Azure::KeyVault::Mgmt::V2018_02_14::Models::Operation end def secret_permissions Azure::KeyVault::Mgmt::V2018_02_14::Models::SecretPermissions @@ -598,24 +616,6 @@ def secret_permissions def certificate_permissions Azure::KeyVault::Mgmt::V2018_02_14::Models::CertificatePermissions end - def storage_permissions - Azure::KeyVault::Mgmt::V2018_02_14::Models::StoragePermissions - end - def create_mode - Azure::KeyVault::Mgmt::V2018_02_14::Models::CreateMode - end - def network_rule_bypass_options - Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleBypassOptions - end - def network_rule_action - Azure::KeyVault::Mgmt::V2018_02_14::Models::NetworkRuleAction - end - 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 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 c35b95d1e8..c3ddcc186a 100644 --- a/azure_sdk/lib/latest/modules/links_profile_module.rb +++ b/azure_sdk/lib/latest/modules/links_profile_module.rb @@ -7,22 +7,22 @@ module Azure::Profiles::Latest module Links module Mgmt - Operations = Azure::Links::Mgmt::V2016_09_01::Operations ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks + Operations = Azure::Links::Mgmt::V2016_09_01::Operations module Models ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay - ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties - Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation 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 - attr_reader :operations, :resource_links, :configurable, :base_url, :options, :model_classes + attr_reader :resource_links, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -32,8 +32,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @resource_links = @client_0.resource_links + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -58,14 +58,14 @@ def resource_link_result def operation_display Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay end - def resource_link_properties - Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties + def resource_link_filter + Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter end def operation Azure::Links::Mgmt::V2016_09_01::Models::Operation end - def resource_link_filter - Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter + 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 diff --git a/azure_sdk/lib/latest/modules/logic_profile_module.rb b/azure_sdk/lib/latest/modules/logic_profile_module.rb index 2298e74248..ea4551a614 100644 --- a/azure_sdk/lib/latest/modules/logic_profile_module.rb +++ b/azure_sdk/lib/latest/modules/logic_profile_module.rb @@ -23,19 +23,23 @@ module Mgmt Maps = Azure::Logic::Mgmt::V2016_06_01::Maps Partners = Azure::Logic::Mgmt::V2016_06_01::Partners Agreements = Azure::Logic::Mgmt::V2016_06_01::Agreements - Certificates = Azure::Logic::Mgmt::V2016_06_01::Certificates Sessions = Azure::Logic::Mgmt::V2016_06_01::Sessions + Certificates = Azure::Logic::Mgmt::V2016_06_01::Certificates module Models + KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference + Sku = Azure::Logic::Mgmt::V2016_06_01::Models::Sku + ErrorResponse = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + OperationResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResult X12SecuritySettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings - Resource = Azure::Logic::Mgmt::V2016_06_01::Models::Resource X12ProcessingSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ProcessingSettings ResourceReference = Azure::Logic::Mgmt::V2016_06_01::Models::ResourceReference X12EnvelopeOverride = Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeOverride WorkflowParameter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowParameter X12ValidationOverride = Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationOverride WorkflowFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowFilter - X12MessageIdentifier = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageIdentifier + Resource = Azure::Logic::Mgmt::V2016_06_01::Models::Resource AS2ProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings AS2OneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::AS2OneWayAgreement RecurrenceScheduleOccurrence = Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceScheduleOccurrence @@ -48,28 +52,25 @@ module Models X12EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12EnvelopeSettings Correlation = Azure::Logic::Mgmt::V2016_06_01::Models::Correlation X12AcknowledgementSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings - ContentLink = Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink X12MessageFilter = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter WorkflowTriggerHistoryListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryListResult - SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource + X12MessageIdentifier = Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageIdentifier WorkflowRunTrigger = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger - Sku = Azure::Logic::Mgmt::V2016_06_01::Models::Sku ArtifactProperties = Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactProperties - WorkflowRunFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunFilter AccessKeyRegenerateActionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::AccessKeyRegenerateActionDefinition ErrorProperties = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties + WorkflowRunFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunFilter WorkflowListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowListResult - RetryHistory = Azure::Logic::Mgmt::V2016_06_01::Models::RetryHistory RepetitionIndex = Azure::Logic::Mgmt::V2016_06_01::Models::RepetitionIndex WorkflowRunActionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionFilter X12SchemaReference = Azure::Logic::Mgmt::V2016_06_01::Models::X12SchemaReference RegenerateActionParameter = Azure::Logic::Mgmt::V2016_06_01::Models::RegenerateActionParameter X12DelimiterOverrides = Azure::Logic::Mgmt::V2016_06_01::Models::X12DelimiterOverrides - IntegrationAccountSku = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSku + RetryHistory = Azure::Logic::Mgmt::V2016_06_01::Models::RetryHistory X12ProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::X12ProtocolSettings IntegrationAccountListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountListResult + IntegrationAccountSku = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSku X12OneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::X12OneWayAgreement - CallbackUrl = Azure::Logic::Mgmt::V2016_06_01::Models::CallbackUrl X12AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::X12AgreementContent IntegrationAccountSchemaListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaListResult EdifactValidationSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings @@ -95,7 +96,6 @@ module Models EdifactDelimiterOverride = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDelimiterOverride WorkflowTriggerListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerListResult EdifactProtocolSettings = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProtocolSettings - ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash EdifactOneWayAgreement = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement WorkflowTriggerHistoryFilter = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryFilter EdifactAgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactAgreementContent @@ -103,31 +103,32 @@ module Models AgreementContent = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementContent AssemblyCollection = Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyCollection ErrorInfo = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorInfo - GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters + ContentHash = Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash IntegrationAccountAgreementListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementListResult GetCallbackUrlParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters - IntegrationAccountAgreementFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter + GenerateUpgradedDefinitionParameters = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters IntegrationAccountSchemaFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter KeyVaultKeyReferenceKeyVault = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault - IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter - KeyVaultKeyReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference + IntegrationAccountAgreementFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter WorkflowRunActionRepetitionDefinitionCollection = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection Expression = Azure::Logic::Mgmt::V2016_06_01::Models::Expression + IntegrationAccountMapFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter AS2AcknowledgementConnectionSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings IntegrationAccountCertificateListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult - AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings + CallbackUrl = Azure::Logic::Mgmt::V2016_06_01::Models::CallbackUrl IntegrationAccountSessionFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter - ExpressionTraces = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces + AS2EnvelopeSettings = Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings BatchConfigurationCollection = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationCollection + ExpressionTraces = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces + JsonSchema = Azure::Logic::Mgmt::V2016_06_01::Models::JsonSchema IntegrationAccountSessionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult - ErrorResponse = Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + IntegrationAccountPartnerFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter + OperationResultProperties = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties OperationDisplay = Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay - JsonSchema = Azure::Logic::Mgmt::V2016_06_01::Models::JsonSchema + SetTriggerStateActionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::SetTriggerStateActionDefinition Operation = Azure::Logic::Mgmt::V2016_06_01::Models::Operation - OperationResultProperties = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties + ContentLink = Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink OperationListResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult - IntegrationAccountPartnerFilter = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter - SetTriggerStateActionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::SetTriggerStateActionDefinition WorkflowVersionListResult = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersionListResult ListKeyVaultKeysDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::ListKeyVaultKeysDefinition BatchReleaseCriteria = Azure::Logic::Mgmt::V2016_06_01::Models::BatchReleaseCriteria @@ -157,51 +158,50 @@ module Models IntegrationAccountCertificate = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificate IntegrationAccountSession = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSession KeyVaultReference = Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference - ExpressionRoot = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionRoot AzureResourceErrorInfo = Azure::Logic::Mgmt::V2016_06_01::Models::AzureResourceErrorInfo WorkflowRunActionRepetitionDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinition - OperationResult = Azure::Logic::Mgmt::V2016_06_01::Models::OperationResult RunActionCorrelation = Azure::Logic::Mgmt::V2016_06_01::Models::RunActionCorrelation - AssemblyDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyDefinition + ExpressionRoot = Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionRoot ArtifactContentPropertiesDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactContentPropertiesDefinition AssemblyProperties = Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyProperties BatchConfigurationProperties = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationProperties - BatchConfiguration = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfiguration + AssemblyDefinition = Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyDefinition WorkflowProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState WorkflowState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState - SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName ParameterType = Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType - WorkflowTriggerProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState - WorkflowStatus = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus + BatchConfiguration = Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfiguration + SkuName = Azure::Logic::Mgmt::V2016_06_01::Models::SkuName RecurrenceFrequency = Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency DaysOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek - DayOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek - KeyType = Azure::Logic::Mgmt::V2016_06_01::Models::KeyType - IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName + WorkflowTriggerProvisioningState = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState + WorkflowStatus = Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus SchemaType = Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType MapType = Azure::Logic::Mgmt::V2016_06_01::Models::MapType + DayOfWeek = Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek + IntegrationAccountSkuName = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName + SubResource = Azure::Logic::Mgmt::V2016_06_01::Models::SubResource + EncryptionAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm PartnerType = Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType AgreementType = Azure::Logic::Mgmt::V2016_06_01::Models::AgreementType HashingAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::HashingAlgorithm - EncryptionAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm + SegmentTerminatorSuffix = Azure::Logic::Mgmt::V2016_06_01::Models::SegmentTerminatorSuffix SigningAlgorithm = Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm TrailingSeparatorPolicy = Azure::Logic::Mgmt::V2016_06_01::Models::TrailingSeparatorPolicy X12CharacterSet = Azure::Logic::Mgmt::V2016_06_01::Models::X12CharacterSet - SegmentTerminatorSuffix = Azure::Logic::Mgmt::V2016_06_01::Models::SegmentTerminatorSuffix + MessageFilterType = Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType X12DateFormat = Azure::Logic::Mgmt::V2016_06_01::Models::X12DateFormat X12TimeFormat = Azure::Logic::Mgmt::V2016_06_01::Models::X12TimeFormat UsageIndicator = Azure::Logic::Mgmt::V2016_06_01::Models::UsageIndicator - MessageFilterType = Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType + EventLevel = Azure::Logic::Mgmt::V2016_06_01::Models::EventLevel EdifactCharacterSet = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactCharacterSet EdifactDecimalIndicator = Azure::Logic::Mgmt::V2016_06_01::Models::EdifactDecimalIndicator TrackEventsOperationOptions = Azure::Logic::Mgmt::V2016_06_01::Models::TrackEventsOperationOptions - EventLevel = Azure::Logic::Mgmt::V2016_06_01::Models::EventLevel TrackingRecordType = Azure::Logic::Mgmt::V2016_06_01::Models::TrackingRecordType AccessKeyType = Azure::Logic::Mgmt::V2016_06_01::Models::AccessKeyType end class LogicManagementClass - attr_reader :workflows, :workflow_versions, :workflow_triggers, :workflow_trigger_histories, :workflow_runs, :workflow_run_actions, :workflow_run_action_repetitions, :workflow_run_action_scoped_repetitions, :workflow_run_operations, :integration_accounts, :integration_account_assemblies, :integration_account_batch_configurations, :schemas, :maps, :partners, :agreements, :certificates, :sessions, :configurable, :base_url, :options, :model_classes + attr_reader :workflows, :workflow_versions, :workflow_triggers, :workflow_trigger_histories, :workflow_runs, :workflow_run_actions, :workflow_run_action_repetitions, :workflow_run_action_scoped_repetitions, :workflow_run_operations, :integration_accounts, :integration_account_assemblies, :integration_account_batch_configurations, :schemas, :maps, :partners, :agreements, :sessions, :certificates, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -227,8 +227,8 @@ def initialize(configurable, base_url=nil, options=nil) @maps = @client_0.maps @partners = @client_0.partners @agreements = @client_0.agreements - @certificates = @client_0.certificates @sessions = @client_0.sessions + @certificates = @client_0.certificates @model_classes = ModelClasses.new end @@ -247,12 +247,24 @@ def method_missing(method, *args) end class ModelClasses + def key_vault_key_reference + Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference + end + def sku + Azure::Logic::Mgmt::V2016_06_01::Models::Sku + end + def error_response + Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + end + def key_type + Azure::Logic::Mgmt::V2016_06_01::Models::KeyType + end + def operation_result + Azure::Logic::Mgmt::V2016_06_01::Models::OperationResult + end def x12_security_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12SecuritySettings end - def resource - Azure::Logic::Mgmt::V2016_06_01::Models::Resource - end def x12_processing_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12ProcessingSettings end @@ -271,8 +283,8 @@ def x12_validation_override def workflow_filter Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowFilter end - def x12_message_identifier - Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageIdentifier + def resource + Azure::Logic::Mgmt::V2016_06_01::Models::Resource end def as2_protocol_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2ProtocolSettings @@ -310,42 +322,33 @@ def correlation def x12_acknowledgement_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12AcknowledgementSettings end - def content_link - Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink - end def x12_message_filter Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageFilter end def workflow_trigger_history_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerHistoryListResult end - def sub_resource - Azure::Logic::Mgmt::V2016_06_01::Models::SubResource + def x12_message_identifier + Azure::Logic::Mgmt::V2016_06_01::Models::X12MessageIdentifier end def workflow_run_trigger Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunTrigger end - def sku - Azure::Logic::Mgmt::V2016_06_01::Models::Sku - end def artifact_properties Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactProperties end - def workflow_run_filter - Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunFilter - end def access_key_regenerate_action_definition Azure::Logic::Mgmt::V2016_06_01::Models::AccessKeyRegenerateActionDefinition end def error_properties Azure::Logic::Mgmt::V2016_06_01::Models::ErrorProperties end + def workflow_run_filter + Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunFilter + end def workflow_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowListResult end - def retry_history - Azure::Logic::Mgmt::V2016_06_01::Models::RetryHistory - end def repetition_index Azure::Logic::Mgmt::V2016_06_01::Models::RepetitionIndex end @@ -361,8 +364,8 @@ def regenerate_action_parameter def x12_delimiter_overrides Azure::Logic::Mgmt::V2016_06_01::Models::X12DelimiterOverrides end - def integration_account_sku - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSku + def retry_history + Azure::Logic::Mgmt::V2016_06_01::Models::RetryHistory end def x12_protocol_settings Azure::Logic::Mgmt::V2016_06_01::Models::X12ProtocolSettings @@ -370,12 +373,12 @@ def x12_protocol_settings def integration_account_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountListResult end + def integration_account_sku + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSku + end def x12_one_way_agreement Azure::Logic::Mgmt::V2016_06_01::Models::X12OneWayAgreement end - def callback_url - Azure::Logic::Mgmt::V2016_06_01::Models::CallbackUrl - end def x12_agreement_content Azure::Logic::Mgmt::V2016_06_01::Models::X12AgreementContent end @@ -451,9 +454,6 @@ def workflow_trigger_list_result def edifact_protocol_settings Azure::Logic::Mgmt::V2016_06_01::Models::EdifactProtocolSettings end - def content_hash - Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash - end def edifact_one_way_agreement Azure::Logic::Mgmt::V2016_06_01::Models::EdifactOneWayAgreement end @@ -475,8 +475,8 @@ def assembly_collection def error_info Azure::Logic::Mgmt::V2016_06_01::Models::ErrorInfo end - def generate_upgraded_definition_parameters - Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters + def content_hash + Azure::Logic::Mgmt::V2016_06_01::Models::ContentHash end def integration_account_agreement_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementListResult @@ -484,8 +484,8 @@ def integration_account_agreement_list_result def get_callback_url_parameters Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters end - def integration_account_agreement_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter + def generate_upgraded_definition_parameters + Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters end def integration_account_schema_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSchemaFilter @@ -493,11 +493,8 @@ def integration_account_schema_filter def key_vault_key_reference_key_vault Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReferenceKeyVault end - def integration_account_map_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter - end - def key_vault_key_reference - Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultKeyReference + def integration_account_agreement_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreementFilter end def workflow_run_action_repetition_definition_collection Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinitionCollection @@ -505,51 +502,57 @@ def workflow_run_action_repetition_definition_collection def expression Azure::Logic::Mgmt::V2016_06_01::Models::Expression end + def integration_account_map_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountMapFilter + end def as2_acknowledgement_connection_settings Azure::Logic::Mgmt::V2016_06_01::Models::AS2AcknowledgementConnectionSettings end def integration_account_certificate_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountCertificateListResult end - def as2_envelope_settings - Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings + def callback_url + Azure::Logic::Mgmt::V2016_06_01::Models::CallbackUrl end def integration_account_session_filter Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionFilter end - def expression_traces - Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces + def as2_envelope_settings + Azure::Logic::Mgmt::V2016_06_01::Models::AS2EnvelopeSettings end def batch_configuration_collection Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationCollection end + def expression_traces + Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionTraces + end + def json_schema + Azure::Logic::Mgmt::V2016_06_01::Models::JsonSchema + end def integration_account_session_list_result Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSessionListResult end - def error_response - Azure::Logic::Mgmt::V2016_06_01::Models::ErrorResponse + def integration_account_partner_filter + Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter + end + def operation_result_properties + Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties end def operation_display Azure::Logic::Mgmt::V2016_06_01::Models::OperationDisplay end - def json_schema - Azure::Logic::Mgmt::V2016_06_01::Models::JsonSchema + def set_trigger_state_action_definition + Azure::Logic::Mgmt::V2016_06_01::Models::SetTriggerStateActionDefinition end def operation Azure::Logic::Mgmt::V2016_06_01::Models::Operation end - def operation_result_properties - Azure::Logic::Mgmt::V2016_06_01::Models::OperationResultProperties + def content_link + Azure::Logic::Mgmt::V2016_06_01::Models::ContentLink end def operation_list_result Azure::Logic::Mgmt::V2016_06_01::Models::OperationListResult end - def integration_account_partner_filter - Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountPartnerFilter - end - def set_trigger_state_action_definition - Azure::Logic::Mgmt::V2016_06_01::Models::SetTriggerStateActionDefinition - end def workflow_version_list_result Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowVersionListResult end @@ -637,23 +640,17 @@ def integration_account_session def key_vault_reference Azure::Logic::Mgmt::V2016_06_01::Models::KeyVaultReference end - def expression_root - Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionRoot - end def azure_resource_error_info Azure::Logic::Mgmt::V2016_06_01::Models::AzureResourceErrorInfo end def workflow_run_action_repetition_definition Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowRunActionRepetitionDefinition end - def operation_result - Azure::Logic::Mgmt::V2016_06_01::Models::OperationResult - end def run_action_correlation Azure::Logic::Mgmt::V2016_06_01::Models::RunActionCorrelation end - def assembly_definition - Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyDefinition + def expression_root + Azure::Logic::Mgmt::V2016_06_01::Models::ExpressionRoot end def artifact_content_properties_definition Azure::Logic::Mgmt::V2016_06_01::Models::ArtifactContentPropertiesDefinition @@ -664,8 +661,8 @@ def assembly_properties def batch_configuration_properties Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfigurationProperties end - def batch_configuration - Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfiguration + def assembly_definition + Azure::Logic::Mgmt::V2016_06_01::Models::AssemblyDefinition end def workflow_provisioning_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowProvisioningState @@ -673,11 +670,20 @@ def workflow_provisioning_state def workflow_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowState end + def parameter_type + Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType + end + def batch_configuration + Azure::Logic::Mgmt::V2016_06_01::Models::BatchConfiguration + end def sku_name Azure::Logic::Mgmt::V2016_06_01::Models::SkuName end - def parameter_type - Azure::Logic::Mgmt::V2016_06_01::Models::ParameterType + def recurrence_frequency + Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency + end + def days_of_week + Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek end def workflow_trigger_provisioning_state Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowTriggerProvisioningState @@ -685,26 +691,23 @@ def workflow_trigger_provisioning_state def workflow_status Azure::Logic::Mgmt::V2016_06_01::Models::WorkflowStatus end - def recurrence_frequency - Azure::Logic::Mgmt::V2016_06_01::Models::RecurrenceFrequency + def schema_type + Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType end - def days_of_week - Azure::Logic::Mgmt::V2016_06_01::Models::DaysOfWeek + def map_type + Azure::Logic::Mgmt::V2016_06_01::Models::MapType end def day_of_week Azure::Logic::Mgmt::V2016_06_01::Models::DayOfWeek end - def key_type - Azure::Logic::Mgmt::V2016_06_01::Models::KeyType - end def integration_account_sku_name Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountSkuName end - def schema_type - Azure::Logic::Mgmt::V2016_06_01::Models::SchemaType + def sub_resource + Azure::Logic::Mgmt::V2016_06_01::Models::SubResource end - def map_type - Azure::Logic::Mgmt::V2016_06_01::Models::MapType + def encryption_algorithm + Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm end def partner_type Azure::Logic::Mgmt::V2016_06_01::Models::PartnerType @@ -715,8 +718,8 @@ def agreement_type def hashing_algorithm Azure::Logic::Mgmt::V2016_06_01::Models::HashingAlgorithm end - def encryption_algorithm - Azure::Logic::Mgmt::V2016_06_01::Models::EncryptionAlgorithm + def segment_terminator_suffix + Azure::Logic::Mgmt::V2016_06_01::Models::SegmentTerminatorSuffix end def signing_algorithm Azure::Logic::Mgmt::V2016_06_01::Models::SigningAlgorithm @@ -727,8 +730,8 @@ def trailing_separator_policy def x12_character_set Azure::Logic::Mgmt::V2016_06_01::Models::X12CharacterSet end - def segment_terminator_suffix - Azure::Logic::Mgmt::V2016_06_01::Models::SegmentTerminatorSuffix + def message_filter_type + Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType end def x12_date_format Azure::Logic::Mgmt::V2016_06_01::Models::X12DateFormat @@ -739,8 +742,8 @@ def x12_time_format def usage_indicator Azure::Logic::Mgmt::V2016_06_01::Models::UsageIndicator end - def message_filter_type - Azure::Logic::Mgmt::V2016_06_01::Models::MessageFilterType + def event_level + Azure::Logic::Mgmt::V2016_06_01::Models::EventLevel end def edifact_character_set Azure::Logic::Mgmt::V2016_06_01::Models::EdifactCharacterSet @@ -751,9 +754,6 @@ def edifact_decimal_indicator def track_events_operation_options Azure::Logic::Mgmt::V2016_06_01::Models::TrackEventsOperationOptions end - def event_level - Azure::Logic::Mgmt::V2016_06_01::Models::EventLevel - end def tracking_record_type Azure::Logic::Mgmt::V2016_06_01::Models::TrackingRecordType end diff --git a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb index 4b198c7d23..329981510c 100644 --- a/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb +++ b/azure_sdk/lib/latest/modules/machinelearning_profile_module.rb @@ -7,16 +7,26 @@ module Azure::Profiles::Latest module MachineLearning module Mgmt - Operations = Azure::MachineLearning::Mgmt::V2017_01_01::Operations WebServices = Azure::MachineLearning::Mgmt::V2017_01_01::WebServices + Operations = Azure::MachineLearning::Mgmt::V2017_01_01::Operations module Models - AssetItem = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetItem + ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState + ColumnFormat = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat + AssetType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType + InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType + OutputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType + StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount + OperationDisplayInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo + OperationEntity = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity + OperationEntityListResult = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult + AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus + ParameterType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType Resource = Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource + AssetItem = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetItem WebServiceParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceParameter RealtimeConfiguration = Azure::MachineLearning::Mgmt::V2017_01_01::Models::RealtimeConfiguration WebServiceProperties = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceProperties - StorageAccount = Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount MachineLearningWorkspace = Azure::MachineLearning::Mgmt::V2017_01_01::Models::MachineLearningWorkspace CommitmentPlan = Azure::MachineLearning::Mgmt::V2017_01_01::Models::CommitmentPlan TableSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::TableSpecification @@ -30,31 +40,21 @@ module Models WebServiceKeys = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceKeys GraphPackage = Azure::MachineLearning::Mgmt::V2017_01_01::Models::GraphPackage ColumnSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification - OperationEntityListResult = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult BlobLocation = Azure::MachineLearning::Mgmt::V2017_01_01::Models::BlobLocation PaginatedWebServicesList = Azure::MachineLearning::Mgmt::V2017_01_01::Models::PaginatedWebServicesList ModuleAssetParameter = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ModuleAssetParameter AsyncOperationErrorInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo ServiceInputOutputSpecification = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification - AsyncOperationStatus = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus DiagnosticsConfiguration = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsConfiguration - OperationDisplayInfo = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo OutputPort = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPort - OperationEntity = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity WebService = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService WebServicePropertiesForGraph = Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph - ProvisioningState = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState DiagnosticsLevel = Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel ColumnType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType - ColumnFormat = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat - AssetType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType - InputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType - OutputPortType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType - ParameterType = Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType end class MachineLearningManagementClass - attr_reader :operations, :web_services, :configurable, :base_url, :options, :model_classes + attr_reader :web_services, :operations, :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) - @operations = @client_0.operations @web_services = @client_0.web_services + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -84,12 +84,45 @@ def method_missing(method, *args) end class ModelClasses - def asset_item - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetItem + def provisioning_state + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState + end + def column_format + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat + end + def asset_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType + end + def input_port_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType + end + def output_port_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType + end + def storage_account + Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount + end + def operation_display_info + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo + end + def operation_entity + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity + end + def operation_entity_list_result + Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult + end + def async_operation_status + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus + end + def parameter_type + Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType end def resource Azure::MachineLearning::Mgmt::V2017_01_01::Models::Resource end + def asset_item + Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetItem + end def web_service_parameter Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceParameter end @@ -99,9 +132,6 @@ def realtime_configuration def web_service_properties Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServiceProperties end - def storage_account - Azure::MachineLearning::Mgmt::V2017_01_01::Models::StorageAccount - end def machine_learning_workspace Azure::MachineLearning::Mgmt::V2017_01_01::Models::MachineLearningWorkspace end @@ -141,9 +171,6 @@ def graph_package def column_specification Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnSpecification end - def operation_entity_list_result - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntityListResult - end def blob_location Azure::MachineLearning::Mgmt::V2017_01_01::Models::BlobLocation end @@ -159,51 +186,24 @@ def async_operation_error_info def service_input_output_specification Azure::MachineLearning::Mgmt::V2017_01_01::Models::ServiceInputOutputSpecification end - def async_operation_status - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationStatus - end def diagnostics_configuration Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsConfiguration end - def operation_display_info - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationDisplayInfo - end def output_port Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPort end - def operation_entity - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OperationEntity - end def web_service Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebService end def web_service_properties_for_graph Azure::MachineLearning::Mgmt::V2017_01_01::Models::WebServicePropertiesForGraph end - def provisioning_state - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ProvisioningState - end def diagnostics_level Azure::MachineLearning::Mgmt::V2017_01_01::Models::DiagnosticsLevel end def column_type Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnType end - def column_format - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ColumnFormat - end - def asset_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::AssetType - end - def input_port_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::InputPortType - end - def output_port_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::OutputPortType - end - def parameter_type - Azure::MachineLearning::Mgmt::V2017_01_01::Models::ParameterType - end end end end diff --git a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb index 582d5c3042..ac752d4848 100644 --- a/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedapplications_profile_module.rb @@ -11,24 +11,24 @@ module Mgmt ApplicationDefinitions = Azure::ManagedApplications::Mgmt::V2018_06_01::ApplicationDefinitions module Models - Sku = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Sku Plan = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Plan - Identity = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Identity - PlanPatchable = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::PlanPatchable - ErrorResponse = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ErrorResponse - ApplicationProviderAuthorization = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization ApplicationDefinitionListResult = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinitionListResult - ApplicationListResult = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationListResult - ApplicationArtifact = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifact - Resource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Resource + ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition + Identity = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Identity GenericResource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::GenericResource - Application = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Application + Sku = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Sku ApplicationPatchable = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationPatchable - ApplicationDefinition = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition - ProvisioningState = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ProvisioningState + ResourceIdentityType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ResourceIdentityType ApplicationLockLevel = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel ApplicationArtifactType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifactType - ResourceIdentityType = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ResourceIdentityType + Application = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Application + 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 + PlanPatchable = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::PlanPatchable + ApplicationProviderAuthorization = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization + Resource = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Resource + ApplicationArtifact = Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifact end class ManagedApplicationsManagementClass @@ -62,50 +62,29 @@ def method_missing(method, *args) end class ModelClasses - def sku - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Sku - end def plan Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Plan end - def identity - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Identity - end - def plan_patchable - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::PlanPatchable - end - def error_response - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ErrorResponse - end - def application_provider_authorization - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization - end def application_definition_list_result Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinitionListResult end - def application_list_result - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationListResult - end - def application_artifact - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifact + def application_definition + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition end - def resource - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Resource + def identity + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Identity end def generic_resource Azure::ManagedApplications::Mgmt::V2018_06_01::Models::GenericResource end - def application - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Application + def sku + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Sku end def application_patchable Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationPatchable end - def application_definition - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationDefinition - end - def provisioning_state - Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ProvisioningState + def resource_identity_type + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ResourceIdentityType end def application_lock_level Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationLockLevel @@ -113,8 +92,29 @@ def application_lock_level 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 + def application + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Application + 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 + def application_list_result + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationListResult + end + def plan_patchable + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::PlanPatchable + end + def application_provider_authorization + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationProviderAuthorization + end + def resource + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::Resource + end + def application_artifact + Azure::ManagedApplications::Mgmt::V2018_06_01::Models::ApplicationArtifact end end end diff --git a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb index 14f3182b97..9ed6737009 100644 --- a/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb +++ b/azure_sdk/lib/latest/modules/managedserviceidentity_profile_module.rb @@ -7,20 +7,20 @@ module Azure::Profiles::Latest module ManagedServiceIdentity module Mgmt - Operations = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Operations UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::UserAssignedIdentities + Operations = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Operations module Models - Identity = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity - OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay Operation = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation - UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult OperationListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult UserAssignedIdentities = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities + UserAssignedIdentitiesListResult = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult + Identity = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity + OperationDisplay = Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay end class ManagedServiceIdentityManagementClass - attr_reader :operations, :user_assigned_identities, :configurable, :base_url, :options, :model_classes + attr_reader :user_assigned_identities, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -30,8 +30,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @user_assigned_identities = @client_0.user_assigned_identities + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -50,24 +50,24 @@ def method_missing(method, *args) end class ModelClasses - def identity - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity - end - def operation_display - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay - end def operation Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Operation end - def user_assigned_identities_list_result - Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult - end def operation_list_result Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationListResult end def user_assigned_identities Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentities end + def user_assigned_identities_list_result + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::UserAssignedIdentitiesListResult + end + def identity + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::Identity + end + def operation_display + Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview::Models::OperationDisplay + end end end end diff --git a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb index 80f1528636..6357112f5d 100644 --- a/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb +++ b/azure_sdk/lib/latest/modules/marketplaceordering_profile_module.rb @@ -11,11 +11,11 @@ module Mgmt Operations = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Operations 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 - ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError OperationListResult = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult - ErrorResponse = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + ErrorResponseError = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError Resource = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource AgreementTerms = Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::AgreementTerms end @@ -51,20 +51,20 @@ 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 error_response_error - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError - end def operation_list_result Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::OperationListResult end - def error_response - Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponse + def error_response_error + Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::ErrorResponseError end def resource Azure::MarketplaceOrdering::Mgmt::V2015_06_01::Models::Resource diff --git a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb index 3268625d67..05458d8e07 100644 --- a/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/mediaservices_profile_module.rb @@ -7,10 +7,12 @@ module Azure::Profiles::Latest module MediaServices module Mgmt - AccountFilters = Azure::MediaServices::Mgmt::V2018_07_01::AccountFilters + LiveOutputs = Azure::MediaServices::Mgmt::V2018_07_01::LiveOutputs + StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_07_01::StreamingEndpoints + Locations = Azure::MediaServices::Mgmt::V2018_07_01::Locations Operations = Azure::MediaServices::Mgmt::V2018_07_01::Operations + AccountFilters = Azure::MediaServices::Mgmt::V2018_07_01::AccountFilters Mediaservices = Azure::MediaServices::Mgmt::V2018_07_01::Mediaservices - Locations = Azure::MediaServices::Mgmt::V2018_07_01::Locations Assets = Azure::MediaServices::Mgmt::V2018_07_01::Assets AssetFilters = Azure::MediaServices::Mgmt::V2018_07_01::AssetFilters ContentKeyPolicies = Azure::MediaServices::Mgmt::V2018_07_01::ContentKeyPolicies @@ -19,83 +21,8 @@ module Mgmt StreamingPolicies = Azure::MediaServices::Mgmt::V2018_07_01::StreamingPolicies StreamingLocators = Azure::MediaServices::Mgmt::V2018_07_01::StreamingLocators LiveEvents = Azure::MediaServices::Mgmt::V2018_07_01::LiveEvents - LiveOutputs = Azure::MediaServices::Mgmt::V2018_07_01::LiveOutputs - StreamingEndpoints = Azure::MediaServices::Mgmt::V2018_07_01::StreamingEndpoints module Models - Codec = Azure::MediaServices::Mgmt::V2018_07_01::Models::Codec - PresentationTimeRange = Azure::MediaServices::Mgmt::V2018_07_01::Models::PresentationTimeRange - ContentKeyPolicyProperties = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyProperties - 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 - ODataError = Azure::MediaServices::Mgmt::V2018_07_01::Models::ODataError - 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 - Resource = Azure::MediaServices::Mgmt::V2018_07_01::Models::Resource - FilterTrackPropertyCondition = Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyCondition - Provider = Azure::MediaServices::Mgmt::V2018_07_01::Models::Provider - 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 - ServiceSpecification = Azure::MediaServices::Mgmt::V2018_07_01::Models::ServiceSpecification - ListContentKeysResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListContentKeysResponse - Operation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Operation - 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 - CommonEncryptionCenc = Azure::MediaServices::Mgmt::V2018_07_01::Models::CommonEncryptionCenc - ApiError = Azure::MediaServices::Mgmt::V2018_07_01::Models::ApiError - OperationCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationCollection - LiveOutputListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputListResult - CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput - LiveEventEndpoint = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEndpoint - AssetContainerSas = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetContainerSas - OperationDisplay = Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationDisplay - StorageEncryptedAssetDecryptionData = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageEncryptedAssetDecryptionData - Metric = Azure::MediaServices::Mgmt::V2018_07_01::Models::Metric - ListStreamingLocatorsResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListStreamingLocatorsResponse - MetricProperties = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricProperties - StreamingPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyPlayReadyConfiguration - Location = Azure::MediaServices::Mgmt::V2018_07_01::Models::Location - ListContainerSasInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListContainerSasInput - StorageAccount = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount - ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction - JobInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInput - StreamingPolicyContentKeys = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKeys - Hls = Azure::MediaServices::Mgmt::V2018_07_01::Models::Hls - ContentKeyPolicyPlayReadyPlayRight = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyPlayRight - 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 - Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Format - ContentKeyPolicyConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyConfiguration - EnabledProtocols = Azure::MediaServices::Mgmt::V2018_07_01::Models::EnabledProtocols - TrackPropertyCondition = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCondition - CencDrmConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::CencDrmConfiguration - 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 - JobError = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobError - Deinterlace = Azure::MediaServices::Mgmt::V2018_07_01::Models::Deinterlace - StreamingLocatorCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorCollection - Rectangle = Azure::MediaServices::Mgmt::V2018_07_01::Models::Rectangle - IPRange = Azure::MediaServices::Mgmt::V2018_07_01::Models::IPRange - MediaServiceCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaServiceCollection - Filters = Azure::MediaServices::Mgmt::V2018_07_01::Models::Filters - AssetFileEncryptionMetadata = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFileEncryptionMetadata - Layer = Azure::MediaServices::Mgmt::V2018_07_01::Models::Layer - StreamingPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyWidevineConfiguration - StreamingEndpointListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointListResult - AssetFilterCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFilterCollection - StreamingEntityScaleUnit = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEntityScaleUnit - StreamingPolicyContentKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKey - StreamingEndpointAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointAccessControl - ContentKeyPolicyRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestriction - AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl ContentKeyPolicyRestrictionTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenKey AkamaiSignatureHeaderAuthenticationKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey ListPathsResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse @@ -121,106 +48,179 @@ module Models AssetStreamingLocator = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStreamingLocator TransformOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformOutput AccountFilter = Azure::MediaServices::Mgmt::V2018_07_01::Models::AccountFilter - TrackedResource = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackedResource - ProxyResource = Azure::MediaServices::Mgmt::V2018_07_01::Models::ProxyResource MediaService = Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaService SubscriptionMediaService = Azure::MediaServices::Mgmt::V2018_07_01::Models::SubscriptionMediaService - Asset = Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset + ProxyResource = Azure::MediaServices::Mgmt::V2018_07_01::Models::ProxyResource + TrackedResource = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackedResource AssetFilter = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFilter - ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader + Asset = Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier ContentKeyPolicyOpenRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyOpenRestriction - ContentKeyPolicyUnknownRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownRestriction ContentKeyPolicySymmetricTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicySymmetricTokenKey ContentKeyPolicyRsaTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRsaTokenKey - ContentKeyPolicyX509CertificateTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyX509CertificateTokenKey + ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader ContentKeyPolicyTokenRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyTokenRestriction ContentKeyPolicyClearKeyConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyClearKeyConfiguration - ContentKeyPolicyUnknownConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownConfiguration + ContentKeyPolicyUnknownRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownRestriction ContentKeyPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyWidevineConfiguration ContentKeyPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyConfiguration - ContentKeyPolicyFairPlayConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayConfiguration + ContentKeyPolicyX509CertificateTokenKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyX509CertificateTokenKey ContentKeyPolicy = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicy Audio = Azure::MediaServices::Mgmt::V2018_07_01::Models::Audio - AacAudio = Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudio + ContentKeyPolicyUnknownConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownConfiguration AudioAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioAnalyzerPreset AudioOverlay = Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioOverlay - CopyVideo = Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyVideo + ContentKeyPolicyFairPlayConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayConfiguration Video = Azure::MediaServices::Mgmt::V2018_07_01::Models::Video - Image = Azure::MediaServices::Mgmt::V2018_07_01::Models::Image ImageFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::ImageFormat - JpgFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgFormat + AacAudio = Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudio PngFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::PngFormat CopyAudio = Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyAudio - VideoLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoLayer + CopyVideo = Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyVideo H264Layer = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Layer H264Video = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Video - JpgLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgLayer + JpgFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgFormat JpgImage = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgImage MultiBitrateFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::MultiBitrateFormat - Mp4Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Mp4Format + VideoLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoLayer PngLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::PngLayer PngImage = Azure::MediaServices::Mgmt::V2018_07_01::Models::PngImage - BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::BuiltInStandardEncoderPreset + JpgLayer = Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgLayer StandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::StandardEncoderPreset VideoAnalyzerPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoAnalyzerPreset - TransportStreamFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::TransportStreamFormat + Mp4Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Mp4Format VideoOverlay = Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoOverlay Transform = Azure::MediaServices::Mgmt::V2018_07_01::Models::Transform - JobInputClip = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip + BuiltInStandardEncoderPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::BuiltInStandardEncoderPreset JobInputs = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputs JobInputAsset = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputAsset + Provider = Azure::MediaServices::Mgmt::V2018_07_01::Models::Provider JobInputHttp = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputHttp - JobOutputAsset = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobOutputAsset - Job = Azure::MediaServices::Mgmt::V2018_07_01::Models::Job StreamingPolicy = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicy - StreamingLocator = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator - LiveOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput + Filters = Azure::MediaServices::Mgmt::V2018_07_01::Models::Filters + TransportStreamFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::TransportStreamFormat LiveEvent = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent - StreamingEndpoint = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpoint + StreamingLocator = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator + JobInputClip = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip FilterTrackPropertyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyType FilterTrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyCompareOperation - MetricUnit = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricUnit - MetricAggregationType = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType - StorageAccountType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccountType - AssetStorageEncryptionFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStorageEncryptionFormat + LiveOutput = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput + JobOutputAsset = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobOutputAsset + Job = Azure::MediaServices::Mgmt::V2018_07_01::Models::Job AssetContainerPermission = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetContainerPermission ContentKeyPolicyPlayReadyUnknownOutputPassingOption = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption - ContentKeyPolicyPlayReadyLicenseType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType + MetricUnit = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricUnit + StreamingEndpoint = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpoint + ApiError = Azure::MediaServices::Mgmt::V2018_07_01::Models::ApiError ContentKeyPolicyPlayReadyContentType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentType ContentKeyPolicyRestrictionTokenType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType - ContentKeyPolicyFairPlayRentalAndLeaseKeyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType - AacAudioProfile = Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile + MetricAggregationType = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType + AssetStorageEncryptionFormat = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStorageEncryptionFormat StretchMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::StretchMode - DeinterlaceParity = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceParity - DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode + Resource = Azure::MediaServices::Mgmt::V2018_07_01::Models::Resource + ContentKeyPolicyPlayReadyLicenseType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType Rotation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation + DeinterlaceParity = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceParity + ContentKeyPolicyFairPlayRentalAndLeaseKeyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType + AacAudioProfile = Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile H264VideoProfile = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile EntropyMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode - H264Complexity = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + DeinterlaceMode = Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode EncoderNamedPreset = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset InsightsType = Azure::MediaServices::Mgmt::V2018_07_01::Models::InsightsType OnErrorType = Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType - Priority = Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority + Image = Azure::MediaServices::Mgmt::V2018_07_01::Models::Image JobErrorCode = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode JobErrorCategory = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCategory JobRetry = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobRetry - JobState = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobState - TrackPropertyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType - TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation + Priority = Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority + H264Complexity = Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity StreamingLocatorContentKeyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType StreamingPolicyStreamingProtocol = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyStreamingProtocol - EncryptionScheme = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncryptionScheme - LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState + TrackPropertyType = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType + TrackPropertyCompareOperation = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation LiveEventInputProtocol = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol LiveEventEncodingType = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEncodingType + EncryptionScheme = Azure::MediaServices::Mgmt::V2018_07_01::Models::EncryptionScheme + LiveOutputResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState + StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState LiveEventResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventResourceState StreamOptionsFlag = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamOptionsFlag - StreamingEndpointResourceState = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState + JobState = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobState + StorageAccountType = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccountType + StorageAccount = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount + CheckNameAvailabilityInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput + Format = Azure::MediaServices::Mgmt::V2018_07_01::Models::Format + OperationDisplay = Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationDisplay + Operation = Azure::MediaServices::Mgmt::V2018_07_01::Models::Operation + ServiceSpecification = Azure::MediaServices::Mgmt::V2018_07_01::Models::ServiceSpecification + Location = Azure::MediaServices::Mgmt::V2018_07_01::Models::Location + OperationCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationCollection + Codec = Azure::MediaServices::Mgmt::V2018_07_01::Models::Codec + PresentationTimeRange = Azure::MediaServices::Mgmt::V2018_07_01::Models::PresentationTimeRange + ContentKeyPolicyProperties = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyProperties + 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 + ODataError = Azure::MediaServices::Mgmt::V2018_07_01::Models::ODataError + 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 + 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 + CommonEncryptionCenc = Azure::MediaServices::Mgmt::V2018_07_01::Models::CommonEncryptionCenc + LiveOutputListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputListResult + LiveEventEndpoint = Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEndpoint + AssetContainerSas = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetContainerSas + StorageEncryptedAssetDecryptionData = Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageEncryptedAssetDecryptionData + Metric = Azure::MediaServices::Mgmt::V2018_07_01::Models::Metric + ListStreamingLocatorsResponse = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListStreamingLocatorsResponse + MetricProperties = Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricProperties + StreamingPolicyPlayReadyConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyPlayReadyConfiguration + ListContainerSasInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::ListContainerSasInput + ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction + JobInput = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInput + StreamingPolicyContentKeys = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKeys + Hls = Azure::MediaServices::Mgmt::V2018_07_01::Models::Hls + ContentKeyPolicyPlayReadyPlayRight = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyPlayRight + 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 + EnabledProtocols = Azure::MediaServices::Mgmt::V2018_07_01::Models::EnabledProtocols + TrackPropertyCondition = Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCondition + CencDrmConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::CencDrmConfiguration + 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 + JobError = Azure::MediaServices::Mgmt::V2018_07_01::Models::JobError + Deinterlace = Azure::MediaServices::Mgmt::V2018_07_01::Models::Deinterlace + StreamingLocatorCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorCollection + Rectangle = Azure::MediaServices::Mgmt::V2018_07_01::Models::Rectangle + IPRange = Azure::MediaServices::Mgmt::V2018_07_01::Models::IPRange + MediaServiceCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaServiceCollection + AssetFileEncryptionMetadata = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFileEncryptionMetadata + Layer = Azure::MediaServices::Mgmt::V2018_07_01::Models::Layer + StreamingPolicyWidevineConfiguration = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyWidevineConfiguration + StreamingEndpointListResult = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointListResult + AssetFilterCollection = Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFilterCollection + StreamingEntityScaleUnit = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEntityScaleUnit + StreamingPolicyContentKey = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKey + StreamingEndpointAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointAccessControl + ContentKeyPolicyRestriction = Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestriction + AkamaiAccessControl = Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl end class MediaServicesManagementClass - attr_reader :account_filters, :operations, :mediaservices, :locations, :assets, :asset_filters, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :live_outputs, :streaming_endpoints, :configurable, :base_url, :options, :model_classes + attr_reader :live_outputs, :streaming_endpoints, :locations, :operations, :account_filters, :mediaservices, :assets, :asset_filters, :content_key_policies, :transforms, :jobs, :streaming_policies, :streaming_locators, :live_events, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -230,10 +230,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @account_filters = @client_0.account_filters + @live_outputs = @client_0.live_outputs + @streaming_endpoints = @client_0.streaming_endpoints + @locations = @client_0.locations @operations = @client_0.operations + @account_filters = @client_0.account_filters @mediaservices = @client_0.mediaservices - @locations = @client_0.locations @assets = @client_0.assets @asset_filters = @client_0.asset_filters @content_key_policies = @client_0.content_key_policies @@ -242,8 +244,6 @@ def initialize(configurable, base_url=nil, options=nil) @streaming_policies = @client_0.streaming_policies @streaming_locators = @client_0.streaming_locators @live_events = @client_0.live_events - @live_outputs = @client_0.live_outputs - @streaming_endpoints = @client_0.streaming_endpoints @model_classes = ModelClasses.new end @@ -262,233 +262,14 @@ def method_missing(method, *args) end class ModelClasses - def codec - Azure::MediaServices::Mgmt::V2018_07_01::Models::Codec + def content_key_policy_restriction_token_key + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenKey end - def presentation_time_range - Azure::MediaServices::Mgmt::V2018_07_01::Models::PresentationTimeRange + def akamai_signature_header_authentication_key + Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiSignatureHeaderAuthenticationKey end - def content_key_policy_properties - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyProperties - end - def first_quality - Azure::MediaServices::Mgmt::V2018_07_01::Models::FirstQuality - end - def filter_track_selection - Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackSelection - end - def streaming_policy_fair_play_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyFairPlayConfiguration - end - def odata_error - Azure::MediaServices::Mgmt::V2018_07_01::Models::ODataError - 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 - def preset - Azure::MediaServices::Mgmt::V2018_07_01::Models::Preset - end - def resource - Azure::MediaServices::Mgmt::V2018_07_01::Models::Resource - end - def filter_track_property_condition - Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyCondition - end - def provider - Azure::MediaServices::Mgmt::V2018_07_01::Models::Provider - end - 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 service_specification - Azure::MediaServices::Mgmt::V2018_07_01::Models::ServiceSpecification - end - def list_content_keys_response - Azure::MediaServices::Mgmt::V2018_07_01::Models::ListContentKeysResponse - end - def operation - Azure::MediaServices::Mgmt::V2018_07_01::Models::Operation - end - 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 - end - def common_encryption_cbcs - Azure::MediaServices::Mgmt::V2018_07_01::Models::CommonEncryptionCbcs - end - def sync_storage_keys_input - Azure::MediaServices::Mgmt::V2018_07_01::Models::SyncStorageKeysInput - end - def common_encryption_cenc - Azure::MediaServices::Mgmt::V2018_07_01::Models::CommonEncryptionCenc - end - def api_error - Azure::MediaServices::Mgmt::V2018_07_01::Models::ApiError - end - def operation_collection - Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationCollection - end - def live_output_list_result - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputListResult - end - def check_name_availability_input - Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput - end - def live_event_endpoint - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEndpoint - end - def asset_container_sas - Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetContainerSas - end - def operation_display - Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationDisplay - end - def storage_encrypted_asset_decryption_data - Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageEncryptedAssetDecryptionData - end - def metric - Azure::MediaServices::Mgmt::V2018_07_01::Models::Metric - end - def list_streaming_locators_response - Azure::MediaServices::Mgmt::V2018_07_01::Models::ListStreamingLocatorsResponse - end - def metric_properties - Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricProperties - end - def streaming_policy_play_ready_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyPlayReadyConfiguration - end - def location - Azure::MediaServices::Mgmt::V2018_07_01::Models::Location - end - def list_container_sas_input - Azure::MediaServices::Mgmt::V2018_07_01::Models::ListContainerSasInput - end - def storage_account - Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount - end - def content_key_policy_play_ready_explicit_analog_television_restriction - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction - end - def job_input - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInput - end - def streaming_policy_content_keys - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKeys - end - def hls - Azure::MediaServices::Mgmt::V2018_07_01::Models::Hls - end - def content_key_policy_play_ready_play_right - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyPlayRight - end - 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 - end - def no_encryption - Azure::MediaServices::Mgmt::V2018_07_01::Models::NoEncryption - end - def default_key - Azure::MediaServices::Mgmt::V2018_07_01::Models::DefaultKey - end - def format - Azure::MediaServices::Mgmt::V2018_07_01::Models::Format - end - def content_key_policy_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyConfiguration - end - def enabled_protocols - Azure::MediaServices::Mgmt::V2018_07_01::Models::EnabledProtocols - end - def track_property_condition - Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCondition - end - def cenc_drm_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::CencDrmConfiguration - end - def transform_collection - Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformCollection - 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 - 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 - end - 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 - end - def filters - Azure::MediaServices::Mgmt::V2018_07_01::Models::Filters - end - 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 - end - 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 - end - 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 - end - 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 - end - def list_paths_response - Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse + def list_paths_response + Azure::MediaServices::Mgmt::V2018_07_01::Models::ListPathsResponse end def output_file Azure::MediaServices::Mgmt::V2018_07_01::Models::OutputFile @@ -556,26 +337,23 @@ def transform_output def account_filter Azure::MediaServices::Mgmt::V2018_07_01::Models::AccountFilter end - def tracked_resource - Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackedResource - end - def proxy_resource - Azure::MediaServices::Mgmt::V2018_07_01::Models::ProxyResource - end def media_service Azure::MediaServices::Mgmt::V2018_07_01::Models::MediaService end def subscription_media_service Azure::MediaServices::Mgmt::V2018_07_01::Models::SubscriptionMediaService end - def asset - Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset + def proxy_resource + Azure::MediaServices::Mgmt::V2018_07_01::Models::ProxyResource + end + def tracked_resource + Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackedResource end def asset_filter Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetFilter end - def content_key_policy_play_ready_content_encryption_key_from_header - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader + def asset + Azure::MediaServices::Mgmt::V2018_07_01::Models::Asset end def content_key_policy_play_ready_content_encryption_key_from_key_identifier Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier @@ -583,17 +361,14 @@ def content_key_policy_play_ready_content_encryption_key_from_key_identifier def content_key_policy_open_restriction Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyOpenRestriction end - 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 end def content_key_policy_rsa_token_key Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRsaTokenKey end - def content_key_policy_x509_certificate_token_key - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyX509CertificateTokenKey + def content_key_policy_play_ready_content_encryption_key_from_header + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader end def content_key_policy_token_restriction Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyTokenRestriction @@ -601,8 +376,8 @@ def content_key_policy_token_restriction def content_key_policy_clear_key_configuration Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyClearKeyConfiguration end - def content_key_policy_unknown_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownConfiguration + def content_key_policy_unknown_restriction + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownRestriction end def content_key_policy_widevine_configuration Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyWidevineConfiguration @@ -610,8 +385,8 @@ def content_key_policy_widevine_configuration def content_key_policy_play_ready_configuration Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyConfiguration end - def content_key_policy_fair_play_configuration - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayConfiguration + def content_key_policy_x509_certificate_token_key + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyX509CertificateTokenKey end def content_key_policy Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicy @@ -619,8 +394,8 @@ def content_key_policy def audio Azure::MediaServices::Mgmt::V2018_07_01::Models::Audio end - def aac_audio - Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudio + def content_key_policy_unknown_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyUnknownConfiguration end def audio_analyzer_preset Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioAnalyzerPreset @@ -628,20 +403,17 @@ def audio_analyzer_preset def audio_overlay Azure::MediaServices::Mgmt::V2018_07_01::Models::AudioOverlay end - def copy_video - Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyVideo - end + def content_key_policy_fair_play_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayConfiguration + end def video Azure::MediaServices::Mgmt::V2018_07_01::Models::Video end - def image - Azure::MediaServices::Mgmt::V2018_07_01::Models::Image - end def image_format Azure::MediaServices::Mgmt::V2018_07_01::Models::ImageFormat end - def jpg_format - Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgFormat + def aac_audio + Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudio end def png_format Azure::MediaServices::Mgmt::V2018_07_01::Models::PngFormat @@ -649,8 +421,8 @@ def png_format def copy_audio Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyAudio end - def video_layer - Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoLayer + def copy_video + Azure::MediaServices::Mgmt::V2018_07_01::Models::CopyVideo end def h264_layer Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Layer @@ -658,8 +430,8 @@ def h264_layer def h264_video Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Video end - def jpg_layer - Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgLayer + def jpg_format + Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgFormat end def jpg_image Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgImage @@ -667,8 +439,8 @@ def jpg_image def multi_bitrate_format Azure::MediaServices::Mgmt::V2018_07_01::Models::MultiBitrateFormat end - def mp4_format - Azure::MediaServices::Mgmt::V2018_07_01::Models::Mp4Format + def video_layer + Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoLayer end def png_layer Azure::MediaServices::Mgmt::V2018_07_01::Models::PngLayer @@ -676,8 +448,8 @@ def png_layer def png_image Azure::MediaServices::Mgmt::V2018_07_01::Models::PngImage end - def built_in_standard_encoder_preset - Azure::MediaServices::Mgmt::V2018_07_01::Models::BuiltInStandardEncoderPreset + def jpg_layer + Azure::MediaServices::Mgmt::V2018_07_01::Models::JpgLayer end def standard_encoder_preset Azure::MediaServices::Mgmt::V2018_07_01::Models::StandardEncoderPreset @@ -685,8 +457,8 @@ def standard_encoder_preset def video_analyzer_preset Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoAnalyzerPreset end - def transport_stream_format - Azure::MediaServices::Mgmt::V2018_07_01::Models::TransportStreamFormat + def mp4_format + Azure::MediaServices::Mgmt::V2018_07_01::Models::Mp4Format end def video_overlay Azure::MediaServices::Mgmt::V2018_07_01::Models::VideoOverlay @@ -694,8 +466,8 @@ def video_overlay def transform Azure::MediaServices::Mgmt::V2018_07_01::Models::Transform end - def job_input_clip - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip + def built_in_standard_encoder_preset + Azure::MediaServices::Mgmt::V2018_07_01::Models::BuiltInStandardEncoderPreset end def job_inputs Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputs @@ -703,29 +475,29 @@ def job_inputs def job_input_asset Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputAsset end + def provider + Azure::MediaServices::Mgmt::V2018_07_01::Models::Provider + end 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 - end - def job - Azure::MediaServices::Mgmt::V2018_07_01::Models::Job - end def streaming_policy Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicy end - def streaming_locator - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator + def filters + Azure::MediaServices::Mgmt::V2018_07_01::Models::Filters end - def live_output - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput + def transport_stream_format + Azure::MediaServices::Mgmt::V2018_07_01::Models::TransportStreamFormat end def live_event Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEvent end - def streaming_endpoint - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpoint + def streaming_locator + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocator + end + def job_input_clip + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInputClip end def filter_track_property_type Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyType @@ -733,17 +505,14 @@ def filter_track_property_type def filter_track_property_compare_operation Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyCompareOperation end - def metric_unit - Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricUnit - end - def metric_aggregation_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType + def live_output + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutput end - def storage_account_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccountType + def job_output_asset + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobOutputAsset end - def asset_storage_encryption_format - Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStorageEncryptionFormat + def job + Azure::MediaServices::Mgmt::V2018_07_01::Models::Job end def asset_container_permission Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetContainerPermission @@ -751,8 +520,14 @@ def asset_container_permission def content_key_policy_play_ready_unknown_output_passing_option Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyUnknownOutputPassingOption end - def content_key_policy_play_ready_license_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType + def metric_unit + Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricUnit + end + def streaming_endpoint + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpoint + end + def api_error + Azure::MediaServices::Mgmt::V2018_07_01::Models::ApiError end def content_key_policy_play_ready_content_type Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyContentType @@ -760,32 +535,41 @@ def content_key_policy_play_ready_content_type def content_key_policy_restriction_token_type Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyRestrictionTokenType end - def content_key_policy_fair_play_rental_and_lease_key_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType + def metric_aggregation_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricAggregationType end - def aac_audio_profile - Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile + def asset_storage_encryption_format + Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetStorageEncryptionFormat end def stretch_mode Azure::MediaServices::Mgmt::V2018_07_01::Models::StretchMode end - def deinterlace_parity - Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceParity + def resource + Azure::MediaServices::Mgmt::V2018_07_01::Models::Resource end - def deinterlace_mode - Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode + def content_key_policy_play_ready_license_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyLicenseType end def rotation Azure::MediaServices::Mgmt::V2018_07_01::Models::Rotation end + def deinterlace_parity + Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceParity + end + def content_key_policy_fair_play_rental_and_lease_key_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyFairPlayRentalAndLeaseKeyType + end + def aac_audio_profile + Azure::MediaServices::Mgmt::V2018_07_01::Models::AacAudioProfile + end def h264_video_profile Azure::MediaServices::Mgmt::V2018_07_01::Models::H264VideoProfile end def entropy_mode Azure::MediaServices::Mgmt::V2018_07_01::Models::EntropyMode end - def h264_complexity - Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity + def deinterlace_mode + Azure::MediaServices::Mgmt::V2018_07_01::Models::DeinterlaceMode end def encoder_named_preset Azure::MediaServices::Mgmt::V2018_07_01::Models::EncoderNamedPreset @@ -796,8 +580,8 @@ def insights_type def on_error_type Azure::MediaServices::Mgmt::V2018_07_01::Models::OnErrorType end - def priority - Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority + def image + Azure::MediaServices::Mgmt::V2018_07_01::Models::Image end def job_error_code Azure::MediaServices::Mgmt::V2018_07_01::Models::JobErrorCode @@ -808,14 +592,11 @@ def job_error_category def job_retry Azure::MediaServices::Mgmt::V2018_07_01::Models::JobRetry end - def job_state - Azure::MediaServices::Mgmt::V2018_07_01::Models::JobState - end - def track_property_type - Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType + def priority + Azure::MediaServices::Mgmt::V2018_07_01::Models::Priority end - def track_property_compare_operation - Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation + def h264_complexity + Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Complexity end def streaming_locator_content_key_type Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingLocatorContentKeyType @@ -823,11 +604,11 @@ def streaming_locator_content_key_type def streaming_policy_streaming_protocol Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyStreamingProtocol end - def encryption_scheme - Azure::MediaServices::Mgmt::V2018_07_01::Models::EncryptionScheme + def track_property_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyType end - def live_output_resource_state - Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState + def track_property_compare_operation + Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCompareOperation end def live_event_input_protocol Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventInputProtocol @@ -835,14 +616,233 @@ def live_event_input_protocol def live_event_encoding_type Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEncodingType end + def encryption_scheme + Azure::MediaServices::Mgmt::V2018_07_01::Models::EncryptionScheme + end + def live_output_resource_state + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputResourceState + end + def streaming_endpoint_resource_state + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState + end def live_event_resource_state Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventResourceState end def stream_options_flag Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamOptionsFlag end - def streaming_endpoint_resource_state - Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingEndpointResourceState + def job_state + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobState + end + def storage_account_type + Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccountType + end + def storage_account + Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageAccount + end + def check_name_availability_input + Azure::MediaServices::Mgmt::V2018_07_01::Models::CheckNameAvailabilityInput + end + def format + Azure::MediaServices::Mgmt::V2018_07_01::Models::Format + end + def operation_display + Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationDisplay + end + def operation + Azure::MediaServices::Mgmt::V2018_07_01::Models::Operation + end + def service_specification + Azure::MediaServices::Mgmt::V2018_07_01::Models::ServiceSpecification + end + def location + Azure::MediaServices::Mgmt::V2018_07_01::Models::Location + end + def operation_collection + Azure::MediaServices::Mgmt::V2018_07_01::Models::OperationCollection + end + def codec + Azure::MediaServices::Mgmt::V2018_07_01::Models::Codec + end + def presentation_time_range + Azure::MediaServices::Mgmt::V2018_07_01::Models::PresentationTimeRange + end + def content_key_policy_properties + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyProperties + end + def first_quality + Azure::MediaServices::Mgmt::V2018_07_01::Models::FirstQuality + end + def filter_track_selection + Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackSelection + end + def streaming_policy_fair_play_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyFairPlayConfiguration + end + def odata_error + Azure::MediaServices::Mgmt::V2018_07_01::Models::ODataError + 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 + def preset + Azure::MediaServices::Mgmt::V2018_07_01::Models::Preset + end + def filter_track_property_condition + Azure::MediaServices::Mgmt::V2018_07_01::Models::FilterTrackPropertyCondition + end + 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 overlay + Azure::MediaServices::Mgmt::V2018_07_01::Models::Overlay + end + def entity_name_availability_check_output + Azure::MediaServices::Mgmt::V2018_07_01::Models::EntityNameAvailabilityCheckOutput + end + def common_encryption_cbcs + Azure::MediaServices::Mgmt::V2018_07_01::Models::CommonEncryptionCbcs + end + def sync_storage_keys_input + Azure::MediaServices::Mgmt::V2018_07_01::Models::SyncStorageKeysInput + end + def common_encryption_cenc + Azure::MediaServices::Mgmt::V2018_07_01::Models::CommonEncryptionCenc + end + def live_output_list_result + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveOutputListResult + end + def live_event_endpoint + Azure::MediaServices::Mgmt::V2018_07_01::Models::LiveEventEndpoint + end + def asset_container_sas + Azure::MediaServices::Mgmt::V2018_07_01::Models::AssetContainerSas + end + def storage_encrypted_asset_decryption_data + Azure::MediaServices::Mgmt::V2018_07_01::Models::StorageEncryptedAssetDecryptionData + end + def metric + Azure::MediaServices::Mgmt::V2018_07_01::Models::Metric + end + def list_streaming_locators_response + Azure::MediaServices::Mgmt::V2018_07_01::Models::ListStreamingLocatorsResponse + end + def metric_properties + Azure::MediaServices::Mgmt::V2018_07_01::Models::MetricProperties + end + def streaming_policy_play_ready_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyPlayReadyConfiguration + end + def list_container_sas_input + Azure::MediaServices::Mgmt::V2018_07_01::Models::ListContainerSasInput + end + def content_key_policy_play_ready_explicit_analog_television_restriction + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction + end + def job_input + Azure::MediaServices::Mgmt::V2018_07_01::Models::JobInput + end + def streaming_policy_content_keys + Azure::MediaServices::Mgmt::V2018_07_01::Models::StreamingPolicyContentKeys + end + def hls + Azure::MediaServices::Mgmt::V2018_07_01::Models::Hls + end + def content_key_policy_play_ready_play_right + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyPlayReadyPlayRight + end + 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 + end + def no_encryption + Azure::MediaServices::Mgmt::V2018_07_01::Models::NoEncryption + end + def default_key + Azure::MediaServices::Mgmt::V2018_07_01::Models::DefaultKey + end + def content_key_policy_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::ContentKeyPolicyConfiguration + end + def enabled_protocols + Azure::MediaServices::Mgmt::V2018_07_01::Models::EnabledProtocols + end + def track_property_condition + Azure::MediaServices::Mgmt::V2018_07_01::Models::TrackPropertyCondition + end + def cenc_drm_configuration + Azure::MediaServices::Mgmt::V2018_07_01::Models::CencDrmConfiguration + end + def transform_collection + Azure::MediaServices::Mgmt::V2018_07_01::Models::TransformCollection + 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 + 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 + end + 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 + end + 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 + end + 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 + end + 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 + end + def akamai_access_control + Azure::MediaServices::Mgmt::V2018_07_01::Models::AkamaiAccessControl end end end diff --git a/azure_sdk/lib/latest/modules/monitor_profile_module.rb b/azure_sdk/lib/latest/modules/monitor_profile_module.rb index 3a91a1dd5f..98af93b4a3 100644 --- a/azure_sdk/lib/latest/modules/monitor_profile_module.rb +++ b/azure_sdk/lib/latest/modules/monitor_profile_module.rb @@ -7,17 +7,17 @@ module Azure::Profiles::Latest module Monitor module Mgmt + Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs - AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories - Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs + AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules AlertRuleIncidents = Azure::Monitor::Mgmt::V2016_03_01::AlertRuleIncidents LogProfiles = Azure::Monitor::Mgmt::V2016_03_01::LogProfiles ActivityLogAlerts = Azure::Monitor::Mgmt::V2017_04_01::ActivityLogAlerts - DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations + DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations 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 @@ -27,11 +27,6 @@ module Mgmt ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules module Models - RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule - Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence - SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization - AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile - EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity @@ -44,17 +39,22 @@ module Models MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger EventCategoryCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo - OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow - Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation - OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource - EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel 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 + EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel + RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule + Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence + SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization + AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile + EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData 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 @@ -67,15 +67,15 @@ module Models RuleAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction 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 ManagementEventRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventRuleCondition RuleEmailAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction - RuleWebhookAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction + RuleManagementEventDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource AlertRuleResource = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource - LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource + RuleWebhookAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction ConditionOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator + LogProfileResource = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource TimeAggregationOperator = Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator ActivityLogAlertLeafCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertLeafCondition ActivityLogAlertAllOfCondition = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertAllOfCondition @@ -84,80 +84,80 @@ module Models ActivityLogAlertPatchBody = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertPatchBody ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource + CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType + RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings 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 - RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource - CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline BaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse BaselineMetadataValue = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineMetadataValue 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 - MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue + MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection + MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString + Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response + MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue - MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement - Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric - MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection - Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response - MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType + Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType + MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition + EnableRequest = Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest + MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension 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 + 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 SmsReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::SmsReceiver MetricAlertCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria - WebhookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver MetricAlertResourcePatch = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch - ItsmReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver MetricAlertStatusProperties = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties - AzureAppPushReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver MetricAlertStatusCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection - AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver MetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria VoiceReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::VoiceReceiver LogicAppReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::LogicAppReceiver MetricAlertAction = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction MetricAlertResourceCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection - ActionGroupPatchBody = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody - MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension AzureFunctionReceiver = Azure::Monitor::Mgmt::V2018_03_01::Models::AzureFunctionReceiver MetricAlertStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus - EnableRequest = Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest - ActionGroupList = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList MetricAlertResource = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource MetricAlertSingleResourceMultipleMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria - ActionGroupResource = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource ReceiverStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus + ActionGroupList = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList + ActionGroupResource = Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource + Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule + AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity + Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action + ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState + ErrorResponse = Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection - Resource = Azure::Monitor::Mgmt::V2018_04_16::Models::Resource LogMetricTrigger = Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger - Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition - Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action - Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source 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 - ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState QueryType = Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType ConditionalOperator = Azure::Monitor::Mgmt::V2018_04_16::Models::ConditionalOperator MetricTriggerType = Azure::Monitor::Mgmt::V2018_04_16::Models::MetricTriggerType - AlertSeverity = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity + Resource = Azure::Monitor::Mgmt::V2018_04_16::Models::Resource + 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, :metric_alerts, :metric_alerts_status, :action_groups, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :activity_logs, :event_categories, :tenant_activity_logs, :autoscale_settings, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_category_operations, :diagnostic_settings_operations, :metric_baseline, :metric_definitions, :metrics, :metric_alerts, :metric_alerts_status, :action_groups, :scheduled_query_rules, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -167,11 +167,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @operations = @client_0.operations @activity_logs = @client_0.activity_logs - @autoscale_settings = @client_0.autoscale_settings @event_categories = @client_0.event_categories - @operations = @client_0.operations @tenant_activity_logs = @client_0.tenant_activity_logs + @autoscale_settings = @client_0.autoscale_settings @client_1 = Azure::Monitor::Mgmt::V2016_03_01::MonitorManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @@ -194,8 +194,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_3.subscription_id = configurable.subscription_id end add_telemetry(@client_3) - @diagnostic_settings_operations = @client_3.diagnostic_settings_operations @diagnostic_settings_category_operations = @client_3.diagnostic_settings_category_operations + @diagnostic_settings_operations = @client_3.diagnostic_settings_operations @client_4 = Azure::Monitor::Mgmt::V2017_11_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options) if(@client_4.respond_to?(:subscription_id)) @@ -259,21 +259,6 @@ def method_missing(method, *args) end class ModelClasses - def recurrent_schedule - Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule - end - def recurrence - Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence - end - def sender_authorization - Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization - end - def autoscale_profile - Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile - end - def event_data - Azure::Monitor::Mgmt::V2015_04_01::Models::EventData - end def email_notification Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification end @@ -310,24 +295,12 @@ def event_category_collection def http_request_info Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo end - def operation_display - Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay - end def time_window Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow end - def operation - Azure::Monitor::Mgmt::V2015_04_01::Models::Operation - end - def operation_list_result - Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult - end def autoscale_setting_resource Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource end - def event_level - Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel - end def metric_statistic_type Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType end @@ -343,6 +316,33 @@ def scale_direction def scale_type Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType end + def operation_display + Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay + end + def operation + Azure::Monitor::Mgmt::V2015_04_01::Models::Operation + end + def operation_list_result + Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult + end + def event_level + Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel + end + def recurrent_schedule + Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule + end + def recurrence + Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence + end + def sender_authorization + Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization + end + def autoscale_profile + Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile + end + def event_data + Azure::Monitor::Mgmt::V2015_04_01::Models::EventData + end def rule_condition Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition end @@ -379,9 +379,6 @@ def incident_list_result 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 @@ -394,18 +391,21 @@ def management_event_rule_condition def rule_email_action Azure::Monitor::Mgmt::V2016_03_01::Models::RuleEmailAction end - def rule_webhook_action - Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction + def rule_management_event_data_source + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource end def alert_rule_resource Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResource end - def log_profile_resource - Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource + def rule_webhook_action + Azure::Monitor::Mgmt::V2016_03_01::Models::RuleWebhookAction end def condition_operator Azure::Monitor::Mgmt::V2016_03_01::Models::ConditionOperator end + def log_profile_resource + Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResource + end def time_aggregation_operator Azure::Monitor::Mgmt::V2016_03_01::Models::TimeAggregationOperator end @@ -430,6 +430,12 @@ def activity_log_alert_list def activity_log_alert_resource Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource end + def category_type + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType + end + def retention_policy + Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy + end def proxy_only_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource end @@ -445,18 +451,12 @@ def diagnostic_settings_category_resource_collection def diagnostic_settings_resource_collection Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection end - def retention_policy - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy - end def diagnostic_settings_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource end def diagnostic_settings_category_resource Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource end - def category_type - Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType - end def baseline Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline end @@ -475,72 +475,81 @@ def calculate_baseline_response def sensitivity Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Sensitivity end - def metric_value - Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue + def metric_definition_collection + Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection + end + def metric_availability + Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability end def localizable_string Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString end + def response + Azure::Monitor::Mgmt::V2018_01_01::Models::Response + end + def metric_value + Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue + end def metadata_value Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue end - def metric_definition - Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition - end def time_series_element Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement end - def metric - Azure::Monitor::Mgmt::V2018_01_01::Models::Metric - end - def metric_definition_collection - Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection - end - def response - Azure::Monitor::Mgmt::V2018_01_01::Models::Response - end - def metric_availability - Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability - end def unit Azure::Monitor::Mgmt::V2018_01_01::Models::Unit end def aggregation_type Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType end + def metric + Azure::Monitor::Mgmt::V2018_01_01::Models::Metric + end def result_type Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType end + def metric_definition + Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition + end + def enable_request + Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest + end + def metric_dimension + Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension + 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 azure_app_push_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver + end + def automation_runbook_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver + end + def itsm_receiver + Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver + end def sms_receiver Azure::Monitor::Mgmt::V2018_03_01::Models::SmsReceiver end def metric_alert_criteria Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria end - def webhook_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::WebhookReceiver - end def metric_alert_resource_patch Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch end - def itsm_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::ItsmReceiver - end def metric_alert_status_properties Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties end - def azure_app_push_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::AzureAppPushReceiver - end def metric_alert_status_collection Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection end - def automation_runbook_receiver - Azure::Monitor::Mgmt::V2018_03_01::Models::AutomationRunbookReceiver - end def metric_criteria Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria end @@ -556,56 +565,50 @@ def metric_alert_action def metric_alert_resource_collection Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection end - def action_group_patch_body - Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupPatchBody - end - def metric_dimension - Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension - end def azure_function_receiver Azure::Monitor::Mgmt::V2018_03_01::Models::AzureFunctionReceiver end def metric_alert_status Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus end - def enable_request - Azure::Monitor::Mgmt::V2018_03_01::Models::EnableRequest - end - def action_group_list - Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList - end def metric_alert_resource Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource end def metric_alert_single_resource_multiple_metric_criteria Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria end - def action_group_resource - Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource - end def receiver_status Azure::Monitor::Mgmt::V2018_03_01::Models::ReceiverStatus end - def log_search_rule_resource_collection - Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection - end - def resource - Azure::Monitor::Mgmt::V2018_04_16::Models::Resource + def action_group_list + Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupList end - def log_metric_trigger - Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger + def action_group_resource + Azure::Monitor::Mgmt::V2018_03_01::Models::ActionGroupResource end def schedule Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule end - def trigger_condition - Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition + def alert_severity + Azure::Monitor::Mgmt::V2018_04_16::Models::AlertSeverity end def action Azure::Monitor::Mgmt::V2018_04_16::Models::Action end - def source - Azure::Monitor::Mgmt::V2018_04_16::Models::Source + def provisioning_state + Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState + end + def error_response + Azure::Monitor::Mgmt::V2018_04_16::Models::ErrorResponse + end + def log_search_rule_resource_collection + Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection + end + def log_metric_trigger + Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger + end + def trigger_condition + Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition end def az_ns_action_group Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup @@ -613,9 +616,6 @@ 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 @@ -625,9 +625,6 @@ def alerting_action def enabled Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled end - def provisioning_state - Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState - end def query_type Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType end @@ -637,8 +634,11 @@ def conditional_operator 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 resource + Azure::Monitor::Mgmt::V2018_04_16::Models::Resource + end + def source + Azure::Monitor::Mgmt::V2018_04_16::Models::Source end end end diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index 05ea37ad1f..852b6a4692 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -7,24 +7,39 @@ module Azure::Profiles::Latest module Network module Mgmt - ApplicationGateways = Azure::Network::Mgmt::V2018_08_01::ApplicationGateways - ApplicationSecurityGroups = Azure::Network::Mgmt::V2018_08_01::ApplicationSecurityGroups AvailableDelegations = Azure::Network::Mgmt::V2018_08_01::AvailableDelegations AvailableResourceGroupDelegations = Azure::Network::Mgmt::V2018_08_01::AvailableResourceGroupDelegations AzureFirewalls = Azure::Network::Mgmt::V2018_08_01::AzureFirewalls AzureFirewallFqdnTags = Azure::Network::Mgmt::V2018_08_01::AzureFirewallFqdnTags DdosProtectionPlans = Azure::Network::Mgmt::V2018_08_01::DdosProtectionPlans - AvailableEndpointServices = Azure::Network::Mgmt::V2018_08_01::AvailableEndpointServices - ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_08_01::ExpressRouteCircuitAuthorizations - ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_08_01::ExpressRouteCircuitPeerings ExpressRouteCircuitConnections = Azure::Network::Mgmt::V2018_08_01::ExpressRouteCircuitConnections - ExpressRouteCircuits = Azure::Network::Mgmt::V2018_08_01::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_08_01::ExpressRouteServiceProviders ExpressRouteCrossConnections = Azure::Network::Mgmt::V2018_08_01::ExpressRouteCrossConnections ExpressRouteCrossConnectionPeerings = Azure::Network::Mgmt::V2018_08_01::ExpressRouteCrossConnectionPeerings ExpressRouteGateways = Azure::Network::Mgmt::V2018_08_01::ExpressRouteGateways ExpressRouteConnections = Azure::Network::Mgmt::V2018_08_01::ExpressRouteConnections InterfaceEndpoints = Azure::Network::Mgmt::V2018_08_01::InterfaceEndpoints + NetworkInterfaceTapConfigurations = Azure::Network::Mgmt::V2018_08_01::NetworkInterfaceTapConfigurations + NetworkProfiles = Azure::Network::Mgmt::V2018_08_01::NetworkProfiles + PublicIPPrefixes = Azure::Network::Mgmt::V2018_08_01::PublicIPPrefixes + ServiceEndpointPolicies = Azure::Network::Mgmt::V2018_08_01::ServiceEndpointPolicies + ServiceEndpointPolicyDefinitions = Azure::Network::Mgmt::V2018_08_01::ServiceEndpointPolicyDefinitions + VirtualNetworkTaps = Azure::Network::Mgmt::V2018_08_01::VirtualNetworkTaps + VirtualWans = Azure::Network::Mgmt::V2018_08_01::VirtualWans + VpnSites = Azure::Network::Mgmt::V2018_08_01::VpnSites + VpnSitesConfiguration = Azure::Network::Mgmt::V2018_08_01::VpnSitesConfiguration + VirtualHubs = Azure::Network::Mgmt::V2018_08_01::VirtualHubs + HubVirtualNetworkConnections = Azure::Network::Mgmt::V2018_08_01::HubVirtualNetworkConnections + VpnGateways = Azure::Network::Mgmt::V2018_08_01::VpnGateways + VpnConnections = Azure::Network::Mgmt::V2018_08_01::VpnConnections + P2sVpnServerConfigurations = Azure::Network::Mgmt::V2018_08_01::P2sVpnServerConfigurations + P2sVpnGateways = Azure::Network::Mgmt::V2018_08_01::P2sVpnGateways + ApplicationGateways = Azure::Network::Mgmt::V2018_08_01::ApplicationGateways + ApplicationSecurityGroups = Azure::Network::Mgmt::V2018_08_01::ApplicationSecurityGroups + AvailableEndpointServices = Azure::Network::Mgmt::V2018_08_01::AvailableEndpointServices + ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2018_08_01::ExpressRouteCircuitAuthorizations + ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2018_08_01::ExpressRouteCircuitPeerings + ExpressRouteCircuits = Azure::Network::Mgmt::V2018_08_01::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2018_08_01::ExpressRouteServiceProviders LoadBalancers = Azure::Network::Mgmt::V2018_08_01::LoadBalancers LoadBalancerBackendAddressPools = Azure::Network::Mgmt::V2018_08_01::LoadBalancerBackendAddressPools LoadBalancerFrontendIPConfigurations = Azure::Network::Mgmt::V2018_08_01::LoadBalancerFrontendIPConfigurations @@ -32,486 +47,486 @@ module Mgmt LoadBalancerLoadBalancingRules = Azure::Network::Mgmt::V2018_08_01::LoadBalancerLoadBalancingRules LoadBalancerNetworkInterfaces = Azure::Network::Mgmt::V2018_08_01::LoadBalancerNetworkInterfaces LoadBalancerProbes = Azure::Network::Mgmt::V2018_08_01::LoadBalancerProbes - NetworkInterfaces = Azure::Network::Mgmt::V2018_08_01::NetworkInterfaces NetworkInterfaceIPConfigurations = Azure::Network::Mgmt::V2018_08_01::NetworkInterfaceIPConfigurations NetworkInterfaceLoadBalancers = Azure::Network::Mgmt::V2018_08_01::NetworkInterfaceLoadBalancers - NetworkInterfaceTapConfigurations = Azure::Network::Mgmt::V2018_08_01::NetworkInterfaceTapConfigurations - NetworkProfiles = Azure::Network::Mgmt::V2018_08_01::NetworkProfiles NetworkSecurityGroups = Azure::Network::Mgmt::V2018_08_01::NetworkSecurityGroups SecurityRules = Azure::Network::Mgmt::V2018_08_01::SecurityRules DefaultSecurityRules = Azure::Network::Mgmt::V2018_08_01::DefaultSecurityRules NetworkWatchers = Azure::Network::Mgmt::V2018_08_01::NetworkWatchers PacketCaptures = Azure::Network::Mgmt::V2018_08_01::PacketCaptures ConnectionMonitors = Azure::Network::Mgmt::V2018_08_01::ConnectionMonitors - Operations = Azure::Network::Mgmt::V2018_08_01::Operations - PublicIPAddresses = Azure::Network::Mgmt::V2018_08_01::PublicIPAddresses - PublicIPPrefixes = Azure::Network::Mgmt::V2018_08_01::PublicIPPrefixes RouteFilters = Azure::Network::Mgmt::V2018_08_01::RouteFilters RouteFilterRules = Azure::Network::Mgmt::V2018_08_01::RouteFilterRules RouteTables = Azure::Network::Mgmt::V2018_08_01::RouteTables Routes = Azure::Network::Mgmt::V2018_08_01::Routes BgpServiceCommunities = Azure::Network::Mgmt::V2018_08_01::BgpServiceCommunities - ServiceEndpointPolicies = Azure::Network::Mgmt::V2018_08_01::ServiceEndpointPolicies - ServiceEndpointPolicyDefinitions = Azure::Network::Mgmt::V2018_08_01::ServiceEndpointPolicyDefinitions Usages = Azure::Network::Mgmt::V2018_08_01::Usages VirtualNetworks = Azure::Network::Mgmt::V2018_08_01::VirtualNetworks Subnets = Azure::Network::Mgmt::V2018_08_01::Subnets VirtualNetworkPeerings = Azure::Network::Mgmt::V2018_08_01::VirtualNetworkPeerings - VirtualNetworkTaps = Azure::Network::Mgmt::V2018_08_01::VirtualNetworkTaps VirtualNetworkGateways = Azure::Network::Mgmt::V2018_08_01::VirtualNetworkGateways - VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2018_08_01::VirtualNetworkGatewayConnections + NetworkInterfaces = Azure::Network::Mgmt::V2018_08_01::NetworkInterfaces + PublicIPAddresses = Azure::Network::Mgmt::V2018_08_01::PublicIPAddresses LocalNetworkGateways = Azure::Network::Mgmt::V2018_08_01::LocalNetworkGateways - VirtualWans = Azure::Network::Mgmt::V2018_08_01::VirtualWans - VpnSites = Azure::Network::Mgmt::V2018_08_01::VpnSites - VpnSitesConfiguration = Azure::Network::Mgmt::V2018_08_01::VpnSitesConfiguration - VirtualHubs = Azure::Network::Mgmt::V2018_08_01::VirtualHubs - HubVirtualNetworkConnections = Azure::Network::Mgmt::V2018_08_01::HubVirtualNetworkConnections - VpnGateways = Azure::Network::Mgmt::V2018_08_01::VpnGateways - VpnConnections = Azure::Network::Mgmt::V2018_08_01::VpnConnections - P2sVpnServerConfigurations = Azure::Network::Mgmt::V2018_08_01::P2sVpnServerConfigurations - P2sVpnGateways = Azure::Network::Mgmt::V2018_08_01::P2sVpnGateways + VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2018_08_01::VirtualNetworkGatewayConnections + Operations = Azure::Network::Mgmt::V2018_08_01::Operations module Models - EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroup - ListP2SVpnGatewaysResult = Azure::Network::Mgmt::V2018_08_01::Models::ListP2SVpnGatewaysResult - SubResource = Azure::Network::Mgmt::V2018_08_01::Models::SubResource - ExpressRouteCrossConnectionListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionListResult - DeviceProperties = Azure::Network::Mgmt::V2018_08_01::Models::DeviceProperties - ExpressRouteCrossConnectionPeeringList = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionPeeringList - ListVpnSitesResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVpnSitesResult - VirtualHubId = Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubId - GetVpnSitesConfigurationRequest = Azure::Network::Mgmt::V2018_08_01::Models::GetVpnSitesConfigurationRequest - ExpressRouteCircuitPeeringId = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringId - VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListConnectionsResult - ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds - ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPropertiesFormat - ExpressRouteGatewayPropertiesAutoScaleConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayPropertiesAutoScaleConfiguration - LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::LocalNetworkGatewayListResult - P2SVpnProfileParameters = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnProfileParameters - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressDnsSettings - PublicIPPrefixListResult = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixListResult - VpnClientIPsecParameters = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientIPsecParameters - ExpressRouteGatewayList = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayList - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionResetSharedKey - ExpressRouteConnectionList = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnectionList - ListVirtualHubsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVirtualHubsResult - InterfaceEndpointListResult = Azure::Network::Mgmt::V2018_08_01::Models::InterfaceEndpointListResult - TunnelConnectionHealth = Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionHealth - LoadBalancerSku = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerSku - BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatusListResult - VpnProfileResponse = Azure::Network::Mgmt::V2018_08_01::Models::VpnProfileResponse - VpnClientParameters = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientParameters - ReferencedPublicIpAddress = Azure::Network::Mgmt::V2018_08_01::Models::ReferencedPublicIpAddress + AzureFirewallRCActionType = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallRCActionType + AzureFirewallApplicationRuleProtocolType = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleProtocolType + AzureFirewallNatRCActionType = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRCActionType + AzureFirewallNetworkRuleProtocol = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRuleProtocol + ExpressRoutePeeringType = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRoutePeeringType + ExpressRoutePeeringState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRoutePeeringState + CircuitConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::CircuitConnectionStatus + IpFlowProtocol = Azure::Network::Mgmt::V2018_08_01::Models::IpFlowProtocol + HTTPMethod = Azure::Network::Mgmt::V2018_08_01::Models::HTTPMethod + ConnectionMonitorSourceStatus = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorSourceStatus + PublicIPPrefixSkuName = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixSkuName + VirtualNetworkGatewayConnectionProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionProtocol + OfficeTrafficCategory = Azure::Network::Mgmt::V2018_08_01::Models::OfficeTrafficCategory + VpnGatewayTunnelingProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VpnGatewayTunnelingProtocol + VpnConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::VpnConnectionStatus + VirtualWanSecurityProviderType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProviderType + TunnelConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionStatus + HubVirtualNetworkConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::HubVirtualNetworkConnectionStatus + HTTPHeader = Azure::Network::Mgmt::V2018_08_01::Models::HTTPHeader + Severity = Azure::Network::Mgmt::V2018_08_01::Models::Severity + ErrorResponse = Azure::Network::Mgmt::V2018_08_01::Models::ErrorResponse ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendAddress - PublicIPPrefixSku = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixSku - ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayConnectionDraining + PublicIPAddressSku = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressSku + IpTag = Azure::Network::Mgmt::V2018_08_01::Models::IpTag PublicIPAddressListResult = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressListResult - ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServer + EndpointService = Azure::Network::Mgmt::V2018_08_01::Models::EndpointService + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressDnsSettings + NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceListResult + NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceDnsSettings + NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceIPConfigurationListResult + ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPropertiesFormat + ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroup + Delegation = Azure::Network::Mgmt::V2018_08_01::Models::Delegation + ServiceAssociationLink = Azure::Network::Mgmt::V2018_08_01::Models::ServiceAssociationLink + ResourceNavigationLink = Azure::Network::Mgmt::V2018_08_01::Models::ResourceNavigationLink + SecurityRule = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRule + InterfaceEndpoint = Azure::Network::Mgmt::V2018_08_01::Models::InterfaceEndpoint + OperationDisplay = Azure::Network::Mgmt::V2018_08_01::Models::OperationDisplay + NetworkInterfaceTapConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceTapConfiguration + Operation = Azure::Network::Mgmt::V2018_08_01::Models::Operation + PublicIPAddress = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddress OperationListResult = Azure::Network::Mgmt::V2018_08_01::Models::OperationListResult - ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthPool + VirtualNetworkTap = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkTap + FrontendIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::FrontendIPConfiguration + IPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::IPConfiguration + InboundNatRule = Azure::Network::Mgmt::V2018_08_01::Models::InboundNatRule + NetworkInterface = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterface + NetworkSecurityGroup = Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroup + Route = Azure::Network::Mgmt::V2018_08_01::Models::Route + RouteTable = Azure::Network::Mgmt::V2018_08_01::Models::RouteTable + ServiceEndpointPolicyDefinition = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyDefinition + ServiceEndpointPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicy + IPConfigurationProfile = Azure::Network::Mgmt::V2018_08_01::Models::IPConfigurationProfile + Subnet = Azure::Network::Mgmt::V2018_08_01::Models::Subnet + SecurityRuleProtocol = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleProtocol + NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceIPConfiguration + SecurityRuleAccess = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleAccess + ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendAddressPool + BackendAddressPool = Azure::Network::Mgmt::V2018_08_01::Models::BackendAddressPool + SecurityRuleDirection = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleDirection + IPAllocationMethod = Azure::Network::Mgmt::V2018_08_01::Models::IPAllocationMethod + RouteNextHopType = Azure::Network::Mgmt::V2018_08_01::Models::RouteNextHopType + TransportProtocol = Azure::Network::Mgmt::V2018_08_01::Models::TransportProtocol + PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressSkuName + TopologyAssociation = Azure::Network::Mgmt::V2018_08_01::Models::TopologyAssociation + TopologyResource = Azure::Network::Mgmt::V2018_08_01::Models::TopologyResource + OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_08_01::Models::OperationPropertiesFormatServiceSpecification + VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkConnectionGatewayReference LoadBalancerListResult = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerListResult - ApplicationGatewaySku = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySku + ConnectionSharedKey = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionSharedKey InboundNatRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::InboundNatRuleListResult - BgpSettings = Azure::Network::Mgmt::V2018_08_01::Models::BgpSettings LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerBackendAddressPoolListResult - IpsecPolicy = Azure::Network::Mgmt::V2018_08_01::Models::IpsecPolicy + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionResetSharedKey LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerFrontendIPConfigurationListResult - VpnSiteId = Azure::Network::Mgmt::V2018_08_01::Models::VpnSiteId + IpsecPolicy = Azure::Network::Mgmt::V2018_08_01::Models::IpsecPolicy LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerLoadBalancingRuleListResult - VirtualWanSecurityProvider = Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProvider + GatewayRouteListResult = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRouteListResult LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerProbeListResult - ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbeHealthResponseMatch - NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceListResult - VirtualNetworkUsage = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsage + BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatusListResult + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult ErrorDetails = Azure::Network::Mgmt::V2018_08_01::Models::ErrorDetails - IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_08_01::Models::IPAddressAvailabilityResult - Error = Azure::Network::Mgmt::V2018_08_01::Models::Error - ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration + ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthHttpSettings + ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealth AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_08_01::Models::AzureAsyncOperationResult - VirtualNetworkListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkListResult - NetworkInterfaceTapConfigurationListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceTapConfigurationListResult - ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRule - NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceIPConfigurationListResult - VirtualWanSecurityProviders = Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProviders - NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceLoadBalancerListResult - DhcpOptions = Azure::Network::Mgmt::V2018_08_01::Models::DhcpOptions + ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy + GatewayRoute = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute + SubResource = Azure::Network::Mgmt::V2018_08_01::Models::SubResource + BgpSettings = Azure::Network::Mgmt::V2018_08_01::Models::BgpSettings EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroupAssociation - ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySku EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityRule - TagsObject = Azure::Network::Mgmt::V2018_08_01::Models::TagsObject - Operation = Azure::Network::Mgmt::V2018_08_01::Models::Operation - AvailableDelegation = Azure::Network::Mgmt::V2018_08_01::Models::AvailableDelegation + ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbeHealthResponseMatch + NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceLoadBalancerListResult + EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroup + VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsageName EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroupListResult - SubnetListResult = Azure::Network::Mgmt::V2018_08_01::Models::SubnetListResult + VirtualNetworkListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkListResult EffectiveRoute = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRoute - AzureFirewallApplicationRuleProtocol = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleProtocol + ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration EffectiveRouteListResult = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRouteListResult - ListP2SVpnServerConfigurationsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListP2SVpnServerConfigurationsResult - OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_08_01::Models::OperationPropertiesFormatServiceSpecification - AzureFirewallNatRule = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRule - LogSpecification = Azure::Network::Mgmt::V2018_08_01::Models::LogSpecification - AzureFirewallNetworkRule = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRule - ContainerNetworkInterfaceIpConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterfaceIpConfiguration + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayListResult + SecurityRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleListResult + ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup + NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroupListResult Usage = Azure::Network::Mgmt::V2018_08_01::Models::Usage - MetricSpecification = Azure::Network::Mgmt::V2018_08_01::Models::MetricSpecification - UsageName = Azure::Network::Mgmt::V2018_08_01::Models::UsageName - Dimension = Azure::Network::Mgmt::V2018_08_01::Models::Dimension + AddressSpace = Azure::Network::Mgmt::V2018_08_01::Models::AddressSpace + TopologyParameters = Azure::Network::Mgmt::V2018_08_01::Models::TopologyParameters + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroupListResult DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_08_01::Models::DnsNameAvailabilityResult - NetworkProfileListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfileListResult - DdosProtectionPlanListResult = Azure::Network::Mgmt::V2018_08_01::Models::DdosProtectionPlanListResult - SecurityRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleListResult + Dimension = Azure::Network::Mgmt::V2018_08_01::Models::Dimension EndpointServicesListResult = Azure::Network::Mgmt::V2018_08_01::Models::EndpointServicesListResult - NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroupListResult + MetricSpecification = Azure::Network::Mgmt::V2018_08_01::Models::MetricSpecification AuthorizationListResult = Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationListResult - ErrorResponse = Azure::Network::Mgmt::V2018_08_01::Models::ErrorResponse - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunityListResult - ExpressRouteConnectionId = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnectionId - NetworkWatcherListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcherListResult - BGPCommunity = Azure::Network::Mgmt::V2018_08_01::Models::BGPCommunity - TopologyParameters = Azure::Network::Mgmt::V2018_08_01::Models::TopologyParameters - Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_08_01::Models::Ipv6ExpressRouteCircuitPeeringConfig - TopologyAssociation = Azure::Network::Mgmt::V2018_08_01::Models::TopologyAssociation - ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSku - TopologyResource = Azure::Network::Mgmt::V2018_08_01::Models::TopologyResource - RouteTableListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteTableListResult Topology = Azure::Network::Mgmt::V2018_08_01::Models::Topology - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsArpTableListResult VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowParameters - ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsRoutesTableListResult + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunityListResult VerificationIPFlowResult = Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowResult - ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_08_01::Models::Ipv6ExpressRouteCircuitPeeringConfig NextHopParameters = Azure::Network::Mgmt::V2018_08_01::Models::NextHopParameters - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProviderBandwidthsOffered + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSku NextHopResult = Azure::Network::Mgmt::V2018_08_01::Models::NextHopResult - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProviderListResult + RouteListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteListResult SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_08_01::Models::SecurityGroupViewParameters - ExpressRouteCrossConnectionsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionsRoutesTableSummaryListResult + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsArpTableListResult NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceAssociation - RouteFilterListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterListResult + ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsRoutesTableListResult SubnetAssociation = Azure::Network::Mgmt::V2018_08_01::Models::SubnetAssociation - EndpointService = Azure::Network::Mgmt::V2018_08_01::Models::EndpointService + ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult SecurityRuleAssociations = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleAssociations - VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_08_01::Models::VpnDeviceScriptParameters + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProviderBandwidthsOffered SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_08_01::Models::SecurityGroupNetworkInterface - VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkConnectionGatewayReference + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProviderListResult SecurityGroupViewResult = Azure::Network::Mgmt::V2018_08_01::Models::SecurityGroupViewResult - IpTag = Azure::Network::Mgmt::V2018_08_01::Models::IpTag + RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureStorageLocation - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListResult PacketCaptureFilter = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureFilter - GatewayRouteListResult = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRouteListResult + VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListConnectionsResult PacketCaptureParameters = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureParameters - ListVpnConnectionsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVpnConnectionsResult PacketCapture = Azure::Network::Mgmt::V2018_08_01::Models::PacketCapture - BgpPeerStatus = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatus + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListResult PacketCaptureResult = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureResult - ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealth PacketCaptureListResult = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureListResult - VpnClientConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConfiguration + ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServer PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureQueryStatusResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySku + ApplicationGatewaySku = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySku TroubleshootingParameters = Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingParameters - VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkListUsageResult + BgpPeerStatus = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatus QueryTroubleshootingParameters = Azure::Network::Mgmt::V2018_08_01::Models::QueryTroubleshootingParameters - ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkListUsageResult TroubleshootingRecommendedActions = Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingRecommendedActions - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayListResult + IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_08_01::Models::IPAddressAvailabilityResult TroubleshootingDetails = Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingDetails - ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + DhcpOptions = Azure::Network::Mgmt::V2018_08_01::Models::DhcpOptions TroubleshootingResult = Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingResult - Resource = Azure::Network::Mgmt::V2018_08_01::Models::Resource + VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringListResult RetentionPolicyParameters = Azure::Network::Mgmt::V2018_08_01::Models::RetentionPolicyParameters - AvailableDelegationsResult = Azure::Network::Mgmt::V2018_08_01::Models::AvailableDelegationsResult + ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies FlowLogStatusParameters = Azure::Network::Mgmt::V2018_08_01::Models::FlowLogStatusParameters - AzureFirewallApplicationRule = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRule - TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_08_01::Models::TrafficAnalyticsConfigurationProperties - AddressSpace = Azure::Network::Mgmt::V2018_08_01::Models::AddressSpace - TrafficAnalyticsProperties = Azure::Network::Mgmt::V2018_08_01::Models::TrafficAnalyticsProperties - AzureFirewallListResult = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallListResult + UsagesListResult = Azure::Network::Mgmt::V2018_08_01::Models::UsagesListResult FlowLogInformation = Azure::Network::Mgmt::V2018_08_01::Models::FlowLogInformation - DdosProtectionPlan = Azure::Network::Mgmt::V2018_08_01::Models::DdosProtectionPlan + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringConfig ConnectivitySource = Azure::Network::Mgmt::V2018_08_01::Models::ConnectivitySource - ServiceEndpointPolicyDefinitionListResult = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyDefinitionListResult + BGPCommunity = Azure::Network::Mgmt::V2018_08_01::Models::BGPCommunity ConnectivityDestination = Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityDestination - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitStats - HTTPHeader = Azure::Network::Mgmt::V2018_08_01::Models::HTTPHeader - RouteListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteListResult - HTTPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::HTTPConfiguration ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitServiceProviderProperties - ProtocolConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ProtocolConfiguration - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTable ConnectivityParameters = Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityParameters - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitListResult + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTable ConnectivityIssue = Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityIssue - ExpressRouteCrossConnectionRoutesTableSummary = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionRoutesTableSummary + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitListResult ConnectivityHop = Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityHop - ListVirtualWANsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVirtualWANsResult + LoadBalancerSku = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerSku ConnectivityInformation = Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityInformation - VirtualHubRoute = Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubRoute + VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_08_01::Models::VpnDeviceScriptParameters AzureReachabilityReportLocation = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportLocation - VirtualHubRouteTable = Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubRouteTable AzureReachabilityReportParameters = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportParameters - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult - AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportLatencyInfo - ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthHttpSettings + ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayConnectionDraining + UsageName = Azure::Network::Mgmt::V2018_08_01::Models::UsageName + VpnClientParameters = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientParameters AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportItem - ListHubVirtualNetworkConnectionsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListHubVirtualNetworkConnectionsResult + VirtualNetworkUsage = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsage AzureReachabilityReport = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReport - VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsageName - AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListParameters - ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup + ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRule + AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportLatencyInfo + TagsObject = Azure::Network::Mgmt::V2018_08_01::Models::TagsObject AvailableProvidersListCity = Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListCity - ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroupListResult + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitStats AvailableProvidersListState = Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListState - AzureFirewallNatRCAction = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRCAction - AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListCountry - AzureFirewallFqdnTagListResult = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallFqdnTagListResult + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitArpTable + AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListParameters + RouteTableListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteTableListResult AvailableProvidersList = Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersList - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringConfig + LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_08_01::Models::LocalNetworkGatewayListResult ConnectionMonitorSource = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorSource - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringListResult + ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthPool + AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListCountry + ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorParameters ConnectionMonitorDestination = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorDestination ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTableSummary - ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorParameters - ExpressRouteCircuitReference = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitReference - ConnectionMonitor = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitor - PublicIPAddressSku = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressSku ConnectionMonitorResult = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorResult - GatewayRoute = Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute - ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorListResult - VirtualNetworkTapListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkTapListResult - ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStateSnapshot - VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringListResult + TunnelConnectionHealth = Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionHealth + Resource = Azure::Network::Mgmt::V2018_08_01::Models::Resource + SubnetListResult = Azure::Network::Mgmt::V2018_08_01::Models::SubnetListResult + ConnectionMonitor = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitor + RouteFilterListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorQueryResult - UsagesListResult = Azure::Network::Mgmt::V2018_08_01::Models::UsagesListResult - TrafficQuery = Azure::Network::Mgmt::V2018_08_01::Models::TrafficQuery - VpnClientConnectionHealth = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConnectionHealth - NetworkConfigurationDiagnosticParameters = Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticParameters - RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult - MatchedRule = Azure::Network::Mgmt::V2018_08_01::Models::MatchedRule - ListVpnGatewaysResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVpnGatewaysResult - NetworkSecurityRulesEvaluationResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityRulesEvaluationResult - ApplicationGatewayAutoscaleConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAutoscaleConfiguration - EvaluatedNetworkSecurityGroup = Azure::Network::Mgmt::V2018_08_01::Models::EvaluatedNetworkSecurityGroup - ServiceEndpointPolicyListResult = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyListResult - NetworkSecurityGroupResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroupResult - NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceDnsSettings - NetworkConfigurationDiagnosticResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticResult - AzureFirewallRCAction = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallRCAction - NetworkConfigurationDiagnosticResponse = Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticResponse - ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy - OperationDisplay = Azure::Network::Mgmt::V2018_08_01::Models::OperationDisplay - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitArpTable + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringListResult + VpnClientConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConfiguration Availability = Azure::Network::Mgmt::V2018_08_01::Models::Availability - NetworkInterfaceTapConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceTapConfiguration - ApplicationSecurityGroup = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroup - SecurityRule = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRule - InterfaceEndpoint = Azure::Network::Mgmt::V2018_08_01::Models::InterfaceEndpoint - NetworkInterface = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterface - NetworkSecurityGroup = Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroup - Route = Azure::Network::Mgmt::V2018_08_01::Models::Route - RouteTable = Azure::Network::Mgmt::V2018_08_01::Models::RouteTable - ServiceEndpointPolicyDefinition = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyDefinition - ServiceEndpointPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicy - PublicIPAddress = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddress - IPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::IPConfiguration - IPConfigurationProfile = Azure::Network::Mgmt::V2018_08_01::Models::IPConfigurationProfile - ResourceNavigationLink = Azure::Network::Mgmt::V2018_08_01::Models::ResourceNavigationLink - ServiceAssociationLink = Azure::Network::Mgmt::V2018_08_01::Models::ServiceAssociationLink - Delegation = Azure::Network::Mgmt::V2018_08_01::Models::Delegation - Subnet = Azure::Network::Mgmt::V2018_08_01::Models::Subnet - FrontendIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::FrontendIPConfiguration - VirtualNetworkTap = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkTap - BackendAddressPool = Azure::Network::Mgmt::V2018_08_01::Models::BackendAddressPool - InboundNatRule = Azure::Network::Mgmt::V2018_08_01::Models::InboundNatRule - NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceIPConfiguration - ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendAddressPool - ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHttpSettings + ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStateSnapshot ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayIPConfiguration + ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorListResult ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAuthenticationCertificate - ApplicationGatewayTrustedRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTrustedRootCertificate ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCertificate ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration - ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendPort + ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHttpSettings ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener - ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule ApplicationGatewayProbe = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbe ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule - ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration + ApplicationGatewayPathRule = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule + ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendPort ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap - ApplicationGateway = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleSet ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslOptions ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPredefinedPolicy - AzureFirewallIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallIPConfiguration - AzureFirewallApplicationRuleCollection = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleCollection - AzureFirewallNatRuleCollection = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRuleCollection - AzureFirewallNetworkRuleCollection = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRuleCollection - AzureFirewall = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewall - AzureFirewallFqdnTag = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallFqdnTag + ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration EndpointServiceResult = Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization - RouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule - ExpressRouteCircuitConnection = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitConnection ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeering RouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter - ExpressRouteCircuit = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit + RouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule + ApplicationGateway = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway ExpressRouteServiceProvider = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProvider - ExpressRouteCrossConnectionPeering = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionPeering - ExpressRouteCrossConnection = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnection - ExpressRouteConnection = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnection - ExpressRouteGateway = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGateway - LoadBalancingRule = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancingRule - Probe = Azure::Network::Mgmt::V2018_08_01::Models::Probe + ExpressRouteCircuit = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit InboundNatPool = Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool - OutboundRule = Azure::Network::Mgmt::V2018_08_01::Models::OutboundRule + LoadBalancingRule = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancingRule LoadBalancer = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer - ContainerNetworkInterfaceConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterfaceConfiguration - Container = Azure::Network::Mgmt::V2018_08_01::Models::Container - ContainerNetworkInterface = Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterface - NetworkProfile = Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfile NetworkWatcher = Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher - PublicIPPrefix = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefix PatchRouteFilterRule = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule PatchRouteFilter = Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilter BgpServiceCommunity = Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunity VirtualNetworkPeering = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeering VirtualNetwork = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork + Probe = Azure::Network::Mgmt::V2018_08_01::Models::Probe VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayIPConfiguration VpnClientRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRootCertificate - VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRevokedCertificate VirtualNetworkGateway = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGateway LocalNetworkGateway = Azure::Network::Mgmt::V2018_08_01::Models::LocalNetworkGateway VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection - ConnectionSharedKey = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionSharedKey + NetworkProfile = Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfile VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListEntity - P2SVpnServerConfigVpnClientRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigVpnClientRootCertificate - P2SVpnServerConfigVpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigVpnClientRevokedCertificate - P2SVpnServerConfigRadiusServerRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigRadiusServerRootCertificate - P2SVpnServerConfigRadiusClientRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigRadiusClientRootCertificate - P2SVpnServerConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfiguration - VirtualWAN = Azure::Network::Mgmt::V2018_08_01::Models::VirtualWAN - VpnSite = Azure::Network::Mgmt::V2018_08_01::Models::VpnSite - HubVirtualNetworkConnection = Azure::Network::Mgmt::V2018_08_01::Models::HubVirtualNetworkConnection - VirtualHub = Azure::Network::Mgmt::V2018_08_01::Models::VirtualHub - VpnConnection = Azure::Network::Mgmt::V2018_08_01::Models::VpnConnection - VpnGateway = Azure::Network::Mgmt::V2018_08_01::Models::VpnGateway - P2SVpnGateway = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnGateway - IPAllocationMethod = Azure::Network::Mgmt::V2018_08_01::Models::IPAllocationMethod - SecurityRuleProtocol = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleProtocol - SecurityRuleAccess = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleAccess - SecurityRuleDirection = Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleDirection - RouteNextHopType = Azure::Network::Mgmt::V2018_08_01::Models::RouteNextHopType - PublicIPAddressSkuName = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressSkuName - IPVersion = Azure::Network::Mgmt::V2018_08_01::Models::IPVersion - TransportProtocol = Azure::Network::Mgmt::V2018_08_01::Models::TransportProtocol - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol - ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCookieBasedAffinity + VpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRevokedCertificate ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServerHealth ApplicationGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySkuName ApplicationGatewayTier = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTier ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslProtocol + IPVersion = Azure::Network::Mgmt::V2018_08_01::Models::IPVersion ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyType ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyName ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol + ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCookieBasedAffinity ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectType ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayOperationalState ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallMode - ProvisioningState = Azure::Network::Mgmt::V2018_08_01::Models::ProvisioningState - AzureFirewallRCActionType = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallRCActionType - AzureFirewallApplicationRuleProtocolType = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleProtocolType - AzureFirewallNatRCActionType = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRCActionType - AzureFirewallNetworkRuleProtocol = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRuleProtocol AuthorizationUseStatus = Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState Access = Azure::Network::Mgmt::V2018_08_01::Models::Access - ExpressRoutePeeringType = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRoutePeeringType - ExpressRoutePeeringState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRoutePeeringState - CircuitConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::CircuitConnectionStatus - ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuTier - ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuFamily + ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState ServiceProviderProvisioningState = Azure::Network::Mgmt::V2018_08_01::Models::ServiceProviderProvisioningState - LoadBalancerSkuName = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerSkuName + ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuFamily LoadDistribution = Azure::Network::Mgmt::V2018_08_01::Models::LoadDistribution - ProbeProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ProbeProtocol + ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableWafRuleSetsResult NetworkOperationStatus = Azure::Network::Mgmt::V2018_08_01::Models::NetworkOperationStatus + NetworkWatcherListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcherListResult + LoadBalancerSkuName = Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerSkuName + ProvisioningState = Azure::Network::Mgmt::V2018_08_01::Models::ProvisioningState + ProbeProtocol = Azure::Network::Mgmt::V2018_08_01::Models::ProbeProtocol + EffectiveRouteState = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRouteState EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveSecurityRuleProtocol EffectiveRouteSource = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRouteSource - EffectiveRouteState = Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRouteState - AssociationType = Azure::Network::Mgmt::V2018_08_01::Models::AssociationType Direction = Azure::Network::Mgmt::V2018_08_01::Models::Direction - IpFlowProtocol = Azure::Network::Mgmt::V2018_08_01::Models::IpFlowProtocol NextHopType = Azure::Network::Mgmt::V2018_08_01::Models::NextHopType - PcProtocol = Azure::Network::Mgmt::V2018_08_01::Models::PcProtocol + AssociationType = Azure::Network::Mgmt::V2018_08_01::Models::AssociationType PcStatus = Azure::Network::Mgmt::V2018_08_01::Models::PcStatus PcError = Azure::Network::Mgmt::V2018_08_01::Models::PcError - Protocol = Azure::Network::Mgmt::V2018_08_01::Models::Protocol - HTTPMethod = Azure::Network::Mgmt::V2018_08_01::Models::HTTPMethod - Origin = Azure::Network::Mgmt::V2018_08_01::Models::Origin - Severity = Azure::Network::Mgmt::V2018_08_01::Models::Severity + PcProtocol = Azure::Network::Mgmt::V2018_08_01::Models::PcProtocol IssueType = Azure::Network::Mgmt::V2018_08_01::Models::IssueType ConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStatus - ConnectionMonitorSourceStatus = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorSourceStatus - ConnectionState = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState + Origin = Azure::Network::Mgmt::V2018_08_01::Models::Origin EvaluationState = Azure::Network::Mgmt::V2018_08_01::Models::EvaluationState - PublicIPPrefixSkuName = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixSkuName VirtualNetworkPeeringState = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState - VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType + ConnectionState = Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState VpnType = Azure::Network::Mgmt::V2018_08_01::Models::VpnType + Error = Azure::Network::Mgmt::V2018_08_01::Models::Error + VirtualNetworkGatewayType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType + VpnClientProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuTier - VpnClientProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol IpsecEncryption = Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption IpsecIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IpsecIntegrity IkeEncryption = Azure::Network::Mgmt::V2018_08_01::Models::IkeEncryption IkeIntegrity = Azure::Network::Mgmt::V2018_08_01::Models::IkeIntegrity DhGroup = Azure::Network::Mgmt::V2018_08_01::Models::DhGroup PfsGroup = Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup - BgpPeerState = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState ProcessorArchitecture = Azure::Network::Mgmt::V2018_08_01::Models::ProcessorArchitecture AuthenticationMethod = Azure::Network::Mgmt::V2018_08_01::Models::AuthenticationMethod VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionStatus VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionType - VirtualNetworkGatewayConnectionProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionProtocol - OfficeTrafficCategory = Azure::Network::Mgmt::V2018_08_01::Models::OfficeTrafficCategory - VpnGatewayTunnelingProtocol = Azure::Network::Mgmt::V2018_08_01::Models::VpnGatewayTunnelingProtocol - VpnConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::VpnConnectionStatus - VirtualWanSecurityProviderType = Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProviderType - TunnelConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionStatus - HubVirtualNetworkConnectionStatus = Azure::Network::Mgmt::V2018_08_01::Models::HubVirtualNetworkConnectionStatus - end - - class NetworkManagementClass - attr_reader :application_gateways, :application_security_groups, :available_delegations, :available_resource_group_delegations, :azure_firewalls, :azure_firewall_fqdn_tags, :ddos_protection_plans, :available_endpoint_services, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuit_connections, :express_route_circuits, :express_route_service_providers, :express_route_cross_connections, :express_route_cross_connection_peerings, :express_route_gateways, :express_route_connections, :interface_endpoints, :load_balancers, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interfaces, :network_interface_ipconfigurations, :network_interface_load_balancers, :network_interface_tap_configurations, :network_profiles, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :operations, :public_ipaddresses, :public_ipprefixes, :route_filters, :route_filter_rules, :route_tables, :routes, :bgp_service_communities, :service_endpoint_policies, :service_endpoint_policy_definitions, :usages, :virtual_networks, :subnets, :virtual_network_peerings, :virtual_network_taps, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :virtual_wans, :vpn_sites, :vpn_sites_configuration, :virtual_hubs, :hub_virtual_network_connections, :vpn_gateways, :vpn_connections, :p2s_vpn_server_configurations, :p2s_vpn_gateways, :configurable, :base_url, :options, :model_classes - - def initialize(configurable, base_url=nil, options=nil) - @configurable, @base_url, @options = configurable, base_url, options - - @client_0 = Azure::Network::Mgmt::V2018_08_01::NetworkManagementClient.new(configurable.credentials, base_url, options) - if(@client_0.respond_to?(:subscription_id)) - @client_0.subscription_id = configurable.subscription_id - end - add_telemetry(@client_0) - @application_gateways = @client_0.application_gateways - @application_security_groups = @client_0.application_security_groups + BgpPeerState = Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState + Container = Azure::Network::Mgmt::V2018_08_01::Models::Container + Protocol = Azure::Network::Mgmt::V2018_08_01::Models::Protocol + LogSpecification = Azure::Network::Mgmt::V2018_08_01::Models::LogSpecification + ListP2SVpnGatewaysResult = Azure::Network::Mgmt::V2018_08_01::Models::ListP2SVpnGatewaysResult + ExpressRouteCrossConnectionListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionListResult + DeviceProperties = Azure::Network::Mgmt::V2018_08_01::Models::DeviceProperties + ExpressRouteCrossConnectionPeeringList = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionPeeringList + ListVpnSitesResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVpnSitesResult + VirtualHubId = Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubId + GetVpnSitesConfigurationRequest = Azure::Network::Mgmt::V2018_08_01::Models::GetVpnSitesConfigurationRequest + ExpressRouteCircuitPeeringId = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringId + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + ExpressRouteGatewayPropertiesAutoScaleConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayPropertiesAutoScaleConfiguration + P2SVpnProfileParameters = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnProfileParameters + PublicIPPrefixListResult = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixListResult + VpnClientIPsecParameters = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientIPsecParameters + ExpressRouteGatewayList = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayList + ExpressRouteConnectionList = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnectionList + ListVirtualHubsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVirtualHubsResult + InterfaceEndpointListResult = Azure::Network::Mgmt::V2018_08_01::Models::InterfaceEndpointListResult + VpnProfileResponse = Azure::Network::Mgmt::V2018_08_01::Models::VpnProfileResponse + ReferencedPublicIpAddress = Azure::Network::Mgmt::V2018_08_01::Models::ReferencedPublicIpAddress + PublicIPPrefixSku = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixSku + VpnSiteId = Azure::Network::Mgmt::V2018_08_01::Models::VpnSiteId + VirtualWanSecurityProvider = Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProvider + NetworkInterfaceTapConfigurationListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceTapConfigurationListResult + VirtualWanSecurityProviders = Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProviders + AvailableDelegation = Azure::Network::Mgmt::V2018_08_01::Models::AvailableDelegation + AzureFirewallApplicationRuleProtocol = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleProtocol + ListP2SVpnServerConfigurationsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListP2SVpnServerConfigurationsResult + AzureFirewallNatRule = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRule + AzureFirewallNetworkRule = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRule + ContainerNetworkInterfaceIpConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterfaceIpConfiguration + NetworkProfileListResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfileListResult + DdosProtectionPlanListResult = Azure::Network::Mgmt::V2018_08_01::Models::DdosProtectionPlanListResult + ExpressRouteConnectionId = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnectionId + ExpressRouteCrossConnectionsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionsRoutesTableSummaryListResult + ListVpnConnectionsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVpnConnectionsResult + AvailableDelegationsResult = Azure::Network::Mgmt::V2018_08_01::Models::AvailableDelegationsResult + AzureFirewallApplicationRule = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRule + TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_08_01::Models::TrafficAnalyticsConfigurationProperties + TrafficAnalyticsProperties = Azure::Network::Mgmt::V2018_08_01::Models::TrafficAnalyticsProperties + AzureFirewallListResult = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallListResult + DdosProtectionPlan = Azure::Network::Mgmt::V2018_08_01::Models::DdosProtectionPlan + ServiceEndpointPolicyDefinitionListResult = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyDefinitionListResult + HTTPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::HTTPConfiguration + ProtocolConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ProtocolConfiguration + ExpressRouteCrossConnectionRoutesTableSummary = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionRoutesTableSummary + ListVirtualWANsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVirtualWANsResult + VirtualHubRoute = Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubRoute + VirtualHubRouteTable = Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubRouteTable + ListHubVirtualNetworkConnectionsResult = Azure::Network::Mgmt::V2018_08_01::Models::ListHubVirtualNetworkConnectionsResult + AzureFirewallNatRCAction = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRCAction + AzureFirewallFqdnTagListResult = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallFqdnTagListResult + ExpressRouteCircuitReference = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitReference + VirtualNetworkTapListResult = Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkTapListResult + TrafficQuery = Azure::Network::Mgmt::V2018_08_01::Models::TrafficQuery + VpnClientConnectionHealth = Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConnectionHealth + NetworkConfigurationDiagnosticParameters = Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticParameters + MatchedRule = Azure::Network::Mgmt::V2018_08_01::Models::MatchedRule + ListVpnGatewaysResult = Azure::Network::Mgmt::V2018_08_01::Models::ListVpnGatewaysResult + NetworkSecurityRulesEvaluationResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityRulesEvaluationResult + ApplicationGatewayAutoscaleConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAutoscaleConfiguration + EvaluatedNetworkSecurityGroup = Azure::Network::Mgmt::V2018_08_01::Models::EvaluatedNetworkSecurityGroup + ServiceEndpointPolicyListResult = Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyListResult + NetworkSecurityGroupResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroupResult + NetworkConfigurationDiagnosticResult = Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticResult + AzureFirewallRCAction = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallRCAction + NetworkConfigurationDiagnosticResponse = Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticResponse + ApplicationGatewayTrustedRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTrustedRootCertificate + AzureFirewallIPConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallIPConfiguration + AzureFirewallApplicationRuleCollection = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleCollection + AzureFirewallNatRuleCollection = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRuleCollection + AzureFirewallNetworkRuleCollection = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRuleCollection + AzureFirewall = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewall + AzureFirewallFqdnTag = Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallFqdnTag + ExpressRouteCircuitConnection = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitConnection + ExpressRouteCrossConnectionPeering = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionPeering + ExpressRouteCrossConnection = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnection + ExpressRouteConnection = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnection + ExpressRouteGateway = Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGateway + OutboundRule = Azure::Network::Mgmt::V2018_08_01::Models::OutboundRule + ContainerNetworkInterfaceConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterfaceConfiguration + ContainerNetworkInterface = Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterface + PublicIPPrefix = Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefix + P2SVpnServerConfigVpnClientRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigVpnClientRootCertificate + P2SVpnServerConfigVpnClientRevokedCertificate = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigVpnClientRevokedCertificate + P2SVpnServerConfigRadiusServerRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigRadiusServerRootCertificate + P2SVpnServerConfigRadiusClientRootCertificate = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigRadiusClientRootCertificate + P2SVpnServerConfiguration = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfiguration + VirtualWAN = Azure::Network::Mgmt::V2018_08_01::Models::VirtualWAN + VpnSite = Azure::Network::Mgmt::V2018_08_01::Models::VpnSite + HubVirtualNetworkConnection = Azure::Network::Mgmt::V2018_08_01::Models::HubVirtualNetworkConnection + VirtualHub = Azure::Network::Mgmt::V2018_08_01::Models::VirtualHub + VpnConnection = Azure::Network::Mgmt::V2018_08_01::Models::VpnConnection + VpnGateway = Azure::Network::Mgmt::V2018_08_01::Models::VpnGateway + P2SVpnGateway = Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnGateway + end + + class NetworkManagementClass + attr_reader :available_delegations, :available_resource_group_delegations, :azure_firewalls, :azure_firewall_fqdn_tags, :ddos_protection_plans, :express_route_circuit_connections, :express_route_cross_connections, :express_route_cross_connection_peerings, :express_route_gateways, :express_route_connections, :interface_endpoints, :network_interface_tap_configurations, :network_profiles, :public_ipprefixes, :service_endpoint_policies, :service_endpoint_policy_definitions, :virtual_network_taps, :virtual_wans, :vpn_sites, :vpn_sites_configuration, :virtual_hubs, :hub_virtual_network_connections, :vpn_gateways, :vpn_connections, :p2s_vpn_server_configurations, :p2s_vpn_gateways, :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, :subnets, :virtual_network_peerings, :virtual_network_gateways, :network_interfaces, :public_ipaddresses, :local_network_gateways, :virtual_network_gateway_connections, :operations, :configurable, :base_url, :options, :model_classes + + def initialize(configurable, base_url=nil, options=nil) + @configurable, @base_url, @options = configurable, base_url, options + + @client_0 = Azure::Network::Mgmt::V2018_08_01::NetworkManagementClient.new(configurable.credentials, base_url, options) + if(@client_0.respond_to?(:subscription_id)) + @client_0.subscription_id = configurable.subscription_id + end + add_telemetry(@client_0) @available_delegations = @client_0.available_delegations @available_resource_group_delegations = @client_0.available_resource_group_delegations @azure_firewalls = @client_0.azure_firewalls @azure_firewall_fqdn_tags = @client_0.azure_firewall_fqdn_tags @ddos_protection_plans = @client_0.ddos_protection_plans - @available_endpoint_services = @client_0.available_endpoint_services - @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations - @express_route_circuit_peerings = @client_0.express_route_circuit_peerings @express_route_circuit_connections = @client_0.express_route_circuit_connections - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers @express_route_cross_connections = @client_0.express_route_cross_connections @express_route_cross_connection_peerings = @client_0.express_route_cross_connection_peerings @express_route_gateways = @client_0.express_route_gateways @express_route_connections = @client_0.express_route_connections @interface_endpoints = @client_0.interface_endpoints + @network_interface_tap_configurations = @client_0.network_interface_tap_configurations + @network_profiles = @client_0.network_profiles + @public_ipprefixes = @client_0.public_ipprefixes + @service_endpoint_policies = @client_0.service_endpoint_policies + @service_endpoint_policy_definitions = @client_0.service_endpoint_policy_definitions + @virtual_network_taps = @client_0.virtual_network_taps + @virtual_wans = @client_0.virtual_wans + @vpn_sites = @client_0.vpn_sites + @vpn_sites_configuration = @client_0.vpn_sites_configuration + @virtual_hubs = @client_0.virtual_hubs + @hub_virtual_network_connections = @client_0.hub_virtual_network_connections + @vpn_gateways = @client_0.vpn_gateways + @vpn_connections = @client_0.vpn_connections + @p2s_vpn_server_configurations = @client_0.p2s_vpn_server_configurations + @p2s_vpn_gateways = @client_0.p2s_vpn_gateways + @application_gateways = @client_0.application_gateways + @application_security_groups = @client_0.application_security_groups + @available_endpoint_services = @client_0.available_endpoint_services + @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations + @express_route_circuit_peerings = @client_0.express_route_circuit_peerings + @express_route_circuits = @client_0.express_route_circuits + @express_route_service_providers = @client_0.express_route_service_providers @load_balancers = @client_0.load_balancers @load_balancer_backend_address_pools = @client_0.load_balancer_backend_address_pools @load_balancer_frontend_ipconfigurations = @client_0.load_balancer_frontend_ipconfigurations @@ -519,44 +534,29 @@ def initialize(configurable, base_url=nil, options=nil) @load_balancer_load_balancing_rules = @client_0.load_balancer_load_balancing_rules @load_balancer_network_interfaces = @client_0.load_balancer_network_interfaces @load_balancer_probes = @client_0.load_balancer_probes - @network_interfaces = @client_0.network_interfaces @network_interface_ipconfigurations = @client_0.network_interface_ipconfigurations @network_interface_load_balancers = @client_0.network_interface_load_balancers - @network_interface_tap_configurations = @client_0.network_interface_tap_configurations - @network_profiles = @client_0.network_profiles @network_security_groups = @client_0.network_security_groups @security_rules = @client_0.security_rules @default_security_rules = @client_0.default_security_rules @network_watchers = @client_0.network_watchers @packet_captures = @client_0.packet_captures @connection_monitors = @client_0.connection_monitors - @operations = @client_0.operations - @public_ipaddresses = @client_0.public_ipaddresses - @public_ipprefixes = @client_0.public_ipprefixes @route_filters = @client_0.route_filters @route_filter_rules = @client_0.route_filter_rules @route_tables = @client_0.route_tables @routes = @client_0.routes @bgp_service_communities = @client_0.bgp_service_communities - @service_endpoint_policies = @client_0.service_endpoint_policies - @service_endpoint_policy_definitions = @client_0.service_endpoint_policy_definitions @usages = @client_0.usages @virtual_networks = @client_0.virtual_networks @subnets = @client_0.subnets @virtual_network_peerings = @client_0.virtual_network_peerings - @virtual_network_taps = @client_0.virtual_network_taps @virtual_network_gateways = @client_0.virtual_network_gateways - @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections + @network_interfaces = @client_0.network_interfaces + @public_ipaddresses = @client_0.public_ipaddresses @local_network_gateways = @client_0.local_network_gateways - @virtual_wans = @client_0.virtual_wans - @vpn_sites = @client_0.vpn_sites - @vpn_sites_configuration = @client_0.vpn_sites_configuration - @virtual_hubs = @client_0.virtual_hubs - @hub_virtual_network_connections = @client_0.hub_virtual_network_connections - @vpn_gateways = @client_0.vpn_gateways - @vpn_connections = @client_0.vpn_connections - @p2s_vpn_server_configurations = @client_0.p2s_vpn_server_configurations - @p2s_vpn_gateways = @client_0.p2s_vpn_gateways + @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -575,810 +575,672 @@ def method_missing(method, *args) end class ModelClasses - def effective_network_security_group - Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroup + def azure_firewall_rcaction_type + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallRCActionType end - def list_p2_svpn_gateways_result - Azure::Network::Mgmt::V2018_08_01::Models::ListP2SVpnGatewaysResult + def azure_firewall_application_rule_protocol_type + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleProtocolType end - def sub_resource - Azure::Network::Mgmt::V2018_08_01::Models::SubResource + def azure_firewall_nat_rcaction_type + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRCActionType end - def express_route_cross_connection_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionListResult + def azure_firewall_network_rule_protocol + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRuleProtocol end - def device_properties - Azure::Network::Mgmt::V2018_08_01::Models::DeviceProperties + def express_route_peering_type + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRoutePeeringType end - def express_route_cross_connection_peering_list - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionPeeringList + def express_route_peering_state + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRoutePeeringState end - def list_vpn_sites_result - Azure::Network::Mgmt::V2018_08_01::Models::ListVpnSitesResult + def circuit_connection_status + Azure::Network::Mgmt::V2018_08_01::Models::CircuitConnectionStatus end - def virtual_hub_id - Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubId + def ip_flow_protocol + Azure::Network::Mgmt::V2018_08_01::Models::IpFlowProtocol end - def get_vpn_sites_configuration_request - Azure::Network::Mgmt::V2018_08_01::Models::GetVpnSitesConfigurationRequest + def httpmethod + Azure::Network::Mgmt::V2018_08_01::Models::HTTPMethod end - def express_route_circuit_peering_id - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringId + def connection_monitor_source_status + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorSourceStatus end - def virtual_network_gateway_list_connections_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListConnectionsResult + def public_ipprefix_sku_name + Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixSkuName end - def express_route_gateway_properties_auto_scale_configuration_bounds - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + def virtual_network_gateway_connection_protocol + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionProtocol end - def service_endpoint_properties_format - Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPropertiesFormat + def office_traffic_category + Azure::Network::Mgmt::V2018_08_01::Models::OfficeTrafficCategory end - def express_route_gateway_properties_auto_scale_configuration - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayPropertiesAutoScaleConfiguration + def vpn_gateway_tunneling_protocol + Azure::Network::Mgmt::V2018_08_01::Models::VpnGatewayTunnelingProtocol end - def local_network_gateway_list_result - Azure::Network::Mgmt::V2018_08_01::Models::LocalNetworkGatewayListResult + def vpn_connection_status + Azure::Network::Mgmt::V2018_08_01::Models::VpnConnectionStatus end - def p2_svpn_profile_parameters - Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnProfileParameters + def virtual_wan_security_provider_type + Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProviderType end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressDnsSettings + def tunnel_connection_status + Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionStatus end - def public_ipprefix_list_result - Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixListResult + def hub_virtual_network_connection_status + Azure::Network::Mgmt::V2018_08_01::Models::HubVirtualNetworkConnectionStatus end - def vpn_client_ipsec_parameters - Azure::Network::Mgmt::V2018_08_01::Models::VpnClientIPsecParameters + def httpheader + Azure::Network::Mgmt::V2018_08_01::Models::HTTPHeader end - def express_route_gateway_list - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayList + def severity + Azure::Network::Mgmt::V2018_08_01::Models::Severity end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionResetSharedKey + def error_response + Azure::Network::Mgmt::V2018_08_01::Models::ErrorResponse end - def express_route_connection_list - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnectionList + def application_gateway_backend_address + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendAddress end - def list_virtual_hubs_result - Azure::Network::Mgmt::V2018_08_01::Models::ListVirtualHubsResult + def public_ipaddress_sku + Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressSku end - def interface_endpoint_list_result - Azure::Network::Mgmt::V2018_08_01::Models::InterfaceEndpointListResult + def ip_tag + Azure::Network::Mgmt::V2018_08_01::Models::IpTag end - def tunnel_connection_health - Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionHealth + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressListResult end - def load_balancer_sku - Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerSku + def endpoint_service + Azure::Network::Mgmt::V2018_08_01::Models::EndpointService end - def bgp_peer_status_list_result - Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatusListResult + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressDnsSettings end - def vpn_profile_response - Azure::Network::Mgmt::V2018_08_01::Models::VpnProfileResponse + def network_interface_list_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceListResult end - def vpn_client_parameters - Azure::Network::Mgmt::V2018_08_01::Models::VpnClientParameters + def network_interface_dns_settings + Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceDnsSettings end - def referenced_public_ip_address - Azure::Network::Mgmt::V2018_08_01::Models::ReferencedPublicIpAddress + def network_interface_ipconfiguration_list_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceIPConfigurationListResult end - def application_gateway_backend_address - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendAddress + def service_endpoint_properties_format + Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPropertiesFormat end - def public_ipprefix_sku - Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixSku + def application_security_group + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroup end - def application_gateway_connection_draining - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayConnectionDraining + def delegation + Azure::Network::Mgmt::V2018_08_01::Models::Delegation end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressListResult + def service_association_link + Azure::Network::Mgmt::V2018_08_01::Models::ServiceAssociationLink end - def application_gateway_backend_health_server - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServer + def resource_navigation_link + Azure::Network::Mgmt::V2018_08_01::Models::ResourceNavigationLink + end + def security_rule + Azure::Network::Mgmt::V2018_08_01::Models::SecurityRule + end + def interface_endpoint + Azure::Network::Mgmt::V2018_08_01::Models::InterfaceEndpoint + end + def operation_display + Azure::Network::Mgmt::V2018_08_01::Models::OperationDisplay + end + def network_interface_tap_configuration + Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceTapConfiguration + end + def operation + Azure::Network::Mgmt::V2018_08_01::Models::Operation + end + def public_ipaddress + Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddress end def operation_list_result Azure::Network::Mgmt::V2018_08_01::Models::OperationListResult end - def application_gateway_backend_health_pool - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthPool + def virtual_network_tap + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkTap + end + def frontend_ipconfiguration + Azure::Network::Mgmt::V2018_08_01::Models::FrontendIPConfiguration + end + def ipconfiguration + Azure::Network::Mgmt::V2018_08_01::Models::IPConfiguration + end + def inbound_nat_rule + Azure::Network::Mgmt::V2018_08_01::Models::InboundNatRule + end + def network_interface + Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterface + end + def network_security_group + Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroup + end + def route + Azure::Network::Mgmt::V2018_08_01::Models::Route + end + def route_table + Azure::Network::Mgmt::V2018_08_01::Models::RouteTable + end + def service_endpoint_policy_definition + Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyDefinition + end + def service_endpoint_policy + Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicy + end + def ipconfiguration_profile + Azure::Network::Mgmt::V2018_08_01::Models::IPConfigurationProfile + end + def subnet + Azure::Network::Mgmt::V2018_08_01::Models::Subnet + end + def security_rule_protocol + Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleProtocol + end + def network_interface_ipconfiguration + Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceIPConfiguration + end + def security_rule_access + Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleAccess + end + def application_gateway_backend_address_pool + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendAddressPool + end + def backend_address_pool + Azure::Network::Mgmt::V2018_08_01::Models::BackendAddressPool + end + def security_rule_direction + Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleDirection + end + def ipallocation_method + Azure::Network::Mgmt::V2018_08_01::Models::IPAllocationMethod + end + def route_next_hop_type + Azure::Network::Mgmt::V2018_08_01::Models::RouteNextHopType + end + def transport_protocol + Azure::Network::Mgmt::V2018_08_01::Models::TransportProtocol + end + def public_ipaddress_sku_name + Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressSkuName + end + def topology_association + Azure::Network::Mgmt::V2018_08_01::Models::TopologyAssociation + end + def topology_resource + Azure::Network::Mgmt::V2018_08_01::Models::TopologyResource + end + def operation_properties_format_service_specification + Azure::Network::Mgmt::V2018_08_01::Models::OperationPropertiesFormatServiceSpecification + end + def virtual_network_connection_gateway_reference + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkConnectionGatewayReference end def load_balancer_list_result Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerListResult end - def application_gateway_sku - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySku + def connection_shared_key + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionSharedKey end def inbound_nat_rule_list_result Azure::Network::Mgmt::V2018_08_01::Models::InboundNatRuleListResult end - def bgp_settings - Azure::Network::Mgmt::V2018_08_01::Models::BgpSettings - end def load_balancer_backend_address_pool_list_result Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerBackendAddressPoolListResult end - def ipsec_policy - Azure::Network::Mgmt::V2018_08_01::Models::IpsecPolicy + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionResetSharedKey end def load_balancer_frontend_ipconfiguration_list_result Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerFrontendIPConfigurationListResult end - def vpn_site_id - Azure::Network::Mgmt::V2018_08_01::Models::VpnSiteId + def ipsec_policy + Azure::Network::Mgmt::V2018_08_01::Models::IpsecPolicy end def load_balancer_load_balancing_rule_list_result Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerLoadBalancingRuleListResult end - def virtual_wan_security_provider - Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProvider + def gateway_route_list_result + Azure::Network::Mgmt::V2018_08_01::Models::GatewayRouteListResult end def load_balancer_probe_list_result Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerProbeListResult end - def application_gateway_probe_health_response_match - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbeHealthResponseMatch - end - def network_interface_list_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceListResult + def bgp_peer_status_list_result + Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatusListResult end - def virtual_network_usage - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsage + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult end def error_details Azure::Network::Mgmt::V2018_08_01::Models::ErrorDetails end - def ipaddress_availability_result - Azure::Network::Mgmt::V2018_08_01::Models::IPAddressAvailabilityResult - end - def error - Azure::Network::Mgmt::V2018_08_01::Models::Error + def application_gateway_backend_health_http_settings + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthHttpSettings end - def application_gateway_web_application_firewall_configuration - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration + def application_gateway_backend_health + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealth end def azure_async_operation_result Azure::Network::Mgmt::V2018_08_01::Models::AzureAsyncOperationResult end - def virtual_network_list_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkListResult - end - def network_interface_tap_configuration_list_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceTapConfigurationListResult - end - def application_gateway_firewall_rule - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRule - end - def network_interface_ipconfiguration_list_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceIPConfigurationListResult + def application_gateway_ssl_policy + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy end - def virtual_wan_security_providers - Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProviders + def gateway_route + Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute end - def network_interface_load_balancer_list_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceLoadBalancerListResult + def sub_resource + Azure::Network::Mgmt::V2018_08_01::Models::SubResource end - def dhcp_options - Azure::Network::Mgmt::V2018_08_01::Models::DhcpOptions + def bgp_settings + Azure::Network::Mgmt::V2018_08_01::Models::BgpSettings end def effective_network_security_group_association Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroupAssociation end - def application_gateway_available_ssl_predefined_policies - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySku end def effective_network_security_rule Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityRule end - def tags_object - Azure::Network::Mgmt::V2018_08_01::Models::TagsObject + def application_gateway_probe_health_response_match + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbeHealthResponseMatch end - def operation - Azure::Network::Mgmt::V2018_08_01::Models::Operation + def network_interface_load_balancer_list_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceLoadBalancerListResult end - def available_delegation - Azure::Network::Mgmt::V2018_08_01::Models::AvailableDelegation + def effective_network_security_group + Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroup + end + def virtual_network_usage_name + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsageName end def effective_network_security_group_list_result Azure::Network::Mgmt::V2018_08_01::Models::EffectiveNetworkSecurityGroupListResult end - def subnet_list_result - Azure::Network::Mgmt::V2018_08_01::Models::SubnetListResult + def virtual_network_list_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkListResult end def effective_route Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRoute end - def azure_firewall_application_rule_protocol - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleProtocol + def application_gateway_web_application_firewall_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration end def effective_route_list_result Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRouteListResult end - def list_p2_svpn_server_configurations_result - Azure::Network::Mgmt::V2018_08_01::Models::ListP2SVpnServerConfigurationsResult - end - def operation_properties_format_service_specification - Azure::Network::Mgmt::V2018_08_01::Models::OperationPropertiesFormatServiceSpecification - end - def azure_firewall_nat_rule - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRule + def application_gateway_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayListResult end - def log_specification - Azure::Network::Mgmt::V2018_08_01::Models::LogSpecification + def security_rule_list_result + Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleListResult end - def azure_firewall_network_rule - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRule + def application_gateway_firewall_rule_group + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup end - def container_network_interface_ip_configuration - Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterfaceIpConfiguration + def network_security_group_list_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroupListResult end def usage Azure::Network::Mgmt::V2018_08_01::Models::Usage end - def metric_specification - Azure::Network::Mgmt::V2018_08_01::Models::MetricSpecification + def address_space + Azure::Network::Mgmt::V2018_08_01::Models::AddressSpace end - def usage_name - Azure::Network::Mgmt::V2018_08_01::Models::UsageName + def topology_parameters + Azure::Network::Mgmt::V2018_08_01::Models::TopologyParameters end - def dimension - Azure::Network::Mgmt::V2018_08_01::Models::Dimension + def application_security_group_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroupListResult end def dns_name_availability_result Azure::Network::Mgmt::V2018_08_01::Models::DnsNameAvailabilityResult end - def network_profile_list_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfileListResult - end - def ddos_protection_plan_list_result - Azure::Network::Mgmt::V2018_08_01::Models::DdosProtectionPlanListResult - end - def security_rule_list_result - Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleListResult + def dimension + Azure::Network::Mgmt::V2018_08_01::Models::Dimension end def endpoint_services_list_result Azure::Network::Mgmt::V2018_08_01::Models::EndpointServicesListResult end - def network_security_group_list_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroupListResult + def metric_specification + Azure::Network::Mgmt::V2018_08_01::Models::MetricSpecification end def authorization_list_result Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationListResult end - def error_response - Azure::Network::Mgmt::V2018_08_01::Models::ErrorResponse - end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunityListResult - end - def express_route_connection_id - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnectionId - end - def network_watcher_list_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcherListResult - end - def bgpcommunity - Azure::Network::Mgmt::V2018_08_01::Models::BGPCommunity - end - def topology_parameters - Azure::Network::Mgmt::V2018_08_01::Models::TopologyParameters - end - def ipv6_express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_08_01::Models::Ipv6ExpressRouteCircuitPeeringConfig - end - def topology_association - Azure::Network::Mgmt::V2018_08_01::Models::TopologyAssociation - end - def express_route_circuit_sku - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSku - end - def topology_resource - Azure::Network::Mgmt::V2018_08_01::Models::TopologyResource - end - def route_table_list_result - Azure::Network::Mgmt::V2018_08_01::Models::RouteTableListResult - end def topology Azure::Network::Mgmt::V2018_08_01::Models::Topology end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsArpTableListResult - end def verification_ipflow_parameters Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowParameters end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsRoutesTableListResult + def bgp_service_community_list_result + Azure::Network::Mgmt::V2018_08_01::Models::BgpServiceCommunityListResult end def verification_ipflow_result Azure::Network::Mgmt::V2018_08_01::Models::VerificationIPFlowResult end - def express_route_circuits_routes_table_summary_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + def ipv6_express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_08_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end def next_hop_parameters Azure::Network::Mgmt::V2018_08_01::Models::NextHopParameters end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProviderBandwidthsOffered + def express_route_circuit_sku + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSku end def next_hop_result Azure::Network::Mgmt::V2018_08_01::Models::NextHopResult end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProviderListResult + def route_list_result + Azure::Network::Mgmt::V2018_08_01::Models::RouteListResult end def security_group_view_parameters Azure::Network::Mgmt::V2018_08_01::Models::SecurityGroupViewParameters end - def express_route_cross_connections_routes_table_summary_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionsRoutesTableSummaryListResult + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsArpTableListResult end def network_interface_association Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceAssociation end - def route_filter_list_result - Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterListResult + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsRoutesTableListResult end def subnet_association Azure::Network::Mgmt::V2018_08_01::Models::SubnetAssociation end - def endpoint_service - Azure::Network::Mgmt::V2018_08_01::Models::EndpointService + def express_route_circuits_routes_table_summary_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end def security_rule_associations Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleAssociations end - def vpn_device_script_parameters - Azure::Network::Mgmt::V2018_08_01::Models::VpnDeviceScriptParameters + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProviderBandwidthsOffered end def security_group_network_interface Azure::Network::Mgmt::V2018_08_01::Models::SecurityGroupNetworkInterface end - def virtual_network_connection_gateway_reference - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkConnectionGatewayReference + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProviderListResult end def security_group_view_result Azure::Network::Mgmt::V2018_08_01::Models::SecurityGroupViewResult end - def ip_tag - Azure::Network::Mgmt::V2018_08_01::Models::IpTag + def route_filter_rule_list_result + Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult end def packet_capture_storage_location Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureStorageLocation end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListResult - end def packet_capture_filter Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureFilter end - def gateway_route_list_result - Azure::Network::Mgmt::V2018_08_01::Models::GatewayRouteListResult + def virtual_network_gateway_list_connections_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListConnectionsResult end def packet_capture_parameters Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureParameters end - def list_vpn_connections_result - Azure::Network::Mgmt::V2018_08_01::Models::ListVpnConnectionsResult - end def packet_capture Azure::Network::Mgmt::V2018_08_01::Models::PacketCapture end - def bgp_peer_status - Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatus + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListResult end def packet_capture_result Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureResult end - def application_gateway_backend_health - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealth - end def packet_capture_list_result Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureListResult end - def vpn_client_configuration - Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConfiguration + def application_gateway_backend_health_server + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServer end def packet_capture_query_status_result Azure::Network::Mgmt::V2018_08_01::Models::PacketCaptureQueryStatusResult end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySku + def application_gateway_sku + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySku end def troubleshooting_parameters Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingParameters end - def virtual_network_list_usage_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkListUsageResult + def bgp_peer_status + Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerStatus end def query_troubleshooting_parameters Azure::Network::Mgmt::V2018_08_01::Models::QueryTroubleshootingParameters end - def application_gateway_firewall_disabled_rule_group - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + def virtual_network_list_usage_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkListUsageResult end def troubleshooting_recommended_actions Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingRecommendedActions end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayListResult + def ipaddress_availability_result + Azure::Network::Mgmt::V2018_08_01::Models::IPAddressAvailabilityResult end def troubleshooting_details Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingDetails end - def application_gateway_available_waf_rule_sets_result - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + def dhcp_options + Azure::Network::Mgmt::V2018_08_01::Models::DhcpOptions end def troubleshooting_result Azure::Network::Mgmt::V2018_08_01::Models::TroubleshootingResult end - def resource - Azure::Network::Mgmt::V2018_08_01::Models::Resource + def virtual_network_peering_list_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringListResult end def retention_policy_parameters Azure::Network::Mgmt::V2018_08_01::Models::RetentionPolicyParameters end - def available_delegations_result - Azure::Network::Mgmt::V2018_08_01::Models::AvailableDelegationsResult + def application_gateway_available_ssl_predefined_policies + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies end def flow_log_status_parameters Azure::Network::Mgmt::V2018_08_01::Models::FlowLogStatusParameters end - def azure_firewall_application_rule - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRule - end - def traffic_analytics_configuration_properties - Azure::Network::Mgmt::V2018_08_01::Models::TrafficAnalyticsConfigurationProperties - end - def address_space - Azure::Network::Mgmt::V2018_08_01::Models::AddressSpace - end - def traffic_analytics_properties - Azure::Network::Mgmt::V2018_08_01::Models::TrafficAnalyticsProperties - end - def azure_firewall_list_result - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallListResult + def usages_list_result + Azure::Network::Mgmt::V2018_08_01::Models::UsagesListResult end def flow_log_information Azure::Network::Mgmt::V2018_08_01::Models::FlowLogInformation end - def ddos_protection_plan - Azure::Network::Mgmt::V2018_08_01::Models::DdosProtectionPlan + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringConfig end def connectivity_source Azure::Network::Mgmt::V2018_08_01::Models::ConnectivitySource end - def service_endpoint_policy_definition_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyDefinitionListResult + def bgpcommunity + Azure::Network::Mgmt::V2018_08_01::Models::BGPCommunity end def connectivity_destination Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityDestination end - def express_route_circuit_stats - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitStats - end - def httpheader - Azure::Network::Mgmt::V2018_08_01::Models::HTTPHeader - end - def route_list_result - Azure::Network::Mgmt::V2018_08_01::Models::RouteListResult - end - def httpconfiguration - Azure::Network::Mgmt::V2018_08_01::Models::HTTPConfiguration - end def express_route_circuit_service_provider_properties Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitServiceProviderProperties end - def protocol_configuration - Azure::Network::Mgmt::V2018_08_01::Models::ProtocolConfiguration - end - def express_route_circuit_routes_table - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTable - end def connectivity_parameters Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityParameters end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitListResult + def express_route_circuit_routes_table + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTable end def connectivity_issue Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityIssue end - def express_route_cross_connection_routes_table_summary - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionRoutesTableSummary + def express_route_circuit_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitListResult end def connectivity_hop Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityHop end - def list_virtual_wans_result - Azure::Network::Mgmt::V2018_08_01::Models::ListVirtualWANsResult + def load_balancer_sku + Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerSku end def connectivity_information Azure::Network::Mgmt::V2018_08_01::Models::ConnectivityInformation end - def virtual_hub_route - Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubRoute + def vpn_device_script_parameters + Azure::Network::Mgmt::V2018_08_01::Models::VpnDeviceScriptParameters end def azure_reachability_report_location Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportLocation end - def virtual_hub_route_table - Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubRouteTable - end def azure_reachability_report_parameters Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportParameters end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayListResult + def application_gateway_connection_draining + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayConnectionDraining end - def azure_reachability_report_latency_info - Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportLatencyInfo + def usage_name + Azure::Network::Mgmt::V2018_08_01::Models::UsageName end - def application_gateway_backend_health_http_settings - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthHttpSettings + def vpn_client_parameters + Azure::Network::Mgmt::V2018_08_01::Models::VpnClientParameters end def azure_reachability_report_item Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportItem end - def list_hub_virtual_network_connections_result - Azure::Network::Mgmt::V2018_08_01::Models::ListHubVirtualNetworkConnectionsResult + def virtual_network_usage + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsage end def azure_reachability_report Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReport end - def virtual_network_usage_name - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkUsageName + def application_gateway_firewall_rule + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRule end - def available_providers_list_parameters - Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListParameters + def azure_reachability_report_latency_info + Azure::Network::Mgmt::V2018_08_01::Models::AzureReachabilityReportLatencyInfo end - def application_gateway_firewall_rule_group - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleGroup + def tags_object + Azure::Network::Mgmt::V2018_08_01::Models::TagsObject end def available_providers_list_city Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListCity end - def application_security_group_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroupListResult + def express_route_circuit_stats + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitStats end def available_providers_list_state Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListState end - def azure_firewall_nat_rcaction - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRCAction + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitArpTable end - def available_providers_list_country - Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListCountry + def available_providers_list_parameters + Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListParameters end - def azure_firewall_fqdn_tag_list_result - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallFqdnTagListResult + def route_table_list_result + Azure::Network::Mgmt::V2018_08_01::Models::RouteTableListResult end def available_providers_list Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersList end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringConfig + def local_network_gateway_list_result + Azure::Network::Mgmt::V2018_08_01::Models::LocalNetworkGatewayListResult end def connection_monitor_source Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorSource end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringListResult + def application_gateway_backend_health_pool + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthPool end - def connection_monitor_destination - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorDestination + def available_providers_list_country + Azure::Network::Mgmt::V2018_08_01::Models::AvailableProvidersListCountry end - def express_route_circuit_routes_table_summary - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTableSummary + def application_gateway_firewall_disabled_rule_group + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallDisabledRuleGroup end def connection_monitor_parameters Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorParameters end - def express_route_circuit_reference - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitReference - end - def connection_monitor - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitor + def connection_monitor_destination + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorDestination end - def public_ipaddress_sku - Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressSku + def express_route_circuit_routes_table_summary + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitRoutesTableSummary end def connection_monitor_result Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorResult end - def gateway_route - Azure::Network::Mgmt::V2018_08_01::Models::GatewayRoute + def tunnel_connection_health + Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionHealth end - def connection_monitor_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorListResult + def resource + Azure::Network::Mgmt::V2018_08_01::Models::Resource end - def virtual_network_tap_list_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkTapListResult + def subnet_list_result + Azure::Network::Mgmt::V2018_08_01::Models::SubnetListResult end - def connection_state_snapshot - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStateSnapshot + def connection_monitor + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitor end - def virtual_network_peering_list_result - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringListResult + def route_filter_list_result + Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterListResult end def connection_monitor_query_result Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorQueryResult end - def usages_list_result - Azure::Network::Mgmt::V2018_08_01::Models::UsagesListResult - end - def traffic_query - Azure::Network::Mgmt::V2018_08_01::Models::TrafficQuery - end - def vpn_client_connection_health - Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConnectionHealth - end - def network_configuration_diagnostic_parameters - Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticParameters - end - def route_filter_rule_list_result - Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRuleListResult - end - def matched_rule - Azure::Network::Mgmt::V2018_08_01::Models::MatchedRule - end - def list_vpn_gateways_result - Azure::Network::Mgmt::V2018_08_01::Models::ListVpnGatewaysResult - end - def network_security_rules_evaluation_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityRulesEvaluationResult - end - def application_gateway_autoscale_configuration - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAutoscaleConfiguration - end - def evaluated_network_security_group - Azure::Network::Mgmt::V2018_08_01::Models::EvaluatedNetworkSecurityGroup - end - def service_endpoint_policy_list_result - Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyListResult - end - def network_security_group_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroupResult - end - def network_interface_dns_settings - Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceDnsSettings - end - def network_configuration_diagnostic_result - Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticResult - end - def azure_firewall_rcaction - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallRCAction - end - def network_configuration_diagnostic_response - Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticResponse - end - def application_gateway_ssl_policy - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicy - end - def operation_display - Azure::Network::Mgmt::V2018_08_01::Models::OperationDisplay + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringListResult end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitArpTable + def vpn_client_configuration + Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConfiguration end def availability Azure::Network::Mgmt::V2018_08_01::Models::Availability end - def network_interface_tap_configuration - Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceTapConfiguration - end - def application_security_group - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationSecurityGroup - end - def security_rule - Azure::Network::Mgmt::V2018_08_01::Models::SecurityRule - end - def interface_endpoint - Azure::Network::Mgmt::V2018_08_01::Models::InterfaceEndpoint - end - def network_interface - Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterface - end - def network_security_group - Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroup - end - def route - Azure::Network::Mgmt::V2018_08_01::Models::Route - end - def route_table - Azure::Network::Mgmt::V2018_08_01::Models::RouteTable - end - def service_endpoint_policy_definition - Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyDefinition - end - def service_endpoint_policy - Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicy - end - def public_ipaddress - Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddress - end - def ipconfiguration - Azure::Network::Mgmt::V2018_08_01::Models::IPConfiguration - end - def ipconfiguration_profile - Azure::Network::Mgmt::V2018_08_01::Models::IPConfigurationProfile - end - def resource_navigation_link - Azure::Network::Mgmt::V2018_08_01::Models::ResourceNavigationLink - end - def service_association_link - Azure::Network::Mgmt::V2018_08_01::Models::ServiceAssociationLink - end - def delegation - Azure::Network::Mgmt::V2018_08_01::Models::Delegation - end - def subnet - Azure::Network::Mgmt::V2018_08_01::Models::Subnet - end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2018_08_01::Models::FrontendIPConfiguration - end - def virtual_network_tap - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkTap - end - def backend_address_pool - Azure::Network::Mgmt::V2018_08_01::Models::BackendAddressPool - end - def inbound_nat_rule - Azure::Network::Mgmt::V2018_08_01::Models::InboundNatRule - end - def network_interface_ipconfiguration - Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceIPConfiguration - end - def application_gateway_backend_address_pool - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendAddressPool - end - def application_gateway_backend_http_settings - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHttpSettings + def connection_state_snapshot + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStateSnapshot end def application_gateway_ipconfiguration Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayIPConfiguration end + def connection_monitor_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorListResult + end def application_gateway_authentication_certificate Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAuthenticationCertificate end - def application_gateway_trusted_root_certificate - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTrustedRootCertificate - end def application_gateway_ssl_certificate Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCertificate end def application_gateway_frontend_ipconfiguration Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendIPConfiguration end - def application_gateway_frontend_port - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendPort + def application_gateway_backend_http_settings + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHttpSettings end def application_gateway_http_listener Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayHttpListener end - def application_gateway_path_rule - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule - end def application_gateway_probe Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProbe end def application_gateway_request_routing_rule Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration + def application_gateway_path_rule + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayPathRule + end + def application_gateway_frontend_port + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFrontendPort end def application_gateway_url_path_map Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayUrlPathMap end - def application_gateway - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway - end def application_gateway_firewall_rule_set Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallRuleSet end @@ -1388,23 +1250,8 @@ def application_gateway_available_ssl_options def application_gateway_ssl_predefined_policy Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPredefinedPolicy end - def azure_firewall_ipconfiguration - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallIPConfiguration - end - def azure_firewall_application_rule_collection - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleCollection - end - def azure_firewall_nat_rule_collection - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRuleCollection - end - def azure_firewall_network_rule_collection - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRuleCollection - end - def azure_firewall - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewall - end - def azure_firewall_fqdn_tag - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallFqdnTag + def application_gateway_redirect_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRedirectConfiguration end def endpoint_service_result Azure::Network::Mgmt::V2018_08_01::Models::EndpointServiceResult @@ -1412,68 +1259,35 @@ def endpoint_service_result def express_route_circuit_authorization Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitAuthorization end - def route_filter_rule - Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule - end - def express_route_circuit_connection - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitConnection - end def express_route_circuit_peering Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeering end def route_filter Azure::Network::Mgmt::V2018_08_01::Models::RouteFilter end - def express_route_circuit - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit + def route_filter_rule + Azure::Network::Mgmt::V2018_08_01::Models::RouteFilterRule + end + def application_gateway + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGateway end def express_route_service_provider Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteServiceProvider end - def express_route_cross_connection_peering - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionPeering - end - def express_route_cross_connection - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnection - end - def express_route_connection - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnection + def express_route_circuit + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuit end - def express_route_gateway - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGateway + def inbound_nat_pool + Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool end def load_balancing_rule Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancingRule end - def probe - Azure::Network::Mgmt::V2018_08_01::Models::Probe + def load_balancer + Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer end - def inbound_nat_pool - Azure::Network::Mgmt::V2018_08_01::Models::InboundNatPool - end - def outbound_rule - Azure::Network::Mgmt::V2018_08_01::Models::OutboundRule - end - def load_balancer - Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancer - end - def container_network_interface_configuration - Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterfaceConfiguration - end - def container - Azure::Network::Mgmt::V2018_08_01::Models::Container - end - def container_network_interface - Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterface - end - def network_profile - Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfile - end - def network_watcher - Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher - end - def public_ipprefix - Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefix + def network_watcher + Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcher end def patch_route_filter_rule Azure::Network::Mgmt::V2018_08_01::Models::PatchRouteFilterRule @@ -1490,15 +1304,15 @@ def virtual_network_peering def virtual_network Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetwork end + def probe + Azure::Network::Mgmt::V2018_08_01::Models::Probe + end def virtual_network_gateway_ipconfiguration Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayIPConfiguration end def vpn_client_root_certificate Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRootCertificate end - def vpn_client_revoked_certificate - Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRevokedCertificate - end def virtual_network_gateway Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGateway end @@ -1508,77 +1322,14 @@ def local_network_gateway def virtual_network_gateway_connection Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnection end - def connection_shared_key - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionSharedKey + def network_profile + Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfile end def virtual_network_gateway_connection_list_entity Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionListEntity end - def p2_svpn_server_config_vpn_client_root_certificate - Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigVpnClientRootCertificate - end - def p2_svpn_server_config_vpn_client_revoked_certificate - Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigVpnClientRevokedCertificate - end - def p2_svpn_server_config_radius_server_root_certificate - Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigRadiusServerRootCertificate - end - def p2_svpn_server_config_radius_client_root_certificate - Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigRadiusClientRootCertificate - end - def p2_svpn_server_configuration - Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfiguration - end - def virtual_wan - Azure::Network::Mgmt::V2018_08_01::Models::VirtualWAN - end - def vpn_site - Azure::Network::Mgmt::V2018_08_01::Models::VpnSite - end - def hub_virtual_network_connection - Azure::Network::Mgmt::V2018_08_01::Models::HubVirtualNetworkConnection - end - def virtual_hub - Azure::Network::Mgmt::V2018_08_01::Models::VirtualHub - end - def vpn_connection - Azure::Network::Mgmt::V2018_08_01::Models::VpnConnection - end - def vpn_gateway - Azure::Network::Mgmt::V2018_08_01::Models::VpnGateway - end - def p2_svpn_gateway - Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnGateway - end - def ipallocation_method - Azure::Network::Mgmt::V2018_08_01::Models::IPAllocationMethod - end - def security_rule_protocol - Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleProtocol - end - def security_rule_access - Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleAccess - end - def security_rule_direction - Azure::Network::Mgmt::V2018_08_01::Models::SecurityRuleDirection - end - def route_next_hop_type - Azure::Network::Mgmt::V2018_08_01::Models::RouteNextHopType - end - def public_ipaddress_sku_name - Azure::Network::Mgmt::V2018_08_01::Models::PublicIPAddressSkuName - end - def ipversion - Azure::Network::Mgmt::V2018_08_01::Models::IPVersion - end - def transport_protocol - Azure::Network::Mgmt::V2018_08_01::Models::TransportProtocol - end - def application_gateway_protocol - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol - end - def application_gateway_cookie_based_affinity - Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCookieBasedAffinity + def vpn_client_revoked_certificate + Azure::Network::Mgmt::V2018_08_01::Models::VpnClientRevokedCertificate end def application_gateway_backend_health_server_health Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayBackendHealthServerHealth @@ -1592,6 +1343,9 @@ def application_gateway_tier def application_gateway_ssl_protocol Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslProtocol end + def ipversion + Azure::Network::Mgmt::V2018_08_01::Models::IPVersion + end def application_gateway_ssl_policy_type Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslPolicyType end @@ -1601,6 +1355,12 @@ def application_gateway_ssl_policy_name def application_gateway_ssl_cipher_suite Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewaySslCipherSuite end + def application_gateway_protocol + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayProtocol + end + def application_gateway_cookie_based_affinity + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayCookieBasedAffinity + end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayRequestRoutingRuleType end @@ -1613,21 +1373,6 @@ def application_gateway_operational_state def application_gateway_firewall_mode Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayFirewallMode end - def provisioning_state - Azure::Network::Mgmt::V2018_08_01::Models::ProvisioningState - end - def azure_firewall_rcaction_type - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallRCActionType - end - def azure_firewall_application_rule_protocol_type - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleProtocolType - end - def azure_firewall_nat_rcaction_type - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRCActionType - end - def azure_firewall_network_rule_protocol - Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRuleProtocol - end def authorization_use_status Azure::Network::Mgmt::V2018_08_01::Models::AuthorizationUseStatus end @@ -1637,38 +1382,41 @@ def express_route_circuit_peering_advertised_public_prefix_state def access Azure::Network::Mgmt::V2018_08_01::Models::Access end - def express_route_peering_type - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRoutePeeringType - end - def express_route_peering_state - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRoutePeeringState - end - def circuit_connection_status - Azure::Network::Mgmt::V2018_08_01::Models::CircuitConnectionStatus + def express_route_circuit_sku_tier + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuTier end def express_route_circuit_peering_state Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringState end - def express_route_circuit_sku_tier - Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuTier + def service_provider_provisioning_state + Azure::Network::Mgmt::V2018_08_01::Models::ServiceProviderProvisioningState end def express_route_circuit_sku_family Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitSkuFamily end - def service_provider_provisioning_state - Azure::Network::Mgmt::V2018_08_01::Models::ServiceProviderProvisioningState + def load_distribution + Azure::Network::Mgmt::V2018_08_01::Models::LoadDistribution + end + def application_gateway_available_waf_rule_sets_result + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + end + def network_operation_status + Azure::Network::Mgmt::V2018_08_01::Models::NetworkOperationStatus + end + def network_watcher_list_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkWatcherListResult end def load_balancer_sku_name Azure::Network::Mgmt::V2018_08_01::Models::LoadBalancerSkuName end - def load_distribution - Azure::Network::Mgmt::V2018_08_01::Models::LoadDistribution + def provisioning_state + Azure::Network::Mgmt::V2018_08_01::Models::ProvisioningState end def probe_protocol Azure::Network::Mgmt::V2018_08_01::Models::ProbeProtocol end - def network_operation_status - Azure::Network::Mgmt::V2018_08_01::Models::NetworkOperationStatus + def effective_route_state + Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRouteState end def effective_security_rule_protocol Azure::Network::Mgmt::V2018_08_01::Models::EffectiveSecurityRuleProtocol @@ -1676,23 +1424,14 @@ def effective_security_rule_protocol def effective_route_source Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRouteSource end - def effective_route_state - Azure::Network::Mgmt::V2018_08_01::Models::EffectiveRouteState - end - def association_type - Azure::Network::Mgmt::V2018_08_01::Models::AssociationType - end def direction Azure::Network::Mgmt::V2018_08_01::Models::Direction end - def ip_flow_protocol - Azure::Network::Mgmt::V2018_08_01::Models::IpFlowProtocol - end def next_hop_type Azure::Network::Mgmt::V2018_08_01::Models::NextHopType end - def pc_protocol - Azure::Network::Mgmt::V2018_08_01::Models::PcProtocol + def association_type + Azure::Network::Mgmt::V2018_08_01::Models::AssociationType end def pc_status Azure::Network::Mgmt::V2018_08_01::Models::PcStatus @@ -1700,17 +1439,8 @@ def pc_status def pc_error Azure::Network::Mgmt::V2018_08_01::Models::PcError end - def protocol - Azure::Network::Mgmt::V2018_08_01::Models::Protocol - end - def httpmethod - Azure::Network::Mgmt::V2018_08_01::Models::HTTPMethod - end - def origin - Azure::Network::Mgmt::V2018_08_01::Models::Origin - end - def severity - Azure::Network::Mgmt::V2018_08_01::Models::Severity + def pc_protocol + Azure::Network::Mgmt::V2018_08_01::Models::PcProtocol end def issue_type Azure::Network::Mgmt::V2018_08_01::Models::IssueType @@ -1718,36 +1448,36 @@ def issue_type def connection_status Azure::Network::Mgmt::V2018_08_01::Models::ConnectionStatus end - def connection_monitor_source_status - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionMonitorSourceStatus - end - def connection_state - Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState + def origin + Azure::Network::Mgmt::V2018_08_01::Models::Origin end def evaluation_state Azure::Network::Mgmt::V2018_08_01::Models::EvaluationState end - def public_ipprefix_sku_name - Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixSkuName - end def virtual_network_peering_state Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkPeeringState end - def virtual_network_gateway_type - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType + def connection_state + Azure::Network::Mgmt::V2018_08_01::Models::ConnectionState end def vpn_type Azure::Network::Mgmt::V2018_08_01::Models::VpnType end + def error + Azure::Network::Mgmt::V2018_08_01::Models::Error + end + def virtual_network_gateway_type + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayType + end + def vpn_client_protocol + Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol + end def virtual_network_gateway_sku_name Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuName end def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewaySkuTier end - def vpn_client_protocol - Azure::Network::Mgmt::V2018_08_01::Models::VpnClientProtocol - end def ipsec_encryption Azure::Network::Mgmt::V2018_08_01::Models::IpsecEncryption end @@ -1766,9 +1496,6 @@ def dh_group def pfs_group Azure::Network::Mgmt::V2018_08_01::Models::PfsGroup end - def bgp_peer_state - Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState - end def processor_architecture Azure::Network::Mgmt::V2018_08_01::Models::ProcessorArchitecture end @@ -1781,26 +1508,299 @@ def virtual_network_gateway_connection_status def virtual_network_gateway_connection_type Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionType end - def virtual_network_gateway_connection_protocol - Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkGatewayConnectionProtocol + def bgp_peer_state + Azure::Network::Mgmt::V2018_08_01::Models::BgpPeerState end - def office_traffic_category - Azure::Network::Mgmt::V2018_08_01::Models::OfficeTrafficCategory + def container + Azure::Network::Mgmt::V2018_08_01::Models::Container end - def vpn_gateway_tunneling_protocol - Azure::Network::Mgmt::V2018_08_01::Models::VpnGatewayTunnelingProtocol + def protocol + Azure::Network::Mgmt::V2018_08_01::Models::Protocol end - def vpn_connection_status - Azure::Network::Mgmt::V2018_08_01::Models::VpnConnectionStatus + def log_specification + Azure::Network::Mgmt::V2018_08_01::Models::LogSpecification end - def virtual_wan_security_provider_type - Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProviderType + def list_p2_svpn_gateways_result + Azure::Network::Mgmt::V2018_08_01::Models::ListP2SVpnGatewaysResult end - def tunnel_connection_status - Azure::Network::Mgmt::V2018_08_01::Models::TunnelConnectionStatus + def express_route_cross_connection_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionListResult end - def hub_virtual_network_connection_status - Azure::Network::Mgmt::V2018_08_01::Models::HubVirtualNetworkConnectionStatus + def device_properties + Azure::Network::Mgmt::V2018_08_01::Models::DeviceProperties + end + def express_route_cross_connection_peering_list + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionPeeringList + end + def list_vpn_sites_result + Azure::Network::Mgmt::V2018_08_01::Models::ListVpnSitesResult + end + def virtual_hub_id + Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubId + end + def get_vpn_sites_configuration_request + Azure::Network::Mgmt::V2018_08_01::Models::GetVpnSitesConfigurationRequest + end + def express_route_circuit_peering_id + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitPeeringId + end + def express_route_gateway_properties_auto_scale_configuration_bounds + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + end + def express_route_gateway_properties_auto_scale_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayPropertiesAutoScaleConfiguration + end + def p2_svpn_profile_parameters + Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnProfileParameters + end + def public_ipprefix_list_result + Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixListResult + end + def vpn_client_ipsec_parameters + Azure::Network::Mgmt::V2018_08_01::Models::VpnClientIPsecParameters + end + def express_route_gateway_list + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGatewayList + end + def express_route_connection_list + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnectionList + end + def list_virtual_hubs_result + Azure::Network::Mgmt::V2018_08_01::Models::ListVirtualHubsResult + end + def interface_endpoint_list_result + Azure::Network::Mgmt::V2018_08_01::Models::InterfaceEndpointListResult + end + def vpn_profile_response + Azure::Network::Mgmt::V2018_08_01::Models::VpnProfileResponse + end + def referenced_public_ip_address + Azure::Network::Mgmt::V2018_08_01::Models::ReferencedPublicIpAddress + end + def public_ipprefix_sku + Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefixSku + end + def vpn_site_id + Azure::Network::Mgmt::V2018_08_01::Models::VpnSiteId + end + def virtual_wan_security_provider + Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProvider + end + def network_interface_tap_configuration_list_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkInterfaceTapConfigurationListResult + end + def virtual_wan_security_providers + Azure::Network::Mgmt::V2018_08_01::Models::VirtualWanSecurityProviders + end + def available_delegation + Azure::Network::Mgmt::V2018_08_01::Models::AvailableDelegation + end + def azure_firewall_application_rule_protocol + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleProtocol + end + def list_p2_svpn_server_configurations_result + Azure::Network::Mgmt::V2018_08_01::Models::ListP2SVpnServerConfigurationsResult + end + def azure_firewall_nat_rule + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRule + end + def azure_firewall_network_rule + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRule + end + def container_network_interface_ip_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterfaceIpConfiguration + end + def network_profile_list_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkProfileListResult + end + def ddos_protection_plan_list_result + Azure::Network::Mgmt::V2018_08_01::Models::DdosProtectionPlanListResult + end + def express_route_connection_id + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnectionId + end + def express_route_cross_connections_routes_table_summary_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionsRoutesTableSummaryListResult + end + def list_vpn_connections_result + Azure::Network::Mgmt::V2018_08_01::Models::ListVpnConnectionsResult + end + def available_delegations_result + Azure::Network::Mgmt::V2018_08_01::Models::AvailableDelegationsResult + end + def azure_firewall_application_rule + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRule + end + def traffic_analytics_configuration_properties + Azure::Network::Mgmt::V2018_08_01::Models::TrafficAnalyticsConfigurationProperties + end + def traffic_analytics_properties + Azure::Network::Mgmt::V2018_08_01::Models::TrafficAnalyticsProperties + end + def azure_firewall_list_result + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallListResult + end + def ddos_protection_plan + Azure::Network::Mgmt::V2018_08_01::Models::DdosProtectionPlan + end + def service_endpoint_policy_definition_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyDefinitionListResult + end + def httpconfiguration + Azure::Network::Mgmt::V2018_08_01::Models::HTTPConfiguration + end + def protocol_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ProtocolConfiguration + end + def express_route_cross_connection_routes_table_summary + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionRoutesTableSummary + end + def list_virtual_wans_result + Azure::Network::Mgmt::V2018_08_01::Models::ListVirtualWANsResult + end + def virtual_hub_route + Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubRoute + end + def virtual_hub_route_table + Azure::Network::Mgmt::V2018_08_01::Models::VirtualHubRouteTable + end + def list_hub_virtual_network_connections_result + Azure::Network::Mgmt::V2018_08_01::Models::ListHubVirtualNetworkConnectionsResult + end + def azure_firewall_nat_rcaction + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRCAction + end + def azure_firewall_fqdn_tag_list_result + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallFqdnTagListResult + end + def express_route_circuit_reference + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitReference + end + def virtual_network_tap_list_result + Azure::Network::Mgmt::V2018_08_01::Models::VirtualNetworkTapListResult + end + def traffic_query + Azure::Network::Mgmt::V2018_08_01::Models::TrafficQuery + end + def vpn_client_connection_health + Azure::Network::Mgmt::V2018_08_01::Models::VpnClientConnectionHealth + end + def network_configuration_diagnostic_parameters + Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticParameters + end + def matched_rule + Azure::Network::Mgmt::V2018_08_01::Models::MatchedRule + end + def list_vpn_gateways_result + Azure::Network::Mgmt::V2018_08_01::Models::ListVpnGatewaysResult + end + def network_security_rules_evaluation_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityRulesEvaluationResult + end + def application_gateway_autoscale_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayAutoscaleConfiguration + end + def evaluated_network_security_group + Azure::Network::Mgmt::V2018_08_01::Models::EvaluatedNetworkSecurityGroup + end + def service_endpoint_policy_list_result + Azure::Network::Mgmt::V2018_08_01::Models::ServiceEndpointPolicyListResult + end + def network_security_group_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkSecurityGroupResult + end + def network_configuration_diagnostic_result + Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticResult + end + def azure_firewall_rcaction + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallRCAction + end + def network_configuration_diagnostic_response + Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticResponse + end + def application_gateway_trusted_root_certificate + Azure::Network::Mgmt::V2018_08_01::Models::ApplicationGatewayTrustedRootCertificate + end + def azure_firewall_ipconfiguration + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallIPConfiguration + end + def azure_firewall_application_rule_collection + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallApplicationRuleCollection + end + def azure_firewall_nat_rule_collection + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNatRuleCollection + end + def azure_firewall_network_rule_collection + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallNetworkRuleCollection + end + def azure_firewall + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewall + end + def azure_firewall_fqdn_tag + Azure::Network::Mgmt::V2018_08_01::Models::AzureFirewallFqdnTag + end + def express_route_circuit_connection + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCircuitConnection + end + def express_route_cross_connection_peering + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnectionPeering + end + def express_route_cross_connection + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteCrossConnection + end + def express_route_connection + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteConnection + end + def express_route_gateway + Azure::Network::Mgmt::V2018_08_01::Models::ExpressRouteGateway + end + def outbound_rule + Azure::Network::Mgmt::V2018_08_01::Models::OutboundRule + end + def container_network_interface_configuration + Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterfaceConfiguration + end + def container_network_interface + Azure::Network::Mgmt::V2018_08_01::Models::ContainerNetworkInterface + end + def public_ipprefix + Azure::Network::Mgmt::V2018_08_01::Models::PublicIPPrefix + end + def p2_svpn_server_config_vpn_client_root_certificate + Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigVpnClientRootCertificate + end + def p2_svpn_server_config_vpn_client_revoked_certificate + Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigVpnClientRevokedCertificate + end + def p2_svpn_server_config_radius_server_root_certificate + Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigRadiusServerRootCertificate + end + def p2_svpn_server_config_radius_client_root_certificate + Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfigRadiusClientRootCertificate + end + def p2_svpn_server_configuration + Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnServerConfiguration + end + def virtual_wan + Azure::Network::Mgmt::V2018_08_01::Models::VirtualWAN + end + def vpn_site + Azure::Network::Mgmt::V2018_08_01::Models::VpnSite + end + def hub_virtual_network_connection + Azure::Network::Mgmt::V2018_08_01::Models::HubVirtualNetworkConnection + end + def virtual_hub + Azure::Network::Mgmt::V2018_08_01::Models::VirtualHub + end + def vpn_connection + Azure::Network::Mgmt::V2018_08_01::Models::VpnConnection + end + def vpn_gateway + Azure::Network::Mgmt::V2018_08_01::Models::VpnGateway + end + def p2_svpn_gateway + Azure::Network::Mgmt::V2018_08_01::Models::P2SVpnGateway end end end diff --git a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb index 655bfad2cf..1403f7100b 100644 --- a/azure_sdk/lib/latest/modules/newssearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/newssearch_profile_module.rb @@ -9,30 +9,30 @@ module NewsSearch NewsOperations = Azure::CognitiveServices::NewsSearch::V1_0::NewsOperations module Models - ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase - Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error - Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query NewsArticle = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle - SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer News = Azure::CognitiveServices::NewsSearch::V1_0::Models::News - ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject NewsTopic = Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic Article = Azure::CognitiveServices::NewsSearch::V1_0::Models::Article - Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable + Query = Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + ResponseBase = Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase + VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse Response = Azure::CognitiveServices::NewsSearch::V1_0::Models::Response + SearchResultsAnswer = Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer + Identifiable = Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing - TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - VideoObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject CreativeWork = Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork - Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization - ErrorResponse = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse - ErrorCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode + TrendingTopics = Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics ErrorSubCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness SafeSearch = Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch + ErrorCode = Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode TextFormat = Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat + Freshness = Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness + ImageObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject + Organization = Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization + MediaObject = Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject + Error = Azure::CognitiveServices::NewsSearch::V1_0::Models::Error end class NewsSearchDataClass @@ -65,77 +65,77 @@ def method_missing(method, *args) end class ModelClasses - def response_base - Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase - end - def error - Azure::CognitiveServices::NewsSearch::V1_0::Models::Error - end - def query - Azure::CognitiveServices::NewsSearch::V1_0::Models::Query - end def news_article Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsArticle end - def search_results_answer - Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer - end def news Azure::CognitiveServices::NewsSearch::V1_0::Models::News end - def image_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject - end def news_topic Azure::CognitiveServices::NewsSearch::V1_0::Models::NewsTopic end def article Azure::CognitiveServices::NewsSearch::V1_0::Models::Article end - def identifiable - Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable + def query + Azure::CognitiveServices::NewsSearch::V1_0::Models::Query + end + def response_base + Azure::CognitiveServices::NewsSearch::V1_0::Models::ResponseBase + end + def video_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject + end + def error_response + Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse end def response Azure::CognitiveServices::NewsSearch::V1_0::Models::Response end + def search_results_answer + Azure::CognitiveServices::NewsSearch::V1_0::Models::SearchResultsAnswer + end + def identifiable + Azure::CognitiveServices::NewsSearch::V1_0::Models::Identifiable + end def answer Azure::CognitiveServices::NewsSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::NewsSearch::V1_0::Models::Thing end - def trending_topics - Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics - end - def media_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject - end - def video_object - Azure::CognitiveServices::NewsSearch::V1_0::Models::VideoObject - end def creative_work Azure::CognitiveServices::NewsSearch::V1_0::Models::CreativeWork end - def organization - Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization + def trending_topics + Azure::CognitiveServices::NewsSearch::V1_0::Models::TrendingTopics end - def error_response - Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorResponse + def error_sub_code + Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode + end + def safe_search + Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch end def error_code Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorCode end - def error_sub_code - Azure::CognitiveServices::NewsSearch::V1_0::Models::ErrorSubCode + def text_format + Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat end def freshness Azure::CognitiveServices::NewsSearch::V1_0::Models::Freshness end - def safe_search - Azure::CognitiveServices::NewsSearch::V1_0::Models::SafeSearch + def image_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::ImageObject end - def text_format - Azure::CognitiveServices::NewsSearch::V1_0::Models::TextFormat + def organization + Azure::CognitiveServices::NewsSearch::V1_0::Models::Organization + end + def media_object + Azure::CognitiveServices::NewsSearch::V1_0::Models::MediaObject + end + def error + Azure::CognitiveServices::NewsSearch::V1_0::Models::Error end end end diff --git a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb index d481e842fd..6689c0a637 100644 --- a/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb +++ b/azure_sdk/lib/latest/modules/notificationhubs_profile_module.rb @@ -7,49 +7,49 @@ module Azure::Profiles::Latest module NotificationHubs module Mgmt - Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs + Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations module Models + Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource - Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential - ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential + ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential - OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay - OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult - Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters - SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult - Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters AdmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential - CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult + Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters - NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource + CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource - NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters + NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters - NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource + NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse - PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource - SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName + OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType + Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation + NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource + OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult + SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource + PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource AccessRights = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights + SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName end class NotificationHubsManagementClass - attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes + attr_reader :namespaces, :notification_hubs, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -59,9 +59,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @namespaces = @client_0.namespaces @notification_hubs = @client_0.notification_hubs + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -80,54 +80,39 @@ def method_missing(method, *args) end class ModelClasses + def sku + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku + end def resource_list_keys Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys end def policykey_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource end - def operation - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation - end def apns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential end - def error_response - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse - end def wns_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential end + def error_response + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse + end def check_availability_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters end def gcm_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential end - def operation_display - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay - end - def operation_list_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult - end - def sku - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku - end def shared_access_authorization_rule_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters end - def sub_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource - end def notification_hub_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult end def shared_access_authorization_rule_list_result Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult end - def resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource - end def shared_access_authorization_rule_properties Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties end @@ -146,42 +131,57 @@ def namespace_list_result def baidu_credential Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential end - def check_availability_result - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult + def resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource end def namespace_create_or_update_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters end - def namespace_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource + def check_availability_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult end def shared_access_authorization_rule_resource Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource end - def notification_hub_create_or_update_parameters - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters + def namespace_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource end def notification_hub_patch_parameters Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters end - def notification_hub_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource + def notification_hub_create_or_update_parameters + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters end def debug_send_response Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse end - def pns_credentials_resource - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource - end - def sku_name - Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName + def operation_display + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay end def namespace_type Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType end + def operation + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation + end + def notification_hub_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource + end + def operation_list_result + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult + end + def sub_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource + end + def pns_credentials_resource + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource + end def access_rights Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AccessRights end + def sku_name + Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName + end end end end diff --git a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb index 5f7eec328a..f22eee68da 100644 --- a/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/operationalinsights_profile_module.rb @@ -15,54 +15,54 @@ module Mgmt Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations module Models + StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary - StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema + Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus - SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult - SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse + SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult - SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError + SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters - Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag WorkspacePurgeBody = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody WorkspacePurgeResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight - SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState + SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState - MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName - OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay + Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric - OperationListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult WorkspaceListUsagesResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult LinkedServiceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedServiceListResult ManagementGroup = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup - DataSourceFilter = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter + MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource WorkspaceListManagementGroupsResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult - IntelligencePack = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack - Sku = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku - Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation + DataSourceFilter = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter SharedKeys = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys - Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource - DataSourceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult - ProxyResource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource - WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult + IntelligencePack = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack LinkedService = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService - DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource - Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace + DataSourceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult DataSourceKind = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind - SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum EntityStatus = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus + DataSource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource + SkuNameEnum = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum + Resource = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource + OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay + Operation = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation + OperationListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult + WorkspaceListResult = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult + Workspace = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace end class OperationalInsightsManagementClass @@ -108,6 +108,9 @@ def method_missing(method, *args) end class ModelClasses + def storage_account + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount + end def search_schema_value Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue end @@ -126,39 +129,36 @@ def search_parameters def core_summary Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary end - def storage_account - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount - end def search_metadata_schema Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema end + def tag + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag + end def storage_insight_status Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus end - def saved_search - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch - end def saved_searches_list_result Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult end - def search_results_response - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse + def saved_search + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch end def storage_insight_list_result Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult end - def search_sort - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + def search_results_response + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse end def search_error Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError end + def search_sort + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort + end def workspace_purge_body_filters Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters end - def tag - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag - end def workspace_purge_body Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody end @@ -174,27 +174,21 @@ def workspace_purge_status_response def storage_insight Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight end - def search_sort_enum - Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum - end def storage_insight_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState end + def search_sort_enum + Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum + end def purge_state Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState end - def metric_name - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName - end - def operation_display - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay + def sku + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku end def usage_metric Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric end - def operation_list_result - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult - end def workspace_list_usages_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListUsagesResult end @@ -204,53 +198,59 @@ def linked_service_list_result def management_group Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ManagementGroup end - def data_source_filter - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter + def metric_name + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName + end + def proxy_resource + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource end def workspace_list_management_groups_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListManagementGroupsResult end - def intelligence_pack - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack - end - def sku - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Sku - end - def operation - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation + def data_source_filter + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceFilter end def shared_keys Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SharedKeys end - def resource - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource + def intelligence_pack + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::IntelligencePack + end + def linked_service + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService end def data_source_list_result Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceListResult end - def proxy_resource - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::ProxyResource - end - def workspace_list_result - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult + def data_source_kind + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind end - def linked_service - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::LinkedService + def entity_status + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus end def data_source Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSource end - def workspace - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace - end - def data_source_kind - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::DataSourceKind - end def sku_name_enum Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::SkuNameEnum end - def entity_status - Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::EntityStatus + def resource + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Resource + end + def operation_display + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay + end + def operation + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Operation + end + def operation_list_result + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationListResult + end + def workspace_list_result + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::WorkspaceListResult + end + def workspace + Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::Workspace end end end diff --git a/azure_sdk/lib/latest/modules/policy_profile_module.rb b/azure_sdk/lib/latest/modules/policy_profile_module.rb index 55cc7f93f8..4497a70644 100644 --- a/azure_sdk/lib/latest/modules/policy_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policy_profile_module.rb @@ -7,26 +7,26 @@ module Azure::Profiles::Latest module Policy module Mgmt - PolicyAssignments = Azure::Policy::Mgmt::V2018_03_01::PolicyAssignments PolicyDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicyDefinitions + PolicyAssignments = Azure::Policy::Mgmt::V2018_03_01::PolicyAssignments PolicySetDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicySetDefinitions module Models 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 - PolicyAssignment = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment - PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference ErrorResponse = Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse + PolicyType = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType + PolicyMode = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode + PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference PolicySetDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition - PolicyAssignmentListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignmentListResult PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult PolicySku = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku - PolicyType = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType - PolicyMode = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode + PolicyAssignment = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment end class PolicyManagementClass - attr_reader :policy_assignments, :policy_definitions, :policy_set_definitions, :configurable, :base_url, :options, :model_classes + attr_reader :policy_definitions, :policy_assignments, :policy_set_definitions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -36,8 +36,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @policy_assignments = @client_0.policy_assignments @policy_definitions = @client_0.policy_definitions + @policy_assignments = @client_0.policy_assignments @policy_set_definitions = @client_0.policy_set_definitions @model_classes = ModelClasses.new @@ -60,35 +60,35 @@ class ModelClasses def policy_definition Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition end + def policy_assignment_list_result + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignmentListResult + end def policy_definition_list_result Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult end - def policy_assignment - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment + def error_response + Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse + end + def policy_type + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType + end + def policy_mode + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode end def policy_definition_reference Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference end - def error_response - Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse - end def policy_set_definition Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition end - def policy_assignment_list_result - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignmentListResult - 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_type - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType - end - def policy_mode - Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode + def policy_assignment + Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment end end end diff --git a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb index 49e79b35b4..84202685cf 100644 --- a/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb +++ b/azure_sdk/lib/latest/modules/policyinsights_profile_module.rb @@ -19,14 +19,14 @@ module Models QueryFailure = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults - OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay PolicyEvent = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation - PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState + 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 QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions - SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource end @@ -83,30 +83,30 @@ def summarize_results def policy_states_query_results Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults end - def operation_display - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay - end def policy_event Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEvent end def operation Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation end - def policy_state - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState + 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 + end def query_failure_error Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError end def query_options Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions end - def summary_results - Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults - end def policy_states_resource Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource end diff --git a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb index 215c4dbc2c..b9d3eacea1 100644 --- a/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb +++ b/azure_sdk/lib/latest/modules/powerbiembedded_profile_module.rb @@ -11,25 +11,25 @@ module Mgmt Workspaces = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Workspaces module Models + WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + CheckNameRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest + WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList + CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse + ErrorDetail = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail + MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest + CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason + AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName Operation = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation OperationList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList - Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error WorkspaceCollectionAccessKeys = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys WorkspaceCollection = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollection WorkspaceCollectionAccessKey = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey - Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace CreateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest Display = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Display UpdateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::UpdateWorkspaceCollectionRequest AzureSku = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku - CheckNameRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest - WorkspaceList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList - CheckNameResponse = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse - WorkspaceCollectionList = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList - MigrateWorkspaceCollectionRequest = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest - ErrorDetail = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail - AccessKeyName = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName - CheckNameReason = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason + Error = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error + Workspace = Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace end class PowerBiEmbeddedManagementClass @@ -63,15 +63,36 @@ def method_missing(method, *args) end class ModelClasses + def workspace_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList + end + def check_name_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest + end + def workspace_collection_list + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList + end + def check_name_response + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse + end + def error_detail + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail + end + def migrate_workspace_collection_request + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest + end + def check_name_reason + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason + end + def access_key_name + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName + end def operation Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Operation end def operation_list Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::OperationList end - def error - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error - end def workspace_collection_access_keys Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKeys end @@ -81,9 +102,6 @@ def workspace_collection def workspace_collection_access_key Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionAccessKey end - def workspace - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace - end def create_workspace_collection_request Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CreateWorkspaceCollectionRequest end @@ -96,29 +114,11 @@ def update_workspace_collection_request def azure_sku Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AzureSku end - def check_name_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameRequest - end - def workspace_list - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceList - end - def check_name_response - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameResponse - end - def workspace_collection_list - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::WorkspaceCollectionList - end - def migrate_workspace_collection_request - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::MigrateWorkspaceCollectionRequest - end - def error_detail - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::ErrorDetail - end - def access_key_name - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::AccessKeyName + def error + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Error end - def check_name_reason - Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::CheckNameReason + def workspace + Azure::PowerBiEmbedded::Mgmt::V2016_01_29::Models::Workspace end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb index e4a5a707d8..595b709dec 100644 --- a/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservices_profile_module.rb @@ -7,53 +7,53 @@ module Azure::Profiles::Latest module RecoveryServices module Mgmt - VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates - RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities - ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages Vaults = Azure::RecoveryServices::Mgmt::V2016_06_01::Vaults Operations = Azure::RecoveryServices::Mgmt::V2016_06_01::Operations + RegisteredIdentities = Azure::RecoveryServices::Mgmt::V2016_06_01::RegisteredIdentities VaultExtendedInfoOperations = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultExtendedInfoOperations + ReplicationUsages = Azure::RecoveryServices::Mgmt::V2016_06_01::ReplicationUsages + VaultCertificates = Azure::RecoveryServices::Mgmt::V2016_06_01::VaultCertificates Usages = Azure::RecoveryServices::Mgmt::V2016_06_01::Usages module Models - ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi - ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse - CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest - Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource - ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties - RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData - VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse 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 - Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku ClientDiscoveryForServiceSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification + Sku = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku VaultUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList - MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary VaultUsage = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage ClientDiscoveryForLogSpecification = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification + MonitoringSummary = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary UpgradeDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails ReplicationUsageList = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList - VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties ResourceCertificateDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails NameInfo = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::NameInfo ResourceCertificateAndAadDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAadDetails ResourceCertificateAndAcsDetails = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails - TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource PatchTrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource - Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault PatchVault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault VaultExtendedInfoResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultExtendedInfoResource AuthType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType - SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName VaultUpgradeState = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState TriggerType = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType + TrackedResource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource UsagesUnit = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit + Resource = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource + VaultProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties + Vault = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault + SkuName = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName + ClientDiscoveryValueForSingleApi = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi + ClientDiscoveryResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse + CertificateRequest = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest + ClientDiscoveryForProperties = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties + RawCertificateData = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData + VaultCertificateResponse = Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse end class RecoveryServicesManagementClass - attr_reader :vault_certificates, :registered_identities, :replication_usages, :vaults, :operations, :vault_extended_info_operations, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :vaults, :operations, :registered_identities, :vault_extended_info_operations, :replication_usages, :vault_certificates, :usages, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -63,12 +63,12 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @vault_certificates = @client_0.vault_certificates - @registered_identities = @client_0.registered_identities - @replication_usages = @client_0.replication_usages @vaults = @client_0.vaults @operations = @client_0.operations + @registered_identities = @client_0.registered_identities @vault_extended_info_operations = @client_0.vault_extended_info_operations + @replication_usages = @client_0.replication_usages + @vault_certificates = @client_0.vault_certificates @usages = @client_0.usages @model_classes = ModelClasses.new @@ -88,27 +88,6 @@ def method_missing(method, *args) end class ModelClasses - def client_discovery_value_for_single_api - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi - end - def client_discovery_response - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse - end - def certificate_request - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest - end - def resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource - end - def client_discovery_for_properties - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties - end - def raw_certificate_data - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData - 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 @@ -121,33 +100,30 @@ def replication_usage def client_discovery_display Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryDisplay end - def sku - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku - end def client_discovery_for_service_specification Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForServiceSpecification end + def sku + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Sku + end def vault_usage_list Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsageList end - def monitoring_summary - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary - end def vault_usage Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUsage end def client_discovery_for_log_specification Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForLogSpecification end + def monitoring_summary + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::MonitoringSummary + end def upgrade_details Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UpgradeDetails end def replication_usage_list Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ReplicationUsageList end - def vault_properties - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties - end def resource_certificate_details Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateDetails end @@ -160,15 +136,9 @@ def resource_certificate_and_aad_details def resource_certificate_and_acs_details Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ResourceCertificateAndAcsDetails end - def tracked_resource - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource - end def patch_tracked_resource Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchTrackedResource end - def vault - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault - end def patch_vault Azure::RecoveryServices::Mgmt::V2016_06_01::Models::PatchVault end @@ -178,18 +148,48 @@ def vault_extended_info_resource def auth_type Azure::RecoveryServices::Mgmt::V2016_06_01::Models::AuthType end - def sku_name - Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName - end def vault_upgrade_state Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultUpgradeState end def trigger_type Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TriggerType end + def tracked_resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::TrackedResource + end def usages_unit Azure::RecoveryServices::Mgmt::V2016_06_01::Models::UsagesUnit end + def resource + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Resource + end + def vault_properties + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultProperties + end + def vault + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::Vault + end + def sku_name + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::SkuName + end + def client_discovery_value_for_single_api + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryValueForSingleApi + end + def client_discovery_response + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryResponse + end + def certificate_request + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::CertificateRequest + end + def client_discovery_for_properties + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::ClientDiscoveryForProperties + end + def raw_certificate_data + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::RawCertificateData + end + def vault_certificate_response + Azure::RecoveryServices::Mgmt::V2016_06_01::Models::VaultCertificateResponse + end end end end diff --git a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb index 3a8c4a9510..023bd6a6d4 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicesbackup_profile_module.rb @@ -36,22 +36,22 @@ module Mgmt ProtectionIntentOperations = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ProtectionIntentOperations BackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupStatus FeatureSupport = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::FeatureSupport + Operation = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Operation BackupJobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupJobs JobDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::JobDetails ExportJobsOperationResults = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::ExportJobsOperationResults - Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs BackupPolicies = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupPolicies BackupProtectedItems = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupProtectedItems BackupUsageSummaries = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::BackupUsageSummaries - Operation = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Operation + Jobs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Jobs module Models - ClientDiscoveryForProperties = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties - ClientDiscoveryDisplay = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay + ClientDiscoveryForLogSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification ClientDiscoveryValueForSingleApi = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi + ClientDiscoveryDisplay = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay ClientDiscoveryForServiceSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification + ClientDiscoveryForProperties = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties ClientDiscoveryResponse = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse - ClientDiscoveryForLogSpecification = Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification 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 @@ -69,7 +69,6 @@ module Models OperationStatusExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusExtendedInfo BackupResourceConfig = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfig ILRRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest - BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest SQLDataDirectory = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory ContainerIdentityInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerIdentityInfo OperationStatusError = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusError @@ -94,12 +93,12 @@ module Models BMSPOQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BMSPOQueryObject AzureWorkloadSQLRecoveryPointExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPointExtendedInfo RecoveryPointTierInformation = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation - OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus GetProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject AzureBackupServerContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerContainer AzureBackupServerEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureBackupServerEngine AzureFileShareBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareBackupRequest AzureFileShareProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem + OperationStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus AzureFileShareRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint AzureIaaSClassicComputeVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMContainer AzureIaaSClassicComputeVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureIaaSClassicComputeVMProtectableItem @@ -112,220 +111,221 @@ module Models AzureVmWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadItem AzureVmWorkloadProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadProtectableItem AzureVmWorkloadSAPHanaDatabaseProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectableItem - AzureVmWorkloadSAPHanaDatabaseWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaDatabaseWorkloadItem AzureVmWorkloadSAPHanaSystemProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemProtectableItem - AzureVmWorkloadSAPHanaSystemWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemWorkloadItem + AzureVmWorkloadSAPHanaDatabaseWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaDatabaseWorkloadItem AzureVmWorkloadSQLAvailabilityGroupProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem + AzureVmWorkloadSAPHanaSystemWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemWorkloadItem AzureVmWorkloadSQLDatabaseProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseProtectableItem - AzureVmWorkloadSQLDatabaseWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem AzureVmWorkloadSQLInstanceProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem - AzureVmWorkloadSQLInstanceWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem + AzureVmWorkloadSQLDatabaseWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem AzureWorkloadBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest - AzureWorkloadContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer + AzureVmWorkloadSQLInstanceWorkloadItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem AzureSQLAGWorkloadContainerProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer - AzureVMAppContainerProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer + AzureWorkloadContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer AzureWorkloadRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint + AzureVMAppContainerProtectionContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer AzureWorkloadSAPHanaRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaRecoveryPoint AzureWorkloadSAPHanaPointInTimeRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaPointInTimeRecoveryPoint - AzureWorkloadSQLRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint AzureWorkloadSQLPointInTimeRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRecoveryPoint + AzureWorkloadSQLRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint BackupEngineBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource - BackupEngineBaseResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList BackupRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource - BackupResourceConfigResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource + BackupEngineBaseResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList BackupResourceVaultConfigResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource - DpmBackupEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine + BackupResourceConfigResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource DpmContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer + DpmBackupEngine = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine GenericContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainer - GenericRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint IaasVMBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest - IaaSVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer + GenericRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint IaasVMILRRegistrationRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest - IaaSVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMProtectableItem + IaaSVMContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer IaasVMRecoveryPoint = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMRecoveryPoint + IaaSVMProtectableItem = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMProtectableItem ILRRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequestResource MabContainer = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainer - OperationStatusJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo OperationStatusJobsExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo - OperationStatusProvisionILRExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo + OperationStatusJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo ProtectableContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource + OperationStatusProvisionILRExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo ProtectableContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList - ProtectionContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource ProtectionContainerResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList + ProtectionContainerResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource RecoveryPointResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource - RecoveryPointResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList RestoreRequestResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource - WorkloadItemResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResource + RecoveryPointResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList WorkloadItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList + WorkloadItemResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResource + AzureFileShareType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType WorkloadProtectableItemResource = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResource WorkloadProtectableItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList - AzureFileShareType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType InquiryStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryStatus BackupType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupType RestorePointType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointType - StorageType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType - StorageTypeState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageTypeState EnhancedSecurityState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState - ContainerType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType + StorageTypeState = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageTypeState RestorePointQueryType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType + ContainerType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType RecoveryPointTierType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierType + BackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest RecoveryPointTierStatus = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus BackupItemType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupItemType OperationStatusValues = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues - DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat - RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + StorageType = Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType + SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy AzureFileshareProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo - DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule SchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy + RestoreFileSpecs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreFileSpecs + ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList DpmErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo OperationWorkerResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationWorkerResponse OperationResultInfoBase = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase - TargetAFSRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetAFSRestoreInfo MabJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo ValidateOperationsResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationsResponse AzureWorkloadErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadErrorInfo AzureIaaSVMErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMErrorInfo AzureWorkloadJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails + DailyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule AzureIaaSVMJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails + RetentionDuration = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + DailyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat AzureWorkloadJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo - ValidateOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest - MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails - RestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequest - MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo - Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource MabErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo - AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo - TargetRestoreInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetRestoreInfo - ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent - YearlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule - AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails - MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + MabJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails ProtectedItemQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject - WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat - AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse - SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping - AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo - WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule - Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings - NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + ValidateOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest + AzureStorageJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails PreValidateEnableBackupRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest - BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage - BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList - AzureIaaSVMHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + ProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent BackupStatusRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest - AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo - BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse + AzureVmWorkloadProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo + AzureVMResourceFeatureSupportResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse ProtectionPolicyQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + BackupManagementUsage = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage + PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse BMSBackupSummariesQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject + AzureIaaSVMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo + AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo + BackupManagementUsageList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList AzureStorageErrorInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo - Day = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day - ProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem - ErrorDetail = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail - PreValidateEnableBackupResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse - EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails - RestoreFileSpecs = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreFileSpecs + AzureSqlProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo FeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest - AzureIaaSVMJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo - RetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy - ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo JobQueryObject = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject - SubProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy DpmJobTaskDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails - ResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList - DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + BackupStatusResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse ValidateOperationResponse = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse + 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 + AzureIaaSVMHealthDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + YearlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + Day = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + MonthlyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + WeeklyRetentionFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + EncryptionDetails = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails + AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob Job = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job - AzureStorageJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo - DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + WeeklyRetentionSchedule = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule + SQLDataDirectoryMapping = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping + ProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + MabFileFolderProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest AzureBackupGoalFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest + DPMProtectedItemExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + AzureRecoveryServiceVaultProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent AzureFileshareProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem + DpmJobExtendedInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo AzureFileShareProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy AzureFileShareRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareRestoreRequest - AzureIaaSClassicComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem - AzureIaaSComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem + AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob AzureIaaSVMJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob AzureIaaSVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem + AzureIaaSClassicComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem + JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource + JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + AzureIaaSComputeVMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem AzureIaaSVMProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy - AzureRecoveryServiceVaultProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent - AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + AzureWorkloadSQLAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent AzureSqlProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem AzureSqlProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy - AzureStorageJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob - AzureVMResourceFeatureSupportRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + AzureResourceProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + ValidateRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest + MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + AzureWorkloadAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent + OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource AzureVmWorkloadProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItem AzureVmWorkloadProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy + ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + Resource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource AzureVmWorkloadSAPHanaDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectedItem + 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 + ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList AzureVmWorkloadSQLDatabaseProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem - AzureWorkloadAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent - AzureWorkloadJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + ValidationStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus + ValidateIaasVMRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type + JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType AzureWorkloadRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadRestoreRequest + ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList + HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState AzureWorkloadSAPHanaRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaRestoreRequest AzureWorkloadSAPHanaPointInTimeRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaPointInTimeRestoreRequest - AzureWorkloadSQLAutoProtectionIntent = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent - AzureWorkloadSQLRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLRestoreRequest AzureWorkloadSQLPointInTimeRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest - DpmJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + AzureWorkloadSQLRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLRestoreRequest + MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource DPMProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem - ExportJobsOperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + CreateMode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode GenericProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectedItem GenericProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectionPolicy + HttpStatusCode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode IaasVMRestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::IaasVMRestoreRequest - JobResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - JobResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList LogSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LogSchedulePolicy LongTermRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermRetentionPolicy LongTermSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LongTermSchedulePolicy MabFileFolderProtectedItem = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem - MabJob = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob MabProtectionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy - OperationResultInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo - OperationResultInfoBaseResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource ProtectedItemResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource - ProtectedItemResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList - ProtectionIntentResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource ProtectionPolicyResource = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource - ProtectionPolicyResourceList = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList SimpleRetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy SimpleSchedulePolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleSchedulePolicy - ValidateRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest - ValidateIaasVMRestoreOperationRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + Settings = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings ProtectionState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionState + ErrorDetail = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail HealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthStatus RecoveryType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RecoveryType CopyOptions = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CopyOptions RestoreRequestType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequestType - JobSupportedAction = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction ProtectedItemState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemState - SupportStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus LastBackupStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus ProtectedItemHealthStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus + SQLDataDirectoryType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryType + WorkloadType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType OverwriteOptions = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OverwriteOptions + BackupManagementType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType WorkloadItemType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadItemType - SQLDataDirectoryType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryType - UsagesUnit = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit - DataSourceType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType ProtectionStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus - FabricName = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName - Type = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type RetentionDurationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType - BackupManagementType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType - JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus - JobOperationType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType - DayOfWeek = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek RetentionScheduleFormat = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat WeekOfMonth = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeekOfMonth MonthOfYear = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear - MabServerType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType - WorkloadType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType - HttpStatusCode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode - ValidationStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus - CreateMode = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode - HealthState = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState ScheduleRunType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType + NameInfo = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + RestoreRequest = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequest + UsagesUnit = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit + DayOfWeek = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek + RetentionPolicy = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy + JobStatus = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + DataSourceType = Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType end class RecoveryServicesBackupManagementClass - attr_reader :operations, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :backup_operation_statuses, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :protection_intent_operations, :backup_status, :feature_support, :backup_jobs, :job_details, :export_jobs_operation_results, :jobs, :backup_policies, :backup_protected_items, :backup_usage_summaries, :operation, :configurable, :base_url, :options, :model_classes + attr_reader :operations, :backup_resource_vault_configs, :backup_engines, :protection_container_refresh_operation_results, :protectable_containers, :protection_containers, :backup_workload_items, :protection_container_operation_results, :protected_items, :backups, :protected_item_operation_results, :protected_item_operation_statuses, :recovery_points, :item_level_recovery_connections, :restores, :job_cancellations, :job_operation_results, :backup_operation_results, :backup_operation_statuses, :protection_policies, :protection_policy_operation_results, :protection_policy_operation_statuses, :backup_protectable_items, :backup_protection_containers, :security_pins, :backup_resource_storage_configs, :protection_intent_operations, :backup_status, :feature_support, :operation, :backup_jobs, :job_details, :export_jobs_operation_results, :backup_policies, :backup_protected_items, :backup_usage_summaries, :jobs, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -376,14 +376,14 @@ def initialize(configurable, base_url=nil, options=nil) @protection_intent_operations = @client_2.protection_intent_operations @backup_status = @client_2.backup_status @feature_support = @client_2.feature_support + @operation = @client_2.operation @backup_jobs = @client_2.backup_jobs @job_details = @client_2.job_details @export_jobs_operation_results = @client_2.export_jobs_operation_results - @jobs = @client_2.jobs @backup_policies = @client_2.backup_policies @backup_protected_items = @client_2.backup_protected_items @backup_usage_summaries = @client_2.backup_usage_summaries - @operation = @client_2.operation + @jobs = @client_2.jobs @model_classes = ModelClasses.new end @@ -406,24 +406,24 @@ def method_missing(method, *args) end class ModelClasses - def client_discovery_for_properties - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties - end - def client_discovery_display - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay + def client_discovery_for_log_specification + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification end def client_discovery_value_for_single_api Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryValueForSingleApi end + def client_discovery_display + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryDisplay + end def client_discovery_for_service_specification Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForServiceSpecification end + def client_discovery_for_properties + Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForProperties + end def client_discovery_response Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryResponse end - def client_discovery_for_log_specification - Azure::RecoveryServicesBackup::Mgmt::V2016_08_10::Models::ClientDiscoveryForLogSpecification - end def azure_workload_container_extended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainerExtendedInfo end @@ -475,9 +475,6 @@ def backup_resource_config def ilrrequest Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequest end - def backup_request - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest - end def sqldata_directory Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::SQLDataDirectory end @@ -550,9 +547,6 @@ def azure_workload_sqlrecovery_point_extended_info def recovery_point_tier_information Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierInformation end - def operation_status - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus - end def get_protected_item_query_object Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GetProtectedItemQueryObject end @@ -568,6 +562,9 @@ def azure_file_share_backup_request def azure_file_share_protectable_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareProtectableItem end + def operation_status + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatus + end def azure_file_share_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareRecoveryPoint end @@ -604,140 +601,143 @@ def azure_vm_workload_protectable_item def azure_vm_workload_saphana_database_protectable_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectableItem end - def azure_vm_workload_saphana_database_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaDatabaseWorkloadItem - end def azure_vm_workload_saphana_system_protectable_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemProtectableItem end - def azure_vm_workload_saphana_system_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemWorkloadItem + def azure_vm_workload_saphana_database_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaDatabaseWorkloadItem end def azure_vm_workload_sqlavailability_group_protectable_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLAvailabilityGroupProtectableItem end - def azure_vm_workload_sqldatabase_protectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseProtectableItem + def azure_vm_workload_saphana_system_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSAPHanaSystemWorkloadItem end - def azure_vm_workload_sqldatabase_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem + def azure_vm_workload_sqldatabase_protectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseProtectableItem end def azure_vm_workload_sqlinstance_protectable_item Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceProtectableItem end - def azure_vm_workload_sqlinstance_workload_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem + def azure_vm_workload_sqldatabase_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLDatabaseWorkloadItem end def azure_workload_backup_request Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadBackupRequest end - def azure_workload_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer + def azure_vm_workload_sqlinstance_workload_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVmWorkloadSQLInstanceWorkloadItem end def azure_sqlagworkload_container_protection_container Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureSQLAGWorkloadContainerProtectionContainer end - def azure_vmapp_container_protection_container - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer + def azure_workload_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadContainer end def azure_workload_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadRecoveryPoint end + def azure_vmapp_container_protection_container + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureVMAppContainerProtectionContainer + end def azure_workload_saphana_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaRecoveryPoint end def azure_workload_saphana_point_in_time_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSAPHanaPointInTimeRecoveryPoint end - def azure_workload_sqlrecovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint - end def azure_workload_sqlpoint_in_time_recovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLPointInTimeRecoveryPoint end + def azure_workload_sqlrecovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureWorkloadSQLRecoveryPoint + end def backup_engine_base_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResource end - def backup_engine_base_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList - end def backup_request_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequestResource end - def backup_resource_config_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource + def backup_engine_base_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupEngineBaseResourceList end def backup_resource_vault_config_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceVaultConfigResource end - def dpm_backup_engine - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine + def backup_resource_config_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupResourceConfigResource end def dpm_container Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmContainer end + def dpm_backup_engine + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::DpmBackupEngine + end def generic_container Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericContainer end - def generic_recovery_point - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint - end def iaas_vmbackup_request Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMBackupRequest end - def iaa_svmcontainer - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer + def generic_recovery_point + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::GenericRecoveryPoint end def iaas_vmilrregistration_request Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMILRRegistrationRequest end - def iaa_svmprotectable_item - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMProtectableItem + def iaa_svmcontainer + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMContainer end def iaas_vmrecovery_point Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaasVMRecoveryPoint end + def iaa_svmprotectable_item + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::IaaSVMProtectableItem + end def ilrrequest_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ILRRequestResource end def mab_container Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::MabContainer end - def operation_status_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo - end def operation_status_jobs_extended_info Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobsExtendedInfo end - def operation_status_provision_ilrextended_info - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo + def operation_status_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusJobExtendedInfo end def protectable_container_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResource end + def operation_status_provision_ilrextended_info + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusProvisionILRExtendedInfo + end def protectable_container_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectableContainerResourceList end - def protection_container_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource - end def protection_container_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResourceList end + def protection_container_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ProtectionContainerResource + end def recovery_point_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResource end + def restore_request_resource + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource + end def recovery_point_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointResourceList end - def restore_request_resource - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestoreRequestResource + def workload_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList end def workload_item_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResource end - def workload_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadItemResourceList + def azure_file_share_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType end def workload_protectable_item_resource Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResource @@ -745,9 +745,6 @@ def workload_protectable_item_resource def workload_protectable_item_resource_list Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::WorkloadProtectableItemResourceList end - def azure_file_share_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::AzureFileShareType - end def inquiry_status Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::InquiryStatus end @@ -757,24 +754,24 @@ def backup_type def restore_point_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointType end - def storage_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType + def enhanced_security_state + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState end def storage_type_state Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageTypeState end - def enhanced_security_state - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::EnhancedSecurityState + def restore_point_query_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType end def container_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::ContainerType end - def restore_point_query_type - Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RestorePointQueryType - end def recovery_point_tier_type Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierType end + def backup_request + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::BackupRequest + end def recovery_point_tier_status Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::RecoveryPointTierStatus end @@ -784,21 +781,24 @@ def backup_item_type def operation_status_values Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::OperationStatusValues end - def daily_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat + def storage_type + Azure::RecoveryServicesBackup::Mgmt::V2016_12_01::Models::StorageType end - def retention_duration - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration + def sub_protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy end def azure_fileshare_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItemExtendedInfo end - def daily_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule - end def schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SchedulePolicy end + def restore_file_specs + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreFileSpecs + end + def resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList + end def dpm_error_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmErrorInfo end @@ -808,9 +808,6 @@ def operation_worker_response def operation_result_info_base Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBase end - def target_afsrestore_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetAFSRestoreInfo - end def mab_job_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobExtendedInfo end @@ -826,176 +823,167 @@ def azure_iaa_svmerror_info def azure_workload_job_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobTaskDetails end + def daily_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionSchedule + end def azure_iaa_svmjob_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobTaskDetails end - def azure_workload_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo - end - def validate_operation_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest - end - def mab_job_task_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails - end - def restore_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequest + def retention_duration + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDuration end - def mab_file_folder_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + def daily_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DailyRetentionFormat end - def resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource + def azure_workload_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJobExtendedInfo end def mab_error_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabErrorInfo end - def azure_sql_protected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo - end - def target_restore_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetRestoreInfo + def mab_job_task_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJobTaskDetails end - def protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent + def protected_item_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject end - def yearly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + def validate_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationRequest end def azure_storage_job_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobTaskDetails end - def monthly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule - end - def protected_item_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemQueryObject - end - def weekly_retention_format - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + def pre_validate_enable_backup_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest end - def azure_vmresource_feature_support_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse + def protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntent end - def sqldata_directory_mapping - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping + def backup_status_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest end def azure_vm_workload_protected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItemExtendedInfo end - def weekly_retention_schedule - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule - end - def settings - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings - end - def name_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo + def azure_vmresource_feature_support_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportResponse end - def pre_validate_enable_backup_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupRequest + def protection_policy_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject end def backup_management_usage Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsage end - def backup_management_usage_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList - end - def azure_iaa_svmhealth_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + def pre_validate_enable_backup_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse end - def backup_status_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusRequest + def bmsbackup_summaries_query_object + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject end def azure_iaa_svmprotected_item_extended_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItemExtendedInfo end - def backup_status_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse - end - def protection_policy_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyQueryObject + def azure_iaa_svmjob_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo end - def bmsbackup_summaries_query_object - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BMSBackupSummariesQueryObject + def backup_management_usage_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementUsageList end def azure_storage_error_info Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageErrorInfo end - def day - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day - end - def protected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem - end - def error_detail - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail - end - def pre_validate_enable_backup_response - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::PreValidateEnableBackupResponse - end - def encryption_details - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails - end - def restore_file_specs - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreFileSpecs + def azure_sql_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItemExtendedInfo end def feature_support_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FeatureSupportRequest end - def azure_iaa_svmjob_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJobExtendedInfo - end - def retention_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy - end - def protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + def azure_storage_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo end def job_query_object Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobQueryObject end - def sub_protection_policy - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SubProtectionPolicy - end def dpm_job_task_details Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobTaskDetails end - def resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ResourceList - end - def dpm_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + def backup_status_response + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupStatusResponse end def validate_operation_response Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateOperationResponse end - def job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job + def protected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItem end - def azure_storage_job_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJobExtendedInfo + def target_afsrestore_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetAFSRestoreInfo end - def dpmprotected_item_extended_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + def target_restore_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::TargetRestoreInfo + end + def azure_iaa_svmhealth_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMHealthDetails + end + def yearly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::YearlyRetentionSchedule + end + def day + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Day + end + def monthly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthlyRetentionSchedule + end + def weekly_retention_format + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionFormat + end + def encryption_details + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::EncryptionDetails + end + def azure_storage_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + end + def job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Job + end + def weekly_retention_schedule + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WeeklyRetentionSchedule + end + def sqldata_directory_mapping + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryMapping + end + def protection_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicy + end + def mab_file_folder_protected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItemExtendedInfo + end + def azure_vmresource_feature_support_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest end def azure_backup_goal_feature_support_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureBackupGoalFeatureSupportRequest end + def dpmprotected_item_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItemExtendedInfo + end + def azure_recovery_service_vault_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent + end def azure_fileshare_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileshareProtectedItem end + def dpm_job_extended_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJobExtendedInfo + end def azure_file_share_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareProtectionPolicy end def azure_file_share_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureFileShareRestoreRequest end - def azure_iaa_sclassic_compute_vmprotected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem - end - def azure_iaa_scompute_vmprotected_item - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem + def azure_workload_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob end def azure_iaa_svmjob Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMJob @@ -1003,14 +991,23 @@ def azure_iaa_svmjob def azure_iaa_svmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectedItem end + def azure_iaa_sclassic_compute_vmprotected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSClassicComputeVMProtectedItem + end + def job_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource + end + def job_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList + end + def azure_iaa_scompute_vmprotected_item + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSComputeVMProtectedItem + end def azure_iaa_svmprotection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureIaaSVMProtectionPolicy end - def azure_recovery_service_vault_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureRecoveryServiceVaultProtectionIntent - end - def azure_resource_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent + def azure_workload_sqlauto_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent end def azure_sql_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectedItem @@ -1018,11 +1015,20 @@ def azure_sql_protected_item def azure_sql_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureSqlProtectionPolicy end - def azure_storage_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureStorageJob + def azure_resource_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureResourceProtectionIntent end - def azure_vmresource_feature_support_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVMResourceFeatureSupportRequest + def validate_restore_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateRestoreOperationRequest + end + def mab_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob + end + def azure_workload_auto_protection_intent + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent + end + def operation_result_info_base_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource end def azure_vm_workload_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectedItem @@ -1030,44 +1036,80 @@ def azure_vm_workload_protected_item def azure_vm_workload_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadProtectionPolicy end + def export_jobs_operation_result_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + end + def resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Resource + end def azure_vm_workload_saphana_database_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSAPHanaDatabaseProtectedItem end + 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 + end + def protected_item_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList + end def azure_vm_workload_sqldatabase_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureVmWorkloadSQLDatabaseProtectedItem end - def azure_workload_auto_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadAutoProtectionIntent + def dpm_job + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob end - def azure_workload_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadJob + def validation_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus + end + def validate_iaas_vmrestore_operation_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidateIaasVMRestoreOperationRequest + end + def support_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus + end + def type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type + end + def job_operation_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType end def azure_workload_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadRestoreRequest end + def protection_policy_resource_list + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList + end + def health_state + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState + end def azure_workload_saphana_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaRestoreRequest end def azure_workload_saphana_point_in_time_restore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSAPHanaPointInTimeRestoreRequest end - def azure_workload_sqlauto_protection_intent - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLAutoProtectionIntent + def azure_workload_sqlpoint_in_time_restore_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest end def azure_workload_sqlrestore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLRestoreRequest end - def azure_workload_sqlpoint_in_time_restore_request - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::AzureWorkloadSQLPointInTimeRestoreRequest + def mab_server_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType end - def dpm_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DpmJob + def protection_intent_resource + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource end def dpmprotected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DPMProtectedItem end - def export_jobs_operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ExportJobsOperationResultInfo + def create_mode + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode end def generic_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectedItem @@ -1075,15 +1117,12 @@ def generic_protected_item def generic_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::GenericProtectionPolicy end + def http_status_code + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode + end def iaas_vmrestore_request Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::IaasVMRestoreRequest end - def job_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResource - end - def job_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobResourceList - end def log_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LogSchedulePolicy end @@ -1096,48 +1135,30 @@ def long_term_schedule_policy def mab_file_folder_protected_item Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabFileFolderProtectedItem end - def mab_job - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabJob - end def mab_protection_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabProtectionPolicy end - def operation_result_info - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfo - end - def operation_result_info_base_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OperationResultInfoBaseResource - end def protected_item_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResource end - def protected_item_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemResourceList - end - def protection_intent_resource - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionIntentResource - end def protection_policy_resource Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResource end - def protection_policy_resource_list - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionPolicyResourceList - end def simple_retention_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleRetentionPolicy end def simple_schedule_policy Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SimpleSchedulePolicy end - def 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 settings + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Settings end def protection_state Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionState end + def error_detail + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ErrorDetail + end def health_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthStatus end @@ -1150,60 +1171,36 @@ def copy_options def restore_request_type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequestType end - def job_supported_action - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobSupportedAction - end def protected_item_state Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemState end - def support_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SupportStatus - end def last_backup_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::LastBackupStatus end def protected_item_health_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectedItemHealthStatus end + def sqldata_directory_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryType + end + def workload_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType + end def overwrite_options Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::OverwriteOptions end + def backup_management_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType + end def workload_item_type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadItemType end - def sqldata_directory_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::SQLDataDirectoryType - end - def usages_unit - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit - end - def data_source_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType - end def protection_status Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ProtectionStatus end - def fabric_name - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::FabricName - end - def type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::Type - end def retention_duration_type Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionDurationType end - def backup_management_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::BackupManagementType - end - def job_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus - end - def job_operation_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobOperationType - end - def day_of_week - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek - end def retention_schedule_format Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionScheduleFormat end @@ -1213,26 +1210,29 @@ def week_of_month def month_of_year Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MonthOfYear end - def mab_server_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::MabServerType + def schedule_run_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType end - def workload_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::WorkloadType + def name_info + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::NameInfo end - def http_status_code - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HttpStatusCode + def restore_request + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RestoreRequest end - def validation_status - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ValidationStatus + def usages_unit + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::UsagesUnit end - def create_mode - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::CreateMode + def day_of_week + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DayOfWeek end - def health_state - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::HealthState + def retention_policy + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::RetentionPolicy end - def schedule_run_type - Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::ScheduleRunType + def job_status + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::JobStatus + end + def data_source_type + Azure::RecoveryServicesBackup::Mgmt::V2017_07_01::Models::DataSourceType 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 aaaeec1a2a..19ea794e31 100644 --- a/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +++ b/azure_sdk/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb @@ -7,168 +7,29 @@ module Azure::Profiles::Latest module RecoveryServicesSiteRecovery module Mgmt - Operations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Operations ReplicationAlertSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationAlertSettings ReplicationEvents = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationEvents - ReplicationFabrics = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationFabrics + Operations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Operations ReplicationLogicalNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationLogicalNetworks ReplicationNetworks = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationNetworks + ReplicationFabrics = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationFabrics ReplicationNetworkMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationNetworkMappings ReplicationProtectionContainers = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectionContainers ReplicationProtectableItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectableItems ReplicationProtectedItems = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationProtectedItems - RecoveryPoints = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::RecoveryPoints 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 + RecoveryPoints = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::RecoveryPoints ReplicationvCenters = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationvCenters - ReplicationJobs = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationJobs + ReplicationStorageClassificationMappings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationStorageClassificationMappings ReplicationPolicies = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationPolicies - ReplicationRecoveryPlans = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationRecoveryPlans + ReplicationJobs = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationJobs ReplicationVaultHealth = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationVaultHealth + ReplicationRecoveryPlans = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::ReplicationRecoveryPlans module Models - OSDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDiskDetails - FabricCreationInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInputProperties - FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInput - VCenterCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenterCollection - JobEntity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobEntity - A2AVmManagedDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmManagedDiskInputDetails - TargetComputeSizeCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSizeCollection - VaultHealthProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VaultHealthProperties - FabricSpecificUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificUpdateNetworkMappingInput - UpdateVCenterRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateVCenterRequestProperties - FailoverReplicationProtectedItemDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverReplicationProtectedItemDetails - A2AProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AProtectedDiskDetails - TargetComputeSize = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSize - UpdateReplicationProtectedItemInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemInputProperties - FailoverProcessServerRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverProcessServerRequestProperties - VMNicDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMNicDetails - FailoverProcessServerRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverProcessServerRequest - InputEndpoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InputEndpoint - HealthErrorSummary = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorSummary - VMNicInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMNicInputDetails - TargetComputeSizeProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSizeProperties - UpdateRecoveryPlanInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateRecoveryPlanInputProperties - SwitchProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionInput - A2AVmManagedDiskUpdateDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmManagedDiskUpdateDetails - SwitchProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionInputProperties - AddVCenterRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AddVCenterRequestProperties - SwitchProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionProviderSpecificInput - AlertProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlertProperties - StorageClassificationMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingInput - AlertCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlertCollection - StorageMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageMappingInputProperties - ApplyRecoveryPointInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointInputProperties - StorageClassificationMappingCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingCollection - UpdatePolicyInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdatePolicyInputProperties - StorageClassificationMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingProperties - GroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::GroupTaskDetails - StorageClassificationCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationCollection - ProviderError = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderError - InitialReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InitialReplicationDetails - ASRTask = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ASRTask - OSDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDetails - UpdateNetworkMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateNetworkMappingInputProperties - StorageClassificationProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationProperties - UpdateMobilityServiceRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateMobilityServiceRequestProperties - RunAsAccount = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RunAsAccount - UnplannedFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UnplannedFailoverInputProperties - ReverseReplicationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationInput - ComputeSizeErrorDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ComputeSizeErrorDetails - ReverseReplicationInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationInputProperties - ConfigureAlertRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigureAlertRequestProperties - ReverseReplicationProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationProviderSpecificInput - InconsistentVmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InconsistentVmDetails - ResumeJobParams = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResumeJobParams - FabricSpecificCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificCreateNetworkMappingInput - ResumeJobParamsProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResumeJobParamsProperties - CreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInput - ResourceHealthSummary = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResourceHealthSummary - CreatePolicyInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInputProperties - Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource - ReplicationProviderSpecificContainerCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerCreationInput - ReplicationProviderSpecificUpdateContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificUpdateContainerMappingInput - CreateProtectionContainerInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerInput - ReplicationProtectedItemCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemCollection - CreateProtectionContainerMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerMappingInputProperties - ReplicationProtectedItemProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemProperties - RecoveryPlanProtectedItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProtectedItem - ReplicationProviderSpecificSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificSettings - RecoveryPlanAction = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAction - RenewCertificateInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RenewCertificateInput - CreateRecoveryPlanInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInputProperties - IdentityInformation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityInformation - CurrentScenarioDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CurrentScenarioDetails - RenewCertificateInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RenewCertificateInputProperties - DisableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionProviderSpecificInput - InMageAgentDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAgentDetails - DisableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInput - InMageAgentVersionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAgentVersionDetails - DiscoverProtectableItemRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiscoverProtectableItemRequest - RemoveProtectionContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RemoveProtectionContainerMappingInput - DiskVolumeDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiskVolumeDetails - RemoveProtectionContainerMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RemoveProtectionContainerMappingInputProperties - EnableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionProviderSpecificInput - ReplicationProviderContainerUnmappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderContainerUnmappingInput - EnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionInput - RecoveryServicesProviderCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProviderCollection - EventProviderSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventProviderSpecificDetails - RecoveryServicesProviderProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProviderProperties - InnerHealthError = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InnerHealthError - RecoveryPointCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointCollection - EventProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventProperties - InMageAzureV2ProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ProtectedDiskDetails - EventCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventCollection - RecoveryPointProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointProperties - TestFailoverCleanupInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverCleanupInput - RecoveryPlanUnplannedFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanUnplannedFailoverInput - FabricProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricProperties - RecoveryPlanUnplannedFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanUnplannedFailoverInputProperties - FabricCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCollection - RecoveryPlanTestFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverInput - RecoveryPlanTestFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverInputProperties - VCenterProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenterProperties - RecoveryPlanTestFailoverCleanupInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverCleanupInput - UpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemInput - InMageDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskDetails - UpdateReplicationProtectedItemProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemProviderInput - InMageVolumeExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageVolumeExclusionOptions - AzureToAzureVmSyncedConfigDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureVmSyncedConfigDetails - InMageDiskSignatureExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskSignatureExclusionOptions - UpdateProtectionContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateProtectionContainerMappingInput - InMageDiskExclusionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskExclusionInput - AddVCenterRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AddVCenterRequest - RecoveryPlanTestFailoverCleanupInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverCleanupInputProperties - ApplyRecoveryPointProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointProviderSpecificInput - RecoveryPlanPlannedFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanPlannedFailoverInput - TaskTypeDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TaskTypeDetails - RecoveryPlanPlannedFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanPlannedFailoverInputProperties - JobErrorDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobErrorDetails - RecoveryPlanProviderSpecificFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProviderSpecificFailoverInput - UpdateMobilityServiceRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateMobilityServiceRequest - InMageProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageProtectedDiskDetails - AzureVmDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureVmDiskDetails - RecoveryPlanCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanCollection - ConfigureAlertRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigureAlertRequest - RecoveryPlanProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProperties - CreateNetworkMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInputProperties - ProviderSpecificRecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderSpecificRecoveryPointDetails - CreatePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInput - JobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobDetails - ReplicationProviderSpecificContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerMappingInput - JobProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobProperties - RecoveryPlanActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionDetails - ProtectionContainerMappingCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingCollection - CreateRecoveryPlanInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInput - JobCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobCollection - DisableProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInputProperties - JobQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobQueryParameter - DiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiskDetails - ProtectionContainerMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingProperties - EnableProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionInputProperties ProtectionContainerMappingProviderSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingProviderSpecificDetails EventSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventSpecificDetails LogicalNetworkProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetworkProperties @@ -180,14 +41,12 @@ module Models ProtectionContainerProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerProperties UpdateVCenterRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateVCenterRequest RetentionVolume = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RetentionVolume - RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment VersionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VersionDetails UpdateProtectionContainerMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateProtectionContainerMappingInputProperties MasterTargetServer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MasterTargetServer ApplyRecoveryPointInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointInput MobilityServiceUpdate = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MobilityServiceUpdate UpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateNetworkMappingInput - Subnet = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Subnet ConfigurationSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigurationSettings NetworkProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkProperties PolicyProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProviderSpecificInput @@ -196,7 +55,6 @@ module Models NetworkCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkCollection DataStore = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataStore NetworkMappingFabricSpecificSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingFabricSpecificSettings - Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Display NetworkMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingProperties HealthError = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthError ProtectedItemsQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectedItemsQueryParameter @@ -218,8 +76,6 @@ module Models PolicyProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProperties TestFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverInput ProtectableItemQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItemQueryParameter - EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EncryptionDetails - PolicyCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyCollection ServiceError = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ServiceError ProcessServer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProcessServer A2AVmDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmDiskInputDetails @@ -250,7 +106,6 @@ module Models AzureToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureNetworkMappingSettings AzureToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureUpdateNetworkMappingInput ConsistencyCheckTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConsistencyCheckTaskDetails - Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event ExportJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ExportJobDetails Fabric = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Fabric FabricReplicationGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricReplicationGroupTaskDetails @@ -297,47 +152,42 @@ module Models InMagePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyInput InMageReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReplicationDetails InMageReprotectInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReprotectInput - Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job JobStatusEventDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails JobTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobTaskDetails LogicalNetwork = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork ManualActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ManualActionTaskDetails - Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network NetworkMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping - Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy ProtectableItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem - ProtectionContainer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainer ProtectionContainerMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping RcmAzureMigrationPolicyDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RcmAzureMigrationPolicyDetails RecoveryPlan = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlan RecoveryPlanA2AFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanA2AFailoverInput RecoveryPlanAutomationRunbookActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAutomationRunbookActionDetails RecoveryPlanGroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupTaskDetails + Event = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event RecoveryPlanHyperVReplicaAzureFailbackInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput RecoveryPlanHyperVReplicaAzureFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput RecoveryPlanInMageAzureV2FailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageAzureV2FailoverInput 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 - RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPoint + RecoveryPlanManualActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanManualActionDetails 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 SanEnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SanEnableProtectionInput + ReplicationGroupDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationGroupDetails ScriptActionTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ScriptActionTaskDetails - StorageClassification = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassification StorageClassificationMapping = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMapping SwitchProtectionJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionJobDetails + StorageClassification = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassification TestFailoverJobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverJobDetails - VaultHealthDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VaultHealthDetails VCenter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenter VirtualMachineTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VirtualMachineTaskDetails + VaultHealthDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VaultHealthDetails VmmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmDetails - VmmToAzureCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureCreateNetworkMappingInput VmmToAzureNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureNetworkMappingSettings VmmToAzureUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureUpdateNetworkMappingInput - VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmCreateNetworkMappingInput + VmmToAzureCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureCreateNetworkMappingInput VmmToVmmNetworkMappingSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmNetworkMappingSettings VmmToVmmUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmUpdateNetworkMappingInput VmmVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails @@ -347,6 +197,7 @@ module Models VMwareDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails VMwareV2FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput VMwareV2FabricSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricSpecificDetails + VmmToVmmCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmCreateNetworkMappingInput VMwareVirtualMachineDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareVirtualMachineDetails AgentAutoUpdateStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentAutoUpdateStatus SetMultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus @@ -358,1105 +209,1254 @@ module Models PossibleOperationsDirections = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections DisableProtectionReason = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason HealthErrorCategory = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory - Severity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Severity PresenceStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus - IdentityProviderType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityProviderType AgentVersionStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus RecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointType MultiVmSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus A2ARpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType - MultiVmSyncPointOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption RecoveryPlanActionLocation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionLocation DataSyncStatus = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataSyncStatus AlternateLocationRecoveryOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlternateLocationRecoveryOption HyperVReplicaAzureRpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureRpRecoveryPointType InMageV2RpRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageV2RpRecoveryPointType + MultiVmSyncPointOption = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption RpInMageRecoveryPointType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RpInMageRecoveryPointType SourceSiteOperations = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SourceSiteOperations LicenseType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LicenseType - end - - class RecoveryServicesSiteRecoveryManagementClass - attr_reader :operations, :replication_alert_settings, :replication_events, :replication_fabrics, :replication_logical_networks, :replication_networks, :replication_network_mappings, :replication_protection_containers, :replication_protectable_items, :replication_protected_items, :recovery_points, :target_compute_sizes, :replication_protection_container_mappings, :replication_recovery_services_providers, :replication_storage_classifications, :replication_storage_classification_mappings, :replicationv_centers, :replication_jobs, :replication_policies, :replication_recovery_plans, :replication_vault_health, :configurable, :base_url, :options, :model_classes - - def initialize(configurable, base_url=nil, options=nil) - @configurable, @base_url, @options = configurable, base_url, options - - @client_0 = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::SiteRecoveryManagementClient.new(configurable.credentials, base_url, options) - if(@client_0.respond_to?(:subscription_id)) - @client_0.subscription_id = configurable.subscription_id - end - add_telemetry(@client_0) - @operations = @client_0.operations - @replication_alert_settings = @client_0.replication_alert_settings - @replication_events = @client_0.replication_events - @replication_fabrics = @client_0.replication_fabrics - @replication_logical_networks = @client_0.replication_logical_networks - @replication_networks = @client_0.replication_networks - @replication_network_mappings = @client_0.replication_network_mappings - @replication_protection_containers = @client_0.replication_protection_containers - @replication_protectable_items = @client_0.replication_protectable_items - @replication_protected_items = @client_0.replication_protected_items - @recovery_points = @client_0.recovery_points - @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 - @replication_policies = @client_0.replication_policies - @replication_recovery_plans = @client_0.replication_recovery_plans - @replication_vault_health = @client_0.replication_vault_health - - @model_classes = ModelClasses.new - end - - def add_telemetry(client) - profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/RecoveryServicesSiteRecovery/Mgmt" - client.add_user_agent_information(profile_information) - end - - def method_missing(method, *args) - if @client_0.respond_to?method - @client_0.send(method, *args) - else - super - end - end - - class ModelClasses - def osdisk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDiskDetails - end - def fabric_creation_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInputProperties - end - def fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInput - end - def vcenter_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenterCollection - end - def job_entity - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobEntity - end - def a2_avm_managed_disk_input_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmManagedDiskInputDetails - end - def target_compute_size_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSizeCollection - end - def vault_health_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VaultHealthProperties - end - def fabric_specific_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificUpdateNetworkMappingInput + Severity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Severity + RoleAssignment = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment + PolicyCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyCollection + Subnet = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Subnet + Display = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Display + Policy = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy + Network = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network + ProtectionContainer = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainer + RecoveryPoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPoint + JobCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobCollection + IdentityProviderType = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityProviderType + EncryptionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EncryptionDetails + Job = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job + Resource = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource + JobDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobDetails + OSDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDiskDetails + FabricCreationInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInputProperties + FabricCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInput + VCenterCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenterCollection + JobEntity = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobEntity + A2AVmManagedDiskInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmManagedDiskInputDetails + TargetComputeSizeCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSizeCollection + VaultHealthProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VaultHealthProperties + FabricSpecificUpdateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificUpdateNetworkMappingInput + UpdateVCenterRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateVCenterRequestProperties + FailoverReplicationProtectedItemDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverReplicationProtectedItemDetails + A2AProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AProtectedDiskDetails + TargetComputeSize = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSize + UpdateReplicationProtectedItemInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemInputProperties + FailoverProcessServerRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverProcessServerRequestProperties + VMNicDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMNicDetails + FailoverProcessServerRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverProcessServerRequest + InputEndpoint = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InputEndpoint + HealthErrorSummary = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorSummary + VMNicInputDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMNicInputDetails + TargetComputeSizeProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSizeProperties + UpdateRecoveryPlanInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateRecoveryPlanInputProperties + SwitchProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionInput + A2AVmManagedDiskUpdateDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmManagedDiskUpdateDetails + SwitchProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionInputProperties + AddVCenterRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AddVCenterRequestProperties + SwitchProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionProviderSpecificInput + AlertProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlertProperties + StorageClassificationMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingInput + AlertCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlertCollection + StorageMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageMappingInputProperties + ApplyRecoveryPointInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointInputProperties + StorageClassificationMappingCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingCollection + UpdatePolicyInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdatePolicyInputProperties + StorageClassificationMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingProperties + GroupTaskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::GroupTaskDetails + StorageClassificationCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationCollection + ProviderError = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderError + InitialReplicationDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InitialReplicationDetails + ASRTask = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ASRTask + OSDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDetails + UpdateNetworkMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateNetworkMappingInputProperties + StorageClassificationProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationProperties + UpdateMobilityServiceRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateMobilityServiceRequestProperties + RunAsAccount = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RunAsAccount + UnplannedFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UnplannedFailoverInputProperties + ReverseReplicationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationInput + ComputeSizeErrorDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ComputeSizeErrorDetails + ReverseReplicationInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationInputProperties + ConfigureAlertRequestProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigureAlertRequestProperties + ReverseReplicationProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationProviderSpecificInput + InconsistentVmDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InconsistentVmDetails + ResumeJobParams = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResumeJobParams + FabricSpecificCreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificCreateNetworkMappingInput + ResumeJobParamsProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResumeJobParamsProperties + CreateNetworkMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInput + ResourceHealthSummary = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResourceHealthSummary + CreatePolicyInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInputProperties + ReplicationProviderSpecificContainerCreationInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerCreationInput + ReplicationProviderSpecificUpdateContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificUpdateContainerMappingInput + CreateProtectionContainerInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerInput + ReplicationProtectedItemCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemCollection + CreateProtectionContainerMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerMappingInputProperties + ReplicationProtectedItemProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemProperties + RecoveryPlanProtectedItem = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProtectedItem + ReplicationProviderSpecificSettings = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificSettings + RecoveryPlanAction = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAction + RenewCertificateInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RenewCertificateInput + CreateRecoveryPlanInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInputProperties + IdentityInformation = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityInformation + CurrentScenarioDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CurrentScenarioDetails + RenewCertificateInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RenewCertificateInputProperties + DisableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionProviderSpecificInput + InMageAgentDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAgentDetails + DisableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInput + InMageAgentVersionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAgentVersionDetails + DiscoverProtectableItemRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiscoverProtectableItemRequest + RemoveProtectionContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RemoveProtectionContainerMappingInput + DiskVolumeDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiskVolumeDetails + RemoveProtectionContainerMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RemoveProtectionContainerMappingInputProperties + EnableProtectionProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionProviderSpecificInput + ReplicationProviderContainerUnmappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderContainerUnmappingInput + EnableProtectionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionInput + RecoveryServicesProviderCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProviderCollection + EventProviderSpecificDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventProviderSpecificDetails + RecoveryServicesProviderProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProviderProperties + InnerHealthError = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InnerHealthError + RecoveryPointCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointCollection + EventProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventProperties + InMageAzureV2ProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ProtectedDiskDetails + EventCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventCollection + RecoveryPointProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointProperties + TestFailoverCleanupInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverCleanupInput + RecoveryPlanUnplannedFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanUnplannedFailoverInput + FabricProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricProperties + RecoveryPlanUnplannedFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanUnplannedFailoverInputProperties + FabricCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCollection + RecoveryPlanTestFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverInput + RecoveryPlanTestFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverInputProperties + VCenterProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenterProperties + RecoveryPlanTestFailoverCleanupInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverCleanupInput + UpdateReplicationProtectedItemInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemInput + InMageDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskDetails + UpdateReplicationProtectedItemProviderInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemProviderInput + InMageVolumeExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageVolumeExclusionOptions + AzureToAzureVmSyncedConfigDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureVmSyncedConfigDetails + InMageDiskSignatureExclusionOptions = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskSignatureExclusionOptions + UpdateProtectionContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateProtectionContainerMappingInput + InMageDiskExclusionInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskExclusionInput + AddVCenterRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AddVCenterRequest + RecoveryPlanTestFailoverCleanupInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverCleanupInputProperties + ApplyRecoveryPointProviderSpecificInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointProviderSpecificInput + RecoveryPlanPlannedFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanPlannedFailoverInput + TaskTypeDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TaskTypeDetails + RecoveryPlanPlannedFailoverInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanPlannedFailoverInputProperties + JobErrorDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobErrorDetails + RecoveryPlanProviderSpecificFailoverInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProviderSpecificFailoverInput + UpdateMobilityServiceRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateMobilityServiceRequest + InMageProtectedDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageProtectedDiskDetails + AzureVmDiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureVmDiskDetails + RecoveryPlanCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanCollection + ConfigureAlertRequest = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigureAlertRequest + RecoveryPlanProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProperties + CreateNetworkMappingInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInputProperties + ProviderSpecificRecoveryPointDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderSpecificRecoveryPointDetails + CreatePolicyInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInput + ReplicationProviderSpecificContainerMappingInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerMappingInput + JobProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobProperties + RecoveryPlanActionDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionDetails + ProtectionContainerMappingCollection = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingCollection + CreateRecoveryPlanInput = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInput + DisableProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInputProperties + JobQueryParameter = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobQueryParameter + DiskDetails = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiskDetails + ProtectionContainerMappingProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingProperties + EnableProtectionInputProperties = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionInputProperties + end + + class RecoveryServicesSiteRecoveryManagementClass + attr_reader :replication_alert_settings, :replication_events, :operations, :replication_logical_networks, :replication_networks, :replication_fabrics, :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, :recovery_points, :replicationv_centers, :replication_storage_classification_mappings, :replication_policies, :replication_jobs, :replication_vault_health, :replication_recovery_plans, :configurable, :base_url, :options, :model_classes + + def initialize(configurable, base_url=nil, options=nil) + @configurable, @base_url, @options = configurable, base_url, options + + @client_0 = Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::SiteRecoveryManagementClient.new(configurable.credentials, base_url, options) + if(@client_0.respond_to?(:subscription_id)) + @client_0.subscription_id = configurable.subscription_id end - def update_vcenter_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateVCenterRequestProperties + add_telemetry(@client_0) + @replication_alert_settings = @client_0.replication_alert_settings + @replication_events = @client_0.replication_events + @operations = @client_0.operations + @replication_logical_networks = @client_0.replication_logical_networks + @replication_networks = @client_0.replication_networks + @replication_fabrics = @client_0.replication_fabrics + @replication_network_mappings = @client_0.replication_network_mappings + @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 + @recovery_points = @client_0.recovery_points + @replicationv_centers = @client_0.replicationv_centers + @replication_storage_classification_mappings = @client_0.replication_storage_classification_mappings + @replication_policies = @client_0.replication_policies + @replication_jobs = @client_0.replication_jobs + @replication_vault_health = @client_0.replication_vault_health + @replication_recovery_plans = @client_0.replication_recovery_plans + + @model_classes = ModelClasses.new + end + + def add_telemetry(client) + profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/RecoveryServicesSiteRecovery/Mgmt" + client.add_user_agent_information(profile_information) + end + + def method_missing(method, *args) + if @client_0.respond_to?method + @client_0.send(method, *args) + else + super end - def failover_replication_protected_item_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverReplicationProtectedItemDetails + end + + class ModelClasses + def protection_container_mapping_provider_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingProviderSpecificDetails end - def a2_aprotected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AProtectedDiskDetails + def event_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventSpecificDetails end - def target_compute_size - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSize + def logical_network_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetworkProperties end - def update_replication_protected_item_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemInputProperties + def test_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverInputProperties end - def failover_process_server_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverProcessServerRequestProperties + def protection_container_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerCollection end - def vmnic_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMNicDetails + def fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificDetails end - def failover_process_server_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverProcessServerRequest + def logical_network_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetworkCollection end - def input_endpoint - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InputEndpoint + def fabric_specific_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificCreationInput end - def health_error_summary - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorSummary + def protection_container_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerProperties end - def vmnic_input_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMNicInputDetails + def update_vcenter_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateVCenterRequest end - def target_compute_size_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSizeProperties + def retention_volume + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RetentionVolume end - def update_recovery_plan_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateRecoveryPlanInputProperties + def version_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VersionDetails end - def switch_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionInput + def update_protection_container_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateProtectionContainerMappingInputProperties end - def a2_avm_managed_disk_update_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmManagedDiskUpdateDetails + def master_target_server + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MasterTargetServer + end + def apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointInput + end + def mobility_service_update + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MobilityServiceUpdate + end + def update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateNetworkMappingInput + end + def configuration_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigurationSettings + end + def network_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkProperties + end + def policy_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProviderSpecificInput + end + def protection_container_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerFabricSpecificDetails + end + def create_protection_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerMappingInput + end + def network_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkCollection + end + def data_store + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataStore end - def switch_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionInputProperties + def network_mapping_fabric_specific_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingFabricSpecificSettings end - def add_vcenter_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AddVCenterRequestProperties + def network_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingProperties end - def switch_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionProviderSpecificInput + def health_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthError end - def alert_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlertProperties + def protected_items_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectedItemsQueryParameter end - def storage_classification_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingInput + def test_failover_cleanup_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverCleanupInputProperties end - def alert_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlertCollection + def network_mapping_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingCollection end - def storage_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageMappingInputProperties + def a2_aprotected_managed_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AProtectedManagedDiskDetails end - def apply_recovery_point_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointInputProperties + def operations_discovery + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OperationsDiscovery end - def storage_classification_mapping_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingCollection + def update_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdatePolicyInput end - def update_policy_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdatePolicyInputProperties + def operations_discovery_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OperationsDiscoveryCollection end - def storage_classification_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingProperties + def unplanned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UnplannedFailoverInput end - def group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::GroupTaskDetails + def provider_specific_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderSpecificFailoverInput end - def storage_classification_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationCollection + def create_protection_container_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerInputProperties end - def provider_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderError + def planned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PlannedFailoverInputProperties end - def initial_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InitialReplicationDetails + def discover_protectable_item_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiscoverProtectableItemRequestProperties end - def asrtask - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ASRTask + def planned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PlannedFailoverInput end - def osdetails - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDetails + def event_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventQueryParameter end - def update_network_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateNetworkMappingInputProperties + def policy_provider_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProviderSpecificDetails end - def storage_classification_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationProperties + def update_recovery_plan_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateRecoveryPlanInput end - def update_mobility_service_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateMobilityServiceRequestProperties + def policy_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProperties end - def run_as_account - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RunAsAccount + def test_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverInput end - def unplanned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UnplannedFailoverInputProperties + def protectable_item_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItemQueryParameter end - def reverse_replication_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationInput + def service_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ServiceError end - def compute_size_error_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ComputeSizeErrorDetails + def process_server + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProcessServer end - def reverse_replication_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationInputProperties + def a2_avm_disk_input_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmDiskInputDetails end - def configure_alert_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigureAlertRequestProperties + def protectable_item_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItemProperties end - def reverse_replication_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationProviderSpecificInput + def recovery_plan_group + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroup end - def inconsistent_vm_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InconsistentVmDetails + def protectable_item_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItemCollection end - def resume_job_params - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResumeJobParams + def a2_aapply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AApplyRecoveryPointInput end - def fabric_specific_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificCreateNetworkMappingInput + def a2_acontainer_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AContainerCreationInput end - def resume_job_params_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResumeJobParamsProperties + def a2_acontainer_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AContainerMappingInput end - def create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInput + def a2_aenable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AEnableProtectionInput end - def resource_health_summary - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResourceHealthSummary + def a2_aevent_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AEventDetails end - def create_policy_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInputProperties + def a2_afailover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AFailoverProviderInput end - def resource - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource + def a2_apolicy_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2APolicyCreationInput end - def replication_provider_specific_container_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerCreationInput + def a2_apolicy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2APolicyDetails end - def replication_provider_specific_update_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificUpdateContainerMappingInput + def a2_aprotection_container_mapping_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AProtectionContainerMappingDetails end - def create_protection_container_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerInput + def a2_arecovery_point_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARecoveryPointDetails end - def replication_protected_item_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemCollection + def a2_areplication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AReplicationDetails end - def create_protection_container_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerMappingInputProperties + def a2_areprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AReprotectInput end - def replication_protected_item_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemProperties + def a2_aswitch_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ASwitchProtectionInput end - def recovery_plan_protected_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProtectedItem + def a2_aupdate_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateContainerMappingInput end - def replication_provider_specific_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificSettings + def a2_aupdate_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateReplicationProtectedItemInput end - def recovery_plan_action - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAction + def alert + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert end - def renew_certificate_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RenewCertificateInput + def asr_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AsrJobDetails end - def create_recovery_plan_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInputProperties + def automation_runbook_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AutomationRunbookTaskDetails end - def identity_information - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityInformation + def azure_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureFabricCreationInput end - def current_scenario_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CurrentScenarioDetails + def azure_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureFabricSpecificDetails end - def renew_certificate_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RenewCertificateInputProperties + def azure_to_azure_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureCreateNetworkMappingInput end - def disable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionProviderSpecificInput + def azure_to_azure_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureNetworkMappingSettings end - def in_mage_agent_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAgentDetails + def azure_to_azure_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureUpdateNetworkMappingInput end - def disable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInput + def consistency_check_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConsistencyCheckTaskDetails end - def in_mage_agent_version_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAgentVersionDetails + def export_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ExportJobDetails end - def discover_protectable_item_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiscoverProtectableItemRequest + def fabric + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Fabric end - def remove_protection_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RemoveProtectionContainerMappingInput + def fabric_replication_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricReplicationGroupTaskDetails end - def disk_volume_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiskVolumeDetails + def failover_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverJobDetails end - def remove_protection_container_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RemoveProtectionContainerMappingInputProperties + def hyper_vreplica2012_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012EventDetails end - def enable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionProviderSpecificInput + def hyper_vreplica2012_r2_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012R2EventDetails end - def replication_provider_container_unmapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderContainerUnmappingInput + def hyper_vreplica_azure_apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureApplyRecoveryPointInput end - def enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionInput + def hyper_vreplica_azure_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureEnableProtectionInput end - def recovery_services_provider_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProviderCollection + def hyper_vreplica_azure_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureEventDetails end - def event_provider_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventProviderSpecificDetails + def hyper_vreplica_azure_failback_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailbackProviderInput end - def recovery_services_provider_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProviderProperties + def hyper_vreplica_azure_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailoverProviderInput end - def inner_health_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InnerHealthError + def hyper_vreplica_azure_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyDetails end - def recovery_point_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointCollection + def hyper_vreplica_azure_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyInput end - def event_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventProperties + def hyper_vreplica_azure_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails end - def in_mage_azure_v2_protected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ProtectedDiskDetails + def hyper_vreplica_azure_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReprotectInput end - def event_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventCollection + def hyper_vreplica_azure_update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput end - def recovery_point_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointProperties + def hyper_vreplica_base_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseEventDetails end - def test_failover_cleanup_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverCleanupInput + def hyper_vreplica_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBasePolicyDetails end - def recovery_plan_unplanned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanUnplannedFailoverInput + def hyper_vreplica_base_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseReplicationDetails end - def fabric_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricProperties + def hyper_vreplica_blue_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyDetails end - def recovery_plan_unplanned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanUnplannedFailoverInputProperties + def hyper_vreplica_blue_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyInput end - def fabric_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCollection + def hyper_vreplica_blue_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBlueReplicationDetails end - def recovery_plan_test_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverInput + def hyper_vreplica_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyDetails end - def recovery_plan_test_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverInputProperties + def hyper_vreplica_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyInput end - def vcenter_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenterProperties + def hyper_vreplica_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaReplicationDetails end - def recovery_plan_test_failover_cleanup_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverCleanupInput + def hyper_vsite_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVSiteDetails end - def update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemInput + def hyper_vvirtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVVirtualMachineDetails end - def in_mage_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskDetails + def inline_workflow_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InlineWorkflowTaskDetails end - def update_replication_protected_item_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemProviderInput + def in_mage_azure_v2_apply_recovery_point_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ApplyRecoveryPointInput end - def in_mage_volume_exclusion_options - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageVolumeExclusionOptions + def in_mage_azure_v2_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EnableProtectionInput end - def azure_to_azure_vm_synced_config_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureVmSyncedConfigDetails + def in_mage_azure_v2_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EventDetails end - def in_mage_disk_signature_exclusion_options - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskSignatureExclusionOptions + def in_mage_azure_v2_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2FailoverProviderInput end - def update_protection_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateProtectionContainerMappingInput + def in_mage_azure_v2_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyDetails end - def in_mage_disk_exclusion_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskExclusionInput + def in_mage_azure_v2_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyInput end - def add_vcenter_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AddVCenterRequest + def in_mage_azure_v2_recovery_point_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2RecoveryPointDetails end - def recovery_plan_test_failover_cleanup_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverCleanupInputProperties + def in_mage_azure_v2_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReplicationDetails end - def apply_recovery_point_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointProviderSpecificInput + def in_mage_azure_v2_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReprotectInput end - def recovery_plan_planned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanPlannedFailoverInput + def in_mage_azure_v2_update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput end - def task_type_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TaskTypeDetails + def in_mage_base_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageBasePolicyDetails end - def recovery_plan_planned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanPlannedFailoverInputProperties + def in_mage_disable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDisableProtectionProviderSpecificInput end - def job_error_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobErrorDetails + def in_mage_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageEnableProtectionInput end - def recovery_plan_provider_specific_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProviderSpecificFailoverInput + def in_mage_failover_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageFailoverProviderInput end - def update_mobility_service_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateMobilityServiceRequest + def in_mage_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyDetails end - def in_mage_protected_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageProtectedDiskDetails + def in_mage_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyInput end - def azure_vm_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureVmDiskDetails + def in_mage_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReplicationDetails end - def recovery_plan_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanCollection + def in_mage_reprotect_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReprotectInput end - def configure_alert_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigureAlertRequest + def job_status_event_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails end - def recovery_plan_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProperties + def job_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobTaskDetails end - def create_network_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInputProperties + def logical_network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork end - def provider_specific_recovery_point_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderSpecificRecoveryPointDetails + def manual_action_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ManualActionTaskDetails end - def create_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInput + def network_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping end - def job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobDetails + def protectable_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem end - def replication_provider_specific_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerMappingInput + def protection_container_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping end - def job_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobProperties + def rcm_azure_migration_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RcmAzureMigrationPolicyDetails end - def recovery_plan_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionDetails + def recovery_plan + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlan end - def protection_container_mapping_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingCollection + def recovery_plan_a2_afailover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanA2AFailoverInput end - def create_recovery_plan_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInput + def recovery_plan_automation_runbook_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAutomationRunbookActionDetails end - def job_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobCollection + def recovery_plan_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupTaskDetails end - def disable_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInputProperties + def event + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event end - def job_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobQueryParameter + def recovery_plan_hyper_vreplica_azure_failback_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput end - def disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiskDetails + def recovery_plan_hyper_vreplica_azure_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput end - def protection_container_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingProperties + def recovery_plan_in_mage_azure_v2_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageAzureV2FailoverInput end - def enable_protection_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionInputProperties + def recovery_plan_in_mage_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageFailoverInput end - def protection_container_mapping_provider_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingProviderSpecificDetails + def recovery_plan_script_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanScriptActionDetails end - def event_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventSpecificDetails + def recovery_plan_shutdown_group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanShutdownGroupTaskDetails end - def logical_network_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetworkProperties + def recovery_plan_manual_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanManualActionDetails end - def test_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverInputProperties + def recovery_services_provider + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProvider end - def protection_container_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerCollection + def replication_protected_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItem end - def fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificDetails + def san_enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SanEnableProtectionInput end - def logical_network_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetworkCollection + def replication_group_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationGroupDetails end - def fabric_specific_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificCreationInput + def script_action_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ScriptActionTaskDetails end - def protection_container_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerProperties + def storage_classification_mapping + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMapping end - def update_vcenter_request - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateVCenterRequest + def switch_protection_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionJobDetails end - def retention_volume - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RetentionVolume + def storage_classification + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassification end - def role_assignment - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment + def test_failover_job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverJobDetails end - def version_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VersionDetails + def vcenter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenter end - def update_protection_container_mapping_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateProtectionContainerMappingInputProperties + def virtual_machine_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VirtualMachineTaskDetails end - def master_target_server - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MasterTargetServer + def vault_health_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VaultHealthDetails end - def apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointInput + def vmm_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmDetails end - def mobility_service_update - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MobilityServiceUpdate + def vmm_to_azure_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureNetworkMappingSettings end - def update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateNetworkMappingInput + def vmm_to_azure_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureUpdateNetworkMappingInput end - def subnet - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Subnet + def vmm_to_azure_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureCreateNetworkMappingInput end - def configuration_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigurationSettings + def vmm_to_vmm_network_mapping_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmNetworkMappingSettings end - def network_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkProperties + def vmm_to_vmm_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmUpdateNetworkMappingInput end - def policy_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProviderSpecificInput + def vmm_virtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails end - def protection_container_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerFabricSpecificDetails + def vm_nic_updates_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails end - def create_protection_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerMappingInput + def vmware_cbt_policy_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareCbtPolicyCreationInput end - def network_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkCollection + def vmware_cbt_policy_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmwareCbtPolicyDetails end - def data_store - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataStore + def vmware_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails end - def network_mapping_fabric_specific_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingFabricSpecificSettings + def vmware_v2_fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput end - def display - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Display + def vmware_v2_fabric_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricSpecificDetails end - def network_mapping_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingProperties + def vmm_to_vmm_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmCreateNetworkMappingInput end - def health_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthError + def vmware_virtual_machine_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareVirtualMachineDetails end - def protected_items_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectedItemsQueryParameter + def agent_auto_update_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentAutoUpdateStatus end - def test_failover_cleanup_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverCleanupInputProperties + def set_multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus end - def network_mapping_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMappingCollection + def recovery_point_sync_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointSyncType end - def a2_aprotected_managed_disk_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AProtectedManagedDiskDetails + def multi_vm_group_create_option + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption end - def operations_discovery - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OperationsDiscovery + def failover_deployment_model + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverDeploymentModel end - def update_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdatePolicyInput + def recovery_plan_group_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType end - def operations_discovery_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OperationsDiscoveryCollection + def replication_protected_item_operation + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation end - def unplanned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UnplannedFailoverInput + def possible_operations_directions + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections end - def provider_specific_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderSpecificFailoverInput + def disable_protection_reason + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason end - def create_protection_container_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerInputProperties + def health_error_category + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory end - def planned_failover_input_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PlannedFailoverInputProperties + def presence_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus end - def discover_protectable_item_request_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiscoverProtectableItemRequestProperties + def agent_version_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus end - def planned_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PlannedFailoverInput + def recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointType end - def event_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventQueryParameter + def multi_vm_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus end - def policy_provider_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProviderSpecificDetails + def a2_arp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType end - def update_recovery_plan_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateRecoveryPlanInput + def recovery_plan_action_location + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionLocation end - def policy_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyProperties + def data_sync_status + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataSyncStatus end - def test_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverInput + def alternate_location_recovery_option + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlternateLocationRecoveryOption end - def protectable_item_query_parameter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItemQueryParameter + def hyper_vreplica_azure_rp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureRpRecoveryPointType end - def encryption_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EncryptionDetails + def in_mage_v2_rp_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageV2RpRecoveryPointType end - def policy_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyCollection + def multi_vm_sync_point_option + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption end - def service_error - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ServiceError + def rp_in_mage_recovery_point_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RpInMageRecoveryPointType end - def process_server - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProcessServer + def source_site_operations + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SourceSiteOperations end - def a2_avm_disk_input_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmDiskInputDetails + def license_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LicenseType end - def protectable_item_properties - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItemProperties + def severity + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Severity end - def recovery_plan_group - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroup + def role_assignment + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RoleAssignment end - def protectable_item_collection - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItemCollection + def policy_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PolicyCollection end - def a2_aapply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AApplyRecoveryPointInput + def subnet + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Subnet end - def a2_acontainer_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AContainerCreationInput + def display + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Display end - def a2_acontainer_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AContainerMappingInput + def policy + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy end - def a2_aenable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AEnableProtectionInput + def network + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network end - def a2_aevent_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AEventDetails + def protection_container + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainer end - def a2_afailover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AFailoverProviderInput + def recovery_point + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPoint end - def a2_apolicy_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2APolicyCreationInput + def job_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobCollection end - def a2_apolicy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2APolicyDetails + def identity_provider_type + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityProviderType end - def a2_aprotection_container_mapping_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AProtectionContainerMappingDetails + def encryption_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EncryptionDetails end - def a2_arecovery_point_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARecoveryPointDetails + def job + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job end - def a2_areplication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AReplicationDetails + def resource + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Resource end - def a2_areprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AReprotectInput + def job_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobDetails end - def a2_aswitch_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ASwitchProtectionInput + def osdisk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDiskDetails end - def a2_aupdate_container_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateContainerMappingInput + def fabric_creation_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInputProperties end - def a2_aupdate_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AUpdateReplicationProtectedItemInput + def fabric_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCreationInput end - def alert - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Alert + def vcenter_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenterCollection end - def asr_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AsrJobDetails + def job_entity + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobEntity end - def automation_runbook_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AutomationRunbookTaskDetails + def a2_avm_managed_disk_input_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmManagedDiskInputDetails end - def azure_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureFabricCreationInput + def target_compute_size_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSizeCollection end - def azure_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureFabricSpecificDetails + def vault_health_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VaultHealthProperties end - def azure_to_azure_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureCreateNetworkMappingInput + def fabric_specific_update_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificUpdateNetworkMappingInput end - def azure_to_azure_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureNetworkMappingSettings + def update_vcenter_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateVCenterRequestProperties end - def azure_to_azure_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureUpdateNetworkMappingInput + def failover_replication_protected_item_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverReplicationProtectedItemDetails end - def consistency_check_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConsistencyCheckTaskDetails + def a2_aprotected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AProtectedDiskDetails end - def event - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Event + def target_compute_size + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSize end - def export_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ExportJobDetails + def update_replication_protected_item_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemInputProperties end - def fabric - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Fabric + def failover_process_server_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverProcessServerRequestProperties end - def fabric_replication_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricReplicationGroupTaskDetails + def vmnic_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMNicDetails end - def failover_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverJobDetails + def failover_process_server_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverProcessServerRequest end - def hyper_vreplica2012_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012EventDetails + def input_endpoint + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InputEndpoint end - def hyper_vreplica2012_r2_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplica2012R2EventDetails + def health_error_summary + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorSummary end - def hyper_vreplica_azure_apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureApplyRecoveryPointInput + def vmnic_input_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMNicInputDetails end - def hyper_vreplica_azure_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureEnableProtectionInput + def target_compute_size_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TargetComputeSizeProperties end - def hyper_vreplica_azure_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureEventDetails + def update_recovery_plan_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateRecoveryPlanInputProperties end - def hyper_vreplica_azure_failback_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailbackProviderInput + def switch_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionInput end - def hyper_vreplica_azure_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureFailoverProviderInput + def a2_avm_managed_disk_update_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2AVmManagedDiskUpdateDetails end - def hyper_vreplica_azure_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyDetails + def switch_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionInputProperties end - def hyper_vreplica_azure_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzurePolicyInput + def add_vcenter_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AddVCenterRequestProperties end - def hyper_vreplica_azure_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReplicationDetails + def switch_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionProviderSpecificInput end - def hyper_vreplica_azure_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureReprotectInput + def alert_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlertProperties end - def hyper_vreplica_azure_update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureUpdateReplicationProtectedItemInput + def storage_classification_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingInput end - def hyper_vreplica_base_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseEventDetails + def alert_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlertCollection end - def hyper_vreplica_base_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBasePolicyDetails + def storage_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageMappingInputProperties end - def hyper_vreplica_base_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBaseReplicationDetails + def apply_recovery_point_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointInputProperties end - def hyper_vreplica_blue_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyDetails + def storage_classification_mapping_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingCollection end - def hyper_vreplica_blue_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBluePolicyInput + def update_policy_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdatePolicyInputProperties end - def hyper_vreplica_blue_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaBlueReplicationDetails + def storage_classification_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMappingProperties end - def hyper_vreplica_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyDetails + def group_task_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::GroupTaskDetails end - def hyper_vreplica_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaPolicyInput + def storage_classification_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationCollection end - def hyper_vreplica_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaReplicationDetails + def provider_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderError end - def hyper_vsite_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVSiteDetails + def initial_replication_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InitialReplicationDetails end - def hyper_vvirtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVVirtualMachineDetails + def asrtask + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ASRTask end - def inline_workflow_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InlineWorkflowTaskDetails + def osdetails + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::OSDetails end - def in_mage_azure_v2_apply_recovery_point_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ApplyRecoveryPointInput + def update_network_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateNetworkMappingInputProperties end - def in_mage_azure_v2_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EnableProtectionInput + def storage_classification_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationProperties end - def in_mage_azure_v2_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2EventDetails + def update_mobility_service_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateMobilityServiceRequestProperties end - def in_mage_azure_v2_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2FailoverProviderInput + def run_as_account + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RunAsAccount end - def in_mage_azure_v2_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyDetails + def unplanned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UnplannedFailoverInputProperties end - def in_mage_azure_v2_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2PolicyInput + def reverse_replication_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationInput end - def in_mage_azure_v2_recovery_point_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2RecoveryPointDetails + def compute_size_error_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ComputeSizeErrorDetails end - def in_mage_azure_v2_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReplicationDetails + def reverse_replication_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationInputProperties end - def in_mage_azure_v2_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ReprotectInput + def configure_alert_request_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigureAlertRequestProperties end - def in_mage_azure_v2_update_replication_protected_item_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2UpdateReplicationProtectedItemInput + def reverse_replication_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReverseReplicationProviderSpecificInput end - def in_mage_base_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageBasePolicyDetails + def inconsistent_vm_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InconsistentVmDetails end - def in_mage_disable_protection_provider_specific_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDisableProtectionProviderSpecificInput + def resume_job_params + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResumeJobParams end - def in_mage_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageEnableProtectionInput + def fabric_specific_create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricSpecificCreateNetworkMappingInput end - def in_mage_failover_provider_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageFailoverProviderInput + def resume_job_params_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResumeJobParamsProperties end - def in_mage_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyDetails + def create_network_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInput end - def in_mage_policy_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMagePolicyInput + def resource_health_summary + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ResourceHealthSummary end - def in_mage_replication_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReplicationDetails + def create_policy_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInputProperties end - def in_mage_reprotect_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageReprotectInput + def replication_provider_specific_container_creation_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerCreationInput end - def job - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Job + def replication_provider_specific_update_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificUpdateContainerMappingInput end - def job_status_event_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobStatusEventDetails + def create_protection_container_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerInput end - def job_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobTaskDetails + def replication_protected_item_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemCollection end - def logical_network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LogicalNetwork + def create_protection_container_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateProtectionContainerMappingInputProperties end - def manual_action_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ManualActionTaskDetails + def replication_protected_item_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemProperties end - def network - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Network + def recovery_plan_protected_item + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProtectedItem end - def network_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::NetworkMapping + def replication_provider_specific_settings + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificSettings end - def policy - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Policy + def recovery_plan_action + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAction end - def protectable_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectableItem + def renew_certificate_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RenewCertificateInput end - def protection_container - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainer + def create_recovery_plan_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInputProperties end - def protection_container_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMapping + def identity_information + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityInformation end - def rcm_azure_migration_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RcmAzureMigrationPolicyDetails + def current_scenario_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CurrentScenarioDetails end - def recovery_plan - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlan + def renew_certificate_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RenewCertificateInputProperties end - def recovery_plan_a2_afailover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanA2AFailoverInput + def disable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionProviderSpecificInput end - def recovery_plan_automation_runbook_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanAutomationRunbookActionDetails + def in_mage_agent_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAgentDetails end - def recovery_plan_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupTaskDetails + def disable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInput end - def recovery_plan_hyper_vreplica_azure_failback_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailbackInput + def in_mage_agent_version_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAgentVersionDetails end - def recovery_plan_hyper_vreplica_azure_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanHyperVReplicaAzureFailoverInput + def discover_protectable_item_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiscoverProtectableItemRequest end - def recovery_plan_in_mage_azure_v2_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageAzureV2FailoverInput + def remove_protection_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RemoveProtectionContainerMappingInput end - def recovery_plan_in_mage_failover_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanInMageFailoverInput + def disk_volume_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiskVolumeDetails end - def recovery_plan_manual_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanManualActionDetails + def remove_protection_container_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RemoveProtectionContainerMappingInputProperties end - def recovery_plan_script_action_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanScriptActionDetails + def enable_protection_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionProviderSpecificInput end - def recovery_plan_shutdown_group_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanShutdownGroupTaskDetails + def replication_provider_container_unmapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderContainerUnmappingInput end - def recovery_point - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPoint + def enable_protection_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionInput end - def recovery_services_provider - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProvider + def recovery_services_provider_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProviderCollection end - def replication_group_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationGroupDetails + def event_provider_specific_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventProviderSpecificDetails end - def replication_protected_item - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItem + def recovery_services_provider_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryServicesProviderProperties end - def san_enable_protection_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SanEnableProtectionInput + def inner_health_error + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InnerHealthError end - def script_action_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ScriptActionTaskDetails + def recovery_point_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointCollection end - def storage_classification - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassification + def event_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventProperties end - def storage_classification_mapping - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::StorageClassificationMapping + def in_mage_azure_v2_protected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageAzureV2ProtectedDiskDetails end - def switch_protection_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SwitchProtectionJobDetails + def event_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EventCollection end - def test_failover_job_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverJobDetails + def recovery_point_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointProperties end - def vault_health_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VaultHealthDetails + def test_failover_cleanup_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TestFailoverCleanupInput end - def vcenter - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenter + def recovery_plan_unplanned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanUnplannedFailoverInput end - def virtual_machine_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VirtualMachineTaskDetails + def fabric_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricProperties end - def vmm_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmDetails + def recovery_plan_unplanned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanUnplannedFailoverInputProperties end - def vmm_to_azure_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureCreateNetworkMappingInput + def fabric_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FabricCollection end - def vmm_to_azure_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureNetworkMappingSettings + def recovery_plan_test_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverInput end - def vmm_to_azure_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToAzureUpdateNetworkMappingInput + def recovery_plan_test_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverInputProperties end - def vmm_to_vmm_create_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmCreateNetworkMappingInput + def vcenter_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VCenterProperties end - def vmm_to_vmm_network_mapping_settings - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmNetworkMappingSettings + def recovery_plan_test_failover_cleanup_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverCleanupInput end - def vmm_to_vmm_update_network_mapping_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmToVmmUpdateNetworkMappingInput + def update_replication_protected_item_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemInput end - def vmm_virtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmmVirtualMachineDetails + def in_mage_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskDetails end - def vm_nic_updates_task_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmNicUpdatesTaskDetails + def update_replication_protected_item_provider_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateReplicationProtectedItemProviderInput end - def vmware_cbt_policy_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareCbtPolicyCreationInput + def in_mage_volume_exclusion_options + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageVolumeExclusionOptions end - def vmware_cbt_policy_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VmwareCbtPolicyDetails + def azure_to_azure_vm_synced_config_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureToAzureVmSyncedConfigDetails end - def vmware_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareDetails + def in_mage_disk_signature_exclusion_options + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskSignatureExclusionOptions end - def vmware_v2_fabric_creation_input - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricCreationInput + def update_protection_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateProtectionContainerMappingInput end - def vmware_v2_fabric_specific_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareV2FabricSpecificDetails + def in_mage_disk_exclusion_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageDiskExclusionInput end - def vmware_virtual_machine_details - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::VMwareVirtualMachineDetails + def add_vcenter_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AddVCenterRequest end - def agent_auto_update_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentAutoUpdateStatus + def recovery_plan_test_failover_cleanup_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanTestFailoverCleanupInputProperties end - def set_multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SetMultiVmSyncStatus + def apply_recovery_point_provider_specific_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ApplyRecoveryPointProviderSpecificInput end - def recovery_point_sync_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointSyncType + def recovery_plan_planned_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanPlannedFailoverInput end - def multi_vm_group_create_option - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmGroupCreateOption + def task_type_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::TaskTypeDetails end - def failover_deployment_model - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::FailoverDeploymentModel + def recovery_plan_planned_failover_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanPlannedFailoverInputProperties end - def recovery_plan_group_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanGroupType + def job_error_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobErrorDetails end - def replication_protected_item_operation - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProtectedItemOperation + def recovery_plan_provider_specific_failover_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProviderSpecificFailoverInput end - def possible_operations_directions - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PossibleOperationsDirections + def update_mobility_service_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::UpdateMobilityServiceRequest end - def disable_protection_reason - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionReason + def in_mage_protected_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageProtectedDiskDetails end - def health_error_category - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HealthErrorCategory + def azure_vm_disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AzureVmDiskDetails end - def severity - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::Severity + def recovery_plan_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanCollection end - def presence_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::PresenceStatus + def configure_alert_request + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ConfigureAlertRequest end - def identity_provider_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::IdentityProviderType + def recovery_plan_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanProperties end - def agent_version_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AgentVersionStatus + def create_network_mapping_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateNetworkMappingInputProperties end - def recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPointType + def provider_specific_recovery_point_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProviderSpecificRecoveryPointDetails end - def multi_vm_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncStatus + def create_policy_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreatePolicyInput end - def a2_arp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::A2ARpRecoveryPointType + def replication_provider_specific_container_mapping_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ReplicationProviderSpecificContainerMappingInput end - def multi_vm_sync_point_option - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::MultiVmSyncPointOption + def job_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobProperties end - def recovery_plan_action_location - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionLocation + def recovery_plan_action_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RecoveryPlanActionDetails end - def data_sync_status - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DataSyncStatus + def protection_container_mapping_collection + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingCollection end - def alternate_location_recovery_option - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::AlternateLocationRecoveryOption + def create_recovery_plan_input + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::CreateRecoveryPlanInput end - def hyper_vreplica_azure_rp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::HyperVReplicaAzureRpRecoveryPointType + def disable_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DisableProtectionInputProperties end - def in_mage_v2_rp_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::InMageV2RpRecoveryPointType + def job_query_parameter + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::JobQueryParameter end - def rp_in_mage_recovery_point_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::RpInMageRecoveryPointType + def disk_details + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::DiskDetails end - def source_site_operations - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::SourceSiteOperations + def protection_container_mapping_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::ProtectionContainerMappingProperties end - def license_type - Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::LicenseType + def enable_protection_input_properties + Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10::Models::EnableProtectionInputProperties end end end diff --git a/azure_sdk/lib/latest/modules/redis_profile_module.rb b/azure_sdk/lib/latest/modules/redis_profile_module.rb index c311a6a00b..6b605d7162 100644 --- a/azure_sdk/lib/latest/modules/redis_profile_module.rb +++ b/azure_sdk/lib/latest/modules/redis_profile_module.rb @@ -7,55 +7,55 @@ module Azure::Profiles::Latest module Redis module Mgmt - Operations = Azure::Redis::Mgmt::V2018_03_01::Operations - Redis = Azure::Redis::Mgmt::V2018_03_01::Redis FirewallRules = Azure::Redis::Mgmt::V2018_03_01::FirewallRules + Operations = Azure::Redis::Mgmt::V2018_03_01::Operations PatchSchedules = Azure::Redis::Mgmt::V2018_03_01::PatchSchedules LinkedServer = Azure::Redis::Mgmt::V2018_03_01::LinkedServer + Redis = Azure::Redis::Mgmt::V2018_03_01::Redis module Models - RedisRebootParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters Sku = Azure::Redis::Mgmt::V2018_03_01::Models::Sku + RedisRebootParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters ExportRDBParameters = Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters RedisListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisListResult RedisAccessKeys = Azure::Redis::Mgmt::V2018_03_01::Models::RedisAccessKeys RedisRegenerateKeyParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters - Resource = Azure::Redis::Mgmt::V2018_03_01::Models::Resource NotificationListResponse = Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse - OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult 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 ScheduleEntry = Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry - CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters - Operation = Azure::Redis::Mgmt::V2018_03_01::Models::Operation RedisPatchScheduleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult UpgradeNotification = Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification RedisForceRebootResponse = Azure::Redis::Mgmt::V2018_03_01::Models::RedisForceRebootResponse RedisLinkedServer = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer - OperationDisplay = Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay RedisFirewallRuleListResult = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult RedisLinkedServerWithPropertiesList = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithPropertiesList RedisCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisCreateParameters RedisLinkedServerCreateParameters = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters - ProxyResource = Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource TrackedResource = Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource RedisFirewallRule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule - RedisResource = Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource + Resource = Azure::Redis::Mgmt::V2018_03_01::Models::Resource RedisPatchSchedule = Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule - RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties - SkuName = Azure::Redis::Mgmt::V2018_03_01::Models::SkuName + CheckNameAvailabilityParameters = Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters SkuFamily = Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily + ProxyResource = Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource + RedisResource = Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource TlsVersion = Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion + RedisLinkedServerWithProperties = Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties + OperationDisplay = Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay + ReplicationRole = Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole + Operation = Azure::Redis::Mgmt::V2018_03_01::Models::Operation + RebootType = Azure::Redis::Mgmt::V2018_03_01::Models::RebootType + OperationListResult = Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult ProvisioningState = Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState RedisKeyType = Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType - RebootType = Azure::Redis::Mgmt::V2018_03_01::Models::RebootType DayOfWeek = Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek - ReplicationRole = Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole + SkuName = Azure::Redis::Mgmt::V2018_03_01::Models::SkuName end class RedisManagementClass - attr_reader :operations, :redis, :firewall_rules, :patch_schedules, :linked_server, :configurable, :base_url, :options, :model_classes + attr_reader :firewall_rules, :operations, :patch_schedules, :linked_server, :redis, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -65,11 +65,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations - @redis = @client_0.redis @firewall_rules = @client_0.firewall_rules + @operations = @client_0.operations @patch_schedules = @client_0.patch_schedules @linked_server = @client_0.linked_server + @redis = @client_0.redis @model_classes = ModelClasses.new end @@ -88,12 +88,12 @@ def method_missing(method, *args) end class ModelClasses - def redis_reboot_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters - end def sku Azure::Redis::Mgmt::V2018_03_01::Models::Sku end + def redis_reboot_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::RedisRebootParameters + end def export_rdbparameters Azure::Redis::Mgmt::V2018_03_01::Models::ExportRDBParameters end @@ -106,15 +106,9 @@ def redis_access_keys def redis_regenerate_key_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisRegenerateKeyParameters end - def resource - Azure::Redis::Mgmt::V2018_03_01::Models::Resource - end def notification_list_response Azure::Redis::Mgmt::V2018_03_01::Models::NotificationListResponse end - def operation_list_result - Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult - end def redis_update_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisUpdateParameters end @@ -127,12 +121,6 @@ def redis_firewall_rule_create_parameters def schedule_entry Azure::Redis::Mgmt::V2018_03_01::Models::ScheduleEntry end - def check_name_availability_parameters - Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters - end - def operation - Azure::Redis::Mgmt::V2018_03_01::Models::Operation - end def redis_patch_schedule_list_result Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchScheduleListResult end @@ -145,9 +133,6 @@ def redis_force_reboot_response def redis_linked_server Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServer end - def operation_display - Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay - end def redis_firewall_rule_list_result Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRuleListResult end @@ -160,47 +145,62 @@ def redis_create_parameters def redis_linked_server_create_parameters Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerCreateParameters end - def proxy_resource - Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource - end def tracked_resource Azure::Redis::Mgmt::V2018_03_01::Models::TrackedResource end def redis_firewall_rule Azure::Redis::Mgmt::V2018_03_01::Models::RedisFirewallRule end - def redis_resource - Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource + def resource + Azure::Redis::Mgmt::V2018_03_01::Models::Resource end def redis_patch_schedule Azure::Redis::Mgmt::V2018_03_01::Models::RedisPatchSchedule end - def redis_linked_server_with_properties - Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties - end - def sku_name - Azure::Redis::Mgmt::V2018_03_01::Models::SkuName + def check_name_availability_parameters + Azure::Redis::Mgmt::V2018_03_01::Models::CheckNameAvailabilityParameters end def sku_family Azure::Redis::Mgmt::V2018_03_01::Models::SkuFamily end + def proxy_resource + Azure::Redis::Mgmt::V2018_03_01::Models::ProxyResource + end + def redis_resource + Azure::Redis::Mgmt::V2018_03_01::Models::RedisResource + end def tls_version Azure::Redis::Mgmt::V2018_03_01::Models::TlsVersion end + def redis_linked_server_with_properties + Azure::Redis::Mgmt::V2018_03_01::Models::RedisLinkedServerWithProperties + end + def operation_display + Azure::Redis::Mgmt::V2018_03_01::Models::OperationDisplay + end + def replication_role + Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole + end + def operation + Azure::Redis::Mgmt::V2018_03_01::Models::Operation + end + def reboot_type + Azure::Redis::Mgmt::V2018_03_01::Models::RebootType + end + def operation_list_result + Azure::Redis::Mgmt::V2018_03_01::Models::OperationListResult + end def provisioning_state Azure::Redis::Mgmt::V2018_03_01::Models::ProvisioningState end def redis_key_type Azure::Redis::Mgmt::V2018_03_01::Models::RedisKeyType end - def reboot_type - Azure::Redis::Mgmt::V2018_03_01::Models::RebootType - end def day_of_week Azure::Redis::Mgmt::V2018_03_01::Models::DayOfWeek end - def replication_role - Azure::Redis::Mgmt::V2018_03_01::Models::ReplicationRole + def sku_name + Azure::Redis::Mgmt::V2018_03_01::Models::SkuName end end end diff --git a/azure_sdk/lib/latest/modules/relay_profile_module.rb b/azure_sdk/lib/latest/modules/relay_profile_module.rb index 56d9ce6dd2..2cdabf8d3b 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 - Operations = Azure::Relay::Mgmt::V2017_04_01::Operations Namespaces = Azure::Relay::Mgmt::V2017_04_01::Namespaces HybridConnections = Azure::Relay::Mgmt::V2017_04_01::HybridConnections + Operations = Azure::Relay::Mgmt::V2017_04_01::Operations WCFRelays = Azure::Relay::Mgmt::V2017_04_01::WCFRelays module Models + Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku + SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier RelayNamespaceListResult = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult - OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay - Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource CheckNameAvailability = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability HybridConnectionListResult = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult - CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult WcfRelaysListResult = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult - ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse - OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult AuthorizationRuleListResult = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult - Sku = Azure::Relay::Mgmt::V2017_04_01::Models::Sku AccessKeys = Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys - Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation RegenerateAccessKeyParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource ResourceNamespacePatch = Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - HybridConnection = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection WcfRelay = Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay RelayNamespace = Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace + ErrorResponse = Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse RelayUpdateParameters = Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters AuthorizationRule = Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule + HybridConnection = Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection + TrackedResource = Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource Relaytype = Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype - SkuTier = Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier ProvisioningStateEnum = Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum + UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason AccessRights = Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights + Resource = Azure::Relay::Mgmt::V2017_04_01::Models::Resource + OperationDisplay = Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + Operation = Azure::Relay::Mgmt::V2017_04_01::Models::Operation + OperationListResult = Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult KeyType = Azure::Relay::Mgmt::V2017_04_01::Models::KeyType - UnavailableReason = Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + CheckNameAvailabilityResult = Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult end class RelayManagementClass - attr_reader :operations, :namespaces, :hybrid_connections, :wcfrelays, :configurable, :base_url, :options, :model_classes + attr_reader :namespaces, :hybrid_connections, :operations, :wcfrelays, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -53,9 +53,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @namespaces = @client_0.namespaces @hybrid_connections = @client_0.hybrid_connections + @operations = @client_0.operations @wcfrelays = @client_0.wcfrelays @model_classes = ModelClasses.new @@ -75,14 +75,14 @@ def method_missing(method, *args) end class ModelClasses - def relay_namespace_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult + def sku + Azure::Relay::Mgmt::V2017_04_01::Models::Sku end - def operation_display - Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + def sku_tier + Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier end - def resource - Azure::Relay::Mgmt::V2017_04_01::Models::Resource + def relay_namespace_list_result + Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespaceListResult end def check_name_availability Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailability @@ -90,71 +90,71 @@ def check_name_availability def hybrid_connection_list_result Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnectionListResult end - def check_name_availability_result - Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - end def wcf_relays_list_result Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelaysListResult end - def error_response - Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse - end - def operation_list_result - Azure::Relay::Mgmt::V2017_04_01::Models::OperationListResult - end def authorization_rule_list_result Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult end - def sku - Azure::Relay::Mgmt::V2017_04_01::Models::Sku - end def access_keys Azure::Relay::Mgmt::V2017_04_01::Models::AccessKeys end - def operation - Azure::Relay::Mgmt::V2017_04_01::Models::Operation - end def regenerate_access_key_parameters Azure::Relay::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters end - def tracked_resource - Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource - end def resource_namespace_patch Azure::Relay::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end - def hybrid_connection - Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection - end def wcf_relay Azure::Relay::Mgmt::V2017_04_01::Models::WcfRelay end def relay_namespace Azure::Relay::Mgmt::V2017_04_01::Models::RelayNamespace end + def error_response + Azure::Relay::Mgmt::V2017_04_01::Models::ErrorResponse + end def relay_update_parameters Azure::Relay::Mgmt::V2017_04_01::Models::RelayUpdateParameters end def authorization_rule Azure::Relay::Mgmt::V2017_04_01::Models::AuthorizationRule end + def hybrid_connection + Azure::Relay::Mgmt::V2017_04_01::Models::HybridConnection + end + def tracked_resource + Azure::Relay::Mgmt::V2017_04_01::Models::TrackedResource + end def relaytype Azure::Relay::Mgmt::V2017_04_01::Models::Relaytype end - def sku_tier - Azure::Relay::Mgmt::V2017_04_01::Models::SkuTier - end def provisioning_state_enum Azure::Relay::Mgmt::V2017_04_01::Models::ProvisioningStateEnum end + def unavailable_reason + Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + end def access_rights Azure::Relay::Mgmt::V2017_04_01::Models::AccessRights end + def resource + Azure::Relay::Mgmt::V2017_04_01::Models::Resource + end + def operation_display + Azure::Relay::Mgmt::V2017_04_01::Models::OperationDisplay + end + 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 key_type Azure::Relay::Mgmt::V2017_04_01::Models::KeyType end - def unavailable_reason - Azure::Relay::Mgmt::V2017_04_01::Models::UnavailableReason + def check_name_availability_result + Azure::Relay::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult 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 8e3293c5fb..03372cd7b1 100644 --- a/azure_sdk/lib/latest/modules/resources_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resources_profile_module.rb @@ -7,73 +7,73 @@ module Azure::Profiles::Latest module Resources module Mgmt - Operations = Azure::Resources::Mgmt::V2018_05_01::Operations Deployments = Azure::Resources::Mgmt::V2018_05_01::Deployments - Providers = Azure::Resources::Mgmt::V2018_05_01::Providers - Resources = Azure::Resources::Mgmt::V2018_05_01::Resources + Operations = Azure::Resources::Mgmt::V2018_05_01::Operations ResourceGroups = Azure::Resources::Mgmt::V2018_05_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2018_05_01::Tags + Resources = Azure::Resources::Mgmt::V2018_05_01::Resources DeploymentOperations = Azure::Resources::Mgmt::V2018_05_01::DeploymentOperations + Providers = Azure::Resources::Mgmt::V2018_05_01::Providers module Models - IdentityUserAssignedIdentitiesValue = Azure::Resources::Mgmt::V2018_05_01::Models::IdentityUserAssignedIdentitiesValue - Identity = Azure::Resources::Mgmt::V2018_05_01::Models::Identity + 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 + Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency GenericResourceFilter = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter - ResourceGroupFilter = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter + Identity = Azure::Resources::Mgmt::V2018_05_01::Models::Identity + TemplateLink = Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink ParametersLink = Azure::Resources::Mgmt::V2018_05_01::Models::ParametersLink - ResourceListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceListResult OnErrorDeployment = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeployment - ResourceGroupProperties = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupProperties Deployment = Azure::Resources::Mgmt::V2018_05_01::Models::Deployment - ResourceGroup = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroup + ResourceGroupProperties = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupProperties ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails - ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable + ResourceGroup = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroup AliasType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasType - ResourceGroupListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult + ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable Provider = Azure::Resources::Mgmt::V2018_05_01::Models::Provider + ResourceGroupListResult = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupListResult ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_05_01::Models::ResourcesMoveInfo - Dependency = Azure::Resources::Mgmt::V2018_05_01::Models::Dependency - ExportTemplateRequest = Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended - TagCount = Azure::Resources::Mgmt::V2018_05_01::Models::TagCount + ExportTemplateRequest = Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest DeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended - TagValue = Azure::Resources::Mgmt::V2018_05_01::Models::TagValue + 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 TagDetails = Azure::Resources::Mgmt::V2018_05_01::Models::TagDetails - Sku = Azure::Resources::Mgmt::V2018_05_01::Models::Sku + DeploymentProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties TagsListResult = Azure::Resources::Mgmt::V2018_05_01::Models::TagsListResult - TemplateLink = Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink + AliasPathType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType TargetResource = Azure::Resources::Mgmt::V2018_05_01::Models::TargetResource - DeploymentProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties + BasicDependency = Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency HttpMessage = Azure::Resources::Mgmt::V2018_05_01::Models::HttpMessage - AliasPathType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType + DeploymentValidateResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult DeploymentOperationProperties = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationProperties - BasicDependency = Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency + DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter DeploymentOperation = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperation - DeploymentValidateResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult + DeploymentExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult DeploymentOperationsListResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationsListResult - Plan = Azure::Resources::Mgmt::V2018_05_01::Models::Plan + Resource = Azure::Resources::Mgmt::V2018_05_01::Models::Resource ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceProviderOperationDisplayProperties DebugSetting = Azure::Resources::Mgmt::V2018_05_01::Models::DebugSetting - Resource = Azure::Resources::Mgmt::V2018_05_01::Models::Resource - ProviderResourceType = Azure::Resources::Mgmt::V2018_05_01::Models::ProviderResourceType - SubResource = Azure::Resources::Mgmt::V2018_05_01::Models::SubResource 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 - DeploymentExportResult = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult + OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + GenericResource = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource OperationDisplay = Azure::Resources::Mgmt::V2018_05_01::Models::OperationDisplay - DeploymentExtendedFilter = Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter + IdentityUserAssignedIdentitiesValue = Azure::Resources::Mgmt::V2018_05_01::Models::IdentityUserAssignedIdentitiesValue Operation = Azure::Resources::Mgmt::V2018_05_01::Models::Operation - OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + OnErrorDeploymentType = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType OperationListResult = Azure::Resources::Mgmt::V2018_05_01::Models::OperationListResult - GenericResource = Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource + 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 - OnErrorDeploymentType = Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType - ResourceIdentityType = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceIdentityType end class ResourcesManagementClass - attr_reader :operations, :deployments, :providers, :resources, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :operations, :resource_groups, :tags, :resources, :deployment_operations, :providers, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -83,13 +83,13 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @deployments = @client_0.deployments - @providers = @client_0.providers - @resources = @client_0.resources + @operations = @client_0.operations @resource_groups = @client_0.resource_groups @tags = @client_0.tags + @resources = @client_0.resources @deployment_operations = @client_0.deployment_operations + @providers = @client_0.providers @model_classes = ModelClasses.new end @@ -108,116 +108,122 @@ def method_missing(method, *args) end class ModelClasses - def identity_user_assigned_identities_value - Azure::Resources::Mgmt::V2018_05_01::Models::IdentityUserAssignedIdentitiesValue + def plan + Azure::Resources::Mgmt::V2018_05_01::Models::Plan end - def identity - Azure::Resources::Mgmt::V2018_05_01::Models::Identity + def resource_identity_type + Azure::Resources::Mgmt::V2018_05_01::Models::ResourceIdentityType + end + def sku + Azure::Resources::Mgmt::V2018_05_01::Models::Sku + end + def dependency + Azure::Resources::Mgmt::V2018_05_01::Models::Dependency end def generic_resource_filter Azure::Resources::Mgmt::V2018_05_01::Models::GenericResourceFilter end - def resource_group_filter - Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter + def identity + Azure::Resources::Mgmt::V2018_05_01::Models::Identity + end + def template_link + Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink end def parameters_link Azure::Resources::Mgmt::V2018_05_01::Models::ParametersLink end - def resource_list_result - Azure::Resources::Mgmt::V2018_05_01::Models::ResourceListResult - end def on_error_deployment Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeployment end - def resource_group_properties - Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupProperties - end def deployment Azure::Resources::Mgmt::V2018_05_01::Models::Deployment end - def resource_group - Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroup + def resource_group_properties + Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupProperties end def resource_management_error_with_details Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails end - def resource_group_patchable - Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable + def resource_group + Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroup 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 + def resource_group_patchable + Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupPatchable end def provider Azure::Resources::Mgmt::V2018_05_01::Models::Provider 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 dependency - Azure::Resources::Mgmt::V2018_05_01::Models::Dependency + def deployment_properties_extended + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended end def export_template_request Azure::Resources::Mgmt::V2018_05_01::Models::ExportTemplateRequest end - def deployment_properties_extended - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentPropertiesExtended + 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 deployment_extended - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtended + def provider_list_result + Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult end def tag_value Azure::Resources::Mgmt::V2018_05_01::Models::TagValue end - def provider_list_result - Azure::Resources::Mgmt::V2018_05_01::Models::ProviderListResult + def resource_group_filter + Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupFilter end def tag_details Azure::Resources::Mgmt::V2018_05_01::Models::TagDetails end - def sku - Azure::Resources::Mgmt::V2018_05_01::Models::Sku + def deployment_properties + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties end def tags_list_result Azure::Resources::Mgmt::V2018_05_01::Models::TagsListResult end - def template_link - Azure::Resources::Mgmt::V2018_05_01::Models::TemplateLink + def alias_path_type + Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType end def target_resource Azure::Resources::Mgmt::V2018_05_01::Models::TargetResource end - def deployment_properties - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentProperties + def basic_dependency + Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency end def http_message Azure::Resources::Mgmt::V2018_05_01::Models::HttpMessage end - def alias_path_type - Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType + def deployment_validate_result + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult end def deployment_operation_properties Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperationProperties end - def basic_dependency - Azure::Resources::Mgmt::V2018_05_01::Models::BasicDependency + def deployment_extended_filter + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter end def deployment_operation Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentOperation end - def deployment_validate_result - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentValidateResult + 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 end - def plan - Azure::Resources::Mgmt::V2018_05_01::Models::Plan + def resource + Azure::Resources::Mgmt::V2018_05_01::Models::Resource end def resource_provider_operation_display_properties Azure::Resources::Mgmt::V2018_05_01::Models::ResourceProviderOperationDisplayProperties @@ -225,51 +231,45 @@ def resource_provider_operation_display_properties def debug_setting Azure::Resources::Mgmt::V2018_05_01::Models::DebugSetting end - def resource - Azure::Resources::Mgmt::V2018_05_01::Models::Resource + def deployment_list_result + Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentListResult end def provider_resource_type Azure::Resources::Mgmt::V2018_05_01::Models::ProviderResourceType end - def sub_resource - Azure::Resources::Mgmt::V2018_05_01::Models::SubResource - end - def deployment_list_result - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentListResult - end def resource_group_export_result Azure::Resources::Mgmt::V2018_05_01::Models::ResourceGroupExportResult end - def deployment_export_result - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExportResult + def on_error_deployment_extended + Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + end + def generic_resource + Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource end def operation_display Azure::Resources::Mgmt::V2018_05_01::Models::OperationDisplay end - def deployment_extended_filter - Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentExtendedFilter + def identity_user_assigned_identities_value + Azure::Resources::Mgmt::V2018_05_01::Models::IdentityUserAssignedIdentitiesValue end def operation Azure::Resources::Mgmt::V2018_05_01::Models::Operation end - def on_error_deployment_extended - Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentExtended + def on_error_deployment_type + Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType end def operation_list_result Azure::Resources::Mgmt::V2018_05_01::Models::OperationListResult end - def generic_resource - Azure::Resources::Mgmt::V2018_05_01::Models::GenericResource + def sub_resource + Azure::Resources::Mgmt::V2018_05_01::Models::SubResource + end + def resource_list_result + Azure::Resources::Mgmt::V2018_05_01::Models::ResourceListResult end def deployment_mode Azure::Resources::Mgmt::V2018_05_01::Models::DeploymentMode end - def on_error_deployment_type - Azure::Resources::Mgmt::V2018_05_01::Models::OnErrorDeploymentType - end - def resource_identity_type - Azure::Resources::Mgmt::V2018_05_01::Models::ResourceIdentityType - end end end end diff --git a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb index d6d4b7482c..31ca176343 100644 --- a/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb +++ b/azure_sdk/lib/latest/modules/resourcesmanagement_profile_module.rb @@ -9,16 +9,14 @@ module ResourcesManagement module Mgmt 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 + Operations = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Operations module Models - ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup - ErrorDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails + Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type OperationResults = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults OperationDisplayProperties = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationDisplayProperties EntityParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo - OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult EntityInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo TenantBackfillStatusResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::TenantBackfillStatusResult EntityListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityListResult @@ -26,24 +24,26 @@ module Models 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 - ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse + ManagementGroup = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup CreateParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateParentGroupInfo - CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult - CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails + ErrorResponse = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse ParentGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo - CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo - Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation + CreateManagementGroupDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails CreateManagementGroupRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest - ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo + CreateManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo CheckNameAvailabilityRequest = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest + ManagementGroupChildInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo ManagementGroupInfo = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo Reason = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason + ErrorDetails = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails + Operation = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation + OperationListResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult Status = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status - Type = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type + CheckNameAvailabilityResult = Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult end class ResourcesManagementManagementClass - attr_reader :management_groups, :management_group_subscriptions, :operations, :entities, :configurable, :base_url, :options, :model_classes + attr_reader :management_groups, :management_group_subscriptions, :entities, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -55,8 +55,8 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @management_groups = @client_0.management_groups @management_group_subscriptions = @client_0.management_group_subscriptions - @operations = @client_0.operations @entities = @client_0.entities + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -75,11 +75,8 @@ def method_missing(method, *args) end class ModelClasses - def management_group - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup - end - def error_details - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails + def type + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type end def operation_results Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationResults @@ -90,9 +87,6 @@ def operation_display_properties def entity_parent_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityParentGroupInfo end - def operation_list_result - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult - end def entity_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::EntityInfo end @@ -114,47 +108,53 @@ def management_group_details def patch_management_group_request Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::PatchManagementGroupRequest end - def error_response - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse + def management_group + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroup end 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 create_management_group_details - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails + def error_response + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorResponse end def parent_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ParentGroupInfo end - def create_management_group_child_info - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo - end - def operation - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation + def create_management_group_details + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupDetails end def create_management_group_request Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupRequest end - def management_group_child_info - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo + def create_management_group_child_info + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CreateManagementGroupChildInfo end def check_name_availability_request Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityRequest end + def management_group_child_info + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupChildInfo + end def management_group_info Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ManagementGroupInfo end def reason Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Reason end + def error_details + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::ErrorDetails + end + def operation + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Operation + end + def operation_list_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::OperationListResult + end def status Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Status end - def type - Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::Type + def check_name_availability_result + Azure::ResourcesManagement::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult end end end diff --git a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb index 50290bce4b..f37f4c11e4 100644 --- a/azure_sdk/lib/latest/modules/scheduler_profile_module.rb +++ b/azure_sdk/lib/latest/modules/scheduler_profile_module.rb @@ -7,26 +7,24 @@ module Azure::Profiles::Latest module Scheduler module Mgmt - JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections Jobs = Azure::Scheduler::Mgmt::V2016_03_01::Jobs + JobCollections = Azure::Scheduler::Mgmt::V2016_03_01::JobCollections module Models - JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence Sku = Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku - JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult + JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + JobRecurrence = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence JobCollectionQuota = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionQuota - JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties JobCollectionDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition JobDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobDefinition HttpAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication - JobListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult StorageQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage JobHistoryDefinitionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinitionProperties HttpRequest = Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest - RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy ServiceBusBrokeredMessageProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties + RetryPolicy = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy JobAction = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction - JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule JobHistoryDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition JobCollectionProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionProperties JobHistoryListResult = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryListResult @@ -41,24 +39,26 @@ module Models ServiceBusQueueMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusQueueMessage ServiceBusTopicMessage = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTopicMessage ClientCertAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication - BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication OAuthAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication SkuDefinition = Azure::Scheduler::Mgmt::V2016_03_01::Models::SkuDefinition JobCollectionState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState - RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency JobActionType = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType - RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType - DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + BasicAuthentication = Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication JobScheduleDay = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay - JobState = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState JobHistoryActionName = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName - JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus + RetryType = Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType ServiceBusAuthenticationType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType ServiceBusTransportType = Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType + JobExecutionStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus + JobRecurrenceSchedule = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule + RecurrenceFrequency = Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency + DayOfWeek = Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + JobStatus = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + JobProperties = Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties end class SchedulerManagementClass - attr_reader :job_collections, :jobs, :configurable, :base_url, :options, :model_classes + attr_reader :jobs, :job_collections, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -68,8 +68,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @job_collections = @client_0.job_collections @jobs = @client_0.jobs + @job_collections = @client_0.job_collections @model_classes = ModelClasses.new end @@ -88,21 +88,21 @@ def method_missing(method, *args) end class ModelClasses - def job_recurrence - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrence - end def sku Azure::Scheduler::Mgmt::V2016_03_01::Models::Sku end - def job_status - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + def job_list_result + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult + end + def job_state + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState + 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_properties - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties - end def job_collection_definition Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionDefinition end @@ -112,9 +112,6 @@ def job_definition def http_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpAuthentication end - def job_list_result - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobListResult - end def storage_queue_message Azure::Scheduler::Mgmt::V2016_03_01::Models::StorageQueueMessage end @@ -124,18 +121,15 @@ def job_history_definition_properties def http_request Azure::Scheduler::Mgmt::V2016_03_01::Models::HttpRequest end - def retry_policy - Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy - end def service_bus_brokered_message_properties Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusBrokeredMessageProperties end + def retry_policy + Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryPolicy + end def job_action Azure::Scheduler::Mgmt::V2016_03_01::Models::JobAction end - def job_recurrence_schedule - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule - end def job_history_definition Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryDefinition end @@ -178,9 +172,6 @@ def service_bus_topic_message def client_cert_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::ClientCertAuthentication end - def basic_authentication - Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication - end def oauth_authentication Azure::Scheduler::Mgmt::V2016_03_01::Models::OAuthAuthentication end @@ -190,29 +181,20 @@ def sku_definition def job_collection_state Azure::Scheduler::Mgmt::V2016_03_01::Models::JobCollectionState end - def recurrence_frequency - Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency - end def job_action_type Azure::Scheduler::Mgmt::V2016_03_01::Models::JobActionType end - def retry_type - Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType - end - def day_of_week - Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + def basic_authentication + Azure::Scheduler::Mgmt::V2016_03_01::Models::BasicAuthentication end def job_schedule_day Azure::Scheduler::Mgmt::V2016_03_01::Models::JobScheduleDay end - def job_state - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobState - end def job_history_action_name Azure::Scheduler::Mgmt::V2016_03_01::Models::JobHistoryActionName end - def job_execution_status - Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus + def retry_type + Azure::Scheduler::Mgmt::V2016_03_01::Models::RetryType end def service_bus_authentication_type Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusAuthenticationType @@ -220,6 +202,24 @@ def service_bus_authentication_type def service_bus_transport_type Azure::Scheduler::Mgmt::V2016_03_01::Models::ServiceBusTransportType end + def job_execution_status + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobExecutionStatus + end + def job_recurrence_schedule + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobRecurrenceSchedule + end + def recurrence_frequency + Azure::Scheduler::Mgmt::V2016_03_01::Models::RecurrenceFrequency + end + def day_of_week + Azure::Scheduler::Mgmt::V2016_03_01::Models::DayOfWeek + end + def job_status + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobStatus + end + def job_properties + Azure::Scheduler::Mgmt::V2016_03_01::Models::JobProperties + 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 6f3597ad7d..948f7435d1 100644 --- a/azure_sdk/lib/latest/modules/search_profile_module.rb +++ b/azure_sdk/lib/latest/modules/search_profile_module.rb @@ -7,34 +7,34 @@ module Azure::Profiles::Latest module Search module Mgmt - Operations = Azure::Search::Mgmt::V2015_08_19::Operations + Services = Azure::Search::Mgmt::V2015_08_19::Services AdminKeys = Azure::Search::Mgmt::V2015_08_19::AdminKeys + Operations = Azure::Search::Mgmt::V2015_08_19::Operations QueryKeys = Azure::Search::Mgmt::V2015_08_19::QueryKeys - Services = Azure::Search::Mgmt::V2015_08_19::Services module Models - Identity = Azure::Search::Mgmt::V2015_08_19::Models::Identity + CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput CheckNameAvailabilityOutput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityOutput - 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 - CheckNameAvailabilityInput = Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput OperationDisplay = Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay Operation = Azure::Search::Mgmt::V2015_08_19::Models::Operation - AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult OperationListResult = Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult + QueryKey = Azure::Search::Mgmt::V2015_08_19::Models::QueryKey + AdminKeyResult = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult SearchManagementRequestOptions = Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions SearchService = Azure::Search::Mgmt::V2015_08_19::Models::SearchService UnavailableNameReason = Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason - SkuName = Azure::Search::Mgmt::V2015_08_19::Models::SkuName HostingMode = Azure::Search::Mgmt::V2015_08_19::Models::HostingMode SearchServiceStatus = Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus - ProvisioningState = Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState AdminKeyKind = Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + 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 end class SearchManagementClass - attr_reader :operations, :admin_keys, :query_keys, :services, :configurable, :base_url, :options, :model_classes + attr_reader :services, :admin_keys, :operations, :query_keys, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -44,10 +44,10 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations + @services = @client_0.services @admin_keys = @client_0.admin_keys + @operations = @client_0.operations @query_keys = @client_0.query_keys - @services = @client_0.services @model_classes = ModelClasses.new end @@ -66,36 +66,30 @@ def method_missing(method, *args) end class ModelClasses - def identity - Azure::Search::Mgmt::V2015_08_19::Models::Identity + 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 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 check_name_availability_input - Azure::Search::Mgmt::V2015_08_19::Models::CheckNameAvailabilityInput - end def operation_display Azure::Search::Mgmt::V2015_08_19::Models::OperationDisplay end def operation Azure::Search::Mgmt::V2015_08_19::Models::Operation end - def admin_key_result - Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult - end def operation_list_result Azure::Search::Mgmt::V2015_08_19::Models::OperationListResult end + def query_key + Azure::Search::Mgmt::V2015_08_19::Models::QueryKey + end + def admin_key_result + Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyResult + end def search_management_request_options Azure::Search::Mgmt::V2015_08_19::Models::SearchManagementRequestOptions end @@ -105,20 +99,26 @@ def search_service def unavailable_name_reason Azure::Search::Mgmt::V2015_08_19::Models::UnavailableNameReason end - def sku_name - Azure::Search::Mgmt::V2015_08_19::Models::SkuName - end def hosting_mode Azure::Search::Mgmt::V2015_08_19::Models::HostingMode end def search_service_status Azure::Search::Mgmt::V2015_08_19::Models::SearchServiceStatus end + def admin_key_kind + Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + end def provisioning_state Azure::Search::Mgmt::V2015_08_19::Models::ProvisioningState end - def admin_key_kind - Azure::Search::Mgmt::V2015_08_19::Models::AdminKeyKind + def sku_name + Azure::Search::Mgmt::V2015_08_19::Models::SkuName + end + def identity + Azure::Search::Mgmt::V2015_08_19::Models::Identity + end + def resource + Azure::Search::Mgmt::V2015_08_19::Models::Resource 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 f978bcb402..743c619eeb 100644 --- a/azure_sdk/lib/latest/modules/security_profile_module.rb +++ b/azure_sdk/lib/latest/modules/security_profile_module.rb @@ -19,7 +19,6 @@ 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 - Resource = Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource 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 @@ -30,6 +29,7 @@ module Models AlertsToAdmins = Azure::Security::Mgmt::V2017_08_01_preview::Models::AlertsToAdmins PricingTier = Azure::Security::Mgmt::V2017_08_01_preview::Models::PricingTier AutoProvision = Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision + Resource = Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource end class SecurityManagementClass @@ -81,9 +81,6 @@ def security_contact_list def compliance_list Azure::Security::Mgmt::V2017_08_01_preview::Models::ComplianceList end - def resource - Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource - end def workspace_setting_list Azure::Security::Mgmt::V2017_08_01_preview::Models::WorkspaceSettingList end @@ -114,6 +111,9 @@ def pricing_tier def auto_provision Azure::Security::Mgmt::V2017_08_01_preview::Models::AutoProvision end + def resource + Azure::Security::Mgmt::V2017_08_01_preview::Models::Resource + end 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 f879eb0bf0..010ee8e506 100644 --- a/azure_sdk/lib/latest/modules/servicebus_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicebus_profile_module.rb @@ -7,20 +7,24 @@ module Azure::Profiles::Latest module ServiceBus module Mgmt + Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions Operations = Azure::ServiceBus::Mgmt::V2017_04_01::Operations + Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics Namespaces = Azure::ServiceBus::Mgmt::V2017_04_01::Namespaces + Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions DisasterRecoveryConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::DisasterRecoveryConfigs MigrationConfigs = Azure::ServiceBus::Mgmt::V2017_04_01::MigrationConfigs Queues = Azure::ServiceBus::Mgmt::V2017_04_01::Queues - Topics = Azure::ServiceBus::Mgmt::V2017_04_01::Topics - Subscriptions = Azure::ServiceBus::Mgmt::V2017_04_01::Subscriptions Rules = Azure::ServiceBus::Mgmt::V2017_04_01::Rules - Regions = Azure::ServiceBus::Mgmt::V2017_04_01::Regions PremiumMessagingRegionsOperations = Azure::ServiceBus::Mgmt::V2017_04_01::PremiumMessagingRegionsOperations EventHubs = Azure::ServiceBus::Mgmt::V2017_04_01::EventHubs module Models - OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + ErrorResponse = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse + AccessRights = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights + TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource + EntityStatus = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus + KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType SBQueueListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult Destination = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Destination SBTopicListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopicListResult @@ -30,52 +34,48 @@ module Models SBSubscriptionListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscriptionListResult SBAuthorizationRuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRuleListResult CheckNameAvailability = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability - AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys - CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails PremiumMessagingRegionsProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties - Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource - Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation SBNamespaceListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult - OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult - AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties - ErrorResponse = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse + MessageCountDetails = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails + AccessKeys = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys CaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription - Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action - EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult + AuthorizationRuleProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties SqlFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter - SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku + EventHubListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult CorrelationFilter = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter - RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult - TrackedResource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + SBSku = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku SBNamespaceUpdateParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters + RuleListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult SBAuthorizationRule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule - SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue SBTopic = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic - SBSubscription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription + RegenerateAccessKeyParameters = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + ResourceNamespacePatch = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch Rule = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule SqlRuleAction = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction - PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions + SBQueue = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue + SBNamespace = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + Resource = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource Eventhub = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub ArmDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery - MigrationConfigProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties - SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName - SkuTier = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier - AccessRights = Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights - KeyType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType - EntityStatus = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus - UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason - FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + PremiumMessagingRegions = Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions + SBSubscription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription EncodingCaptureDescription = Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + Action = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action + UnavailableReason = Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason + OperationDisplay = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay ProvisioningStateDR = Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR + Operation = Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + FilterType = Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + OperationListResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult RoleDisasterRecovery = Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery + MigrationConfigProperties = Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties + CheckNameAvailabilityResult = Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + SkuTier = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier + SkuName = Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName end class ServiceBusManagementClass - attr_reader :operations, :namespaces, :disaster_recovery_configs, :migration_configs, :queues, :topics, :subscriptions, :rules, :regions, :premium_messaging_regions_operations, :event_hubs, :configurable, :base_url, :options, :model_classes + attr_reader :subscriptions, :operations, :topics, :namespaces, :regions, :disaster_recovery_configs, :migration_configs, :queues, :rules, :premium_messaging_regions_operations, :event_hubs, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -85,15 +85,15 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) + @subscriptions = @client_0.subscriptions @operations = @client_0.operations + @topics = @client_0.topics @namespaces = @client_0.namespaces + @regions = @client_0.regions @disaster_recovery_configs = @client_0.disaster_recovery_configs @migration_configs = @client_0.migration_configs @queues = @client_0.queues - @topics = @client_0.topics - @subscriptions = @client_0.subscriptions @rules = @client_0.rules - @regions = @client_0.regions @premium_messaging_regions_operations = @client_0.premium_messaging_regions_operations @event_hubs = @client_0.event_hubs @@ -114,8 +114,20 @@ def method_missing(method, *args) end class ModelClasses - def operation_display - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay + def error_response + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse + end + def access_rights + Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights + end + def tracked_resource + Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource + end + def entity_status + Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus + end + def key_type + Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType end def sbqueue_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueueListResult @@ -144,83 +156,53 @@ def sbauthorization_rule_list_result def check_name_availability Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailability end - def access_keys - Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys - end - def check_name_availability_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult - end - def message_count_details - Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails - end def premium_messaging_regions_properties Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegionsProperties end - def resource - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource - end - def operation - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation - end def sbnamespace_list_result Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceListResult end - def operation_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult - end - def authorization_rule_properties - Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties + def message_count_details + Azure::ServiceBus::Mgmt::V2017_04_01::Models::MessageCountDetails end - def error_response - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ErrorResponse + def access_keys + Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessKeys end def capture_description Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription end - def action - Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action - end - def event_hub_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult + def authorization_rule_properties + Azure::ServiceBus::Mgmt::V2017_04_01::Models::AuthorizationRuleProperties end def sql_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlFilter end - def sbsku - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku + def event_hub_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::EventHubListResult end def correlation_filter Azure::ServiceBus::Mgmt::V2017_04_01::Models::CorrelationFilter end - def regenerate_access_key_parameters - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters - end - def rule_list_result - Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult - end - def tracked_resource - Azure::ServiceBus::Mgmt::V2017_04_01::Models::TrackedResource - end - def resource_namespace_patch - Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch - end - def sbnamespace - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + def sbsku + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSku end def sbnamespace_update_parameters Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespaceUpdateParameters end + def rule_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RuleListResult + end def sbauthorization_rule Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBAuthorizationRule end - def sbqueue - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue - end def sbtopic Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBTopic end - def sbsubscription - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription + def regenerate_access_key_parameters + Azure::ServiceBus::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters + end + def resource_namespace_patch + Azure::ServiceBus::Mgmt::V2017_04_01::Models::ResourceNamespacePatch end def rule Azure::ServiceBus::Mgmt::V2017_04_01::Models::Rule @@ -228,8 +210,14 @@ def rule def sql_rule_action Azure::ServiceBus::Mgmt::V2017_04_01::Models::SqlRuleAction end - def premium_messaging_regions - Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions + def sbqueue + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBQueue + end + def sbnamespace + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBNamespace + end + def resource + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Resource end def eventhub Azure::ServiceBus::Mgmt::V2017_04_01::Models::Eventhub @@ -237,39 +225,51 @@ def eventhub def arm_disaster_recovery Azure::ServiceBus::Mgmt::V2017_04_01::Models::ArmDisasterRecovery end - def migration_config_properties - Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties - end - def sku_name - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName - end - def sku_tier - Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier + def premium_messaging_regions + Azure::ServiceBus::Mgmt::V2017_04_01::Models::PremiumMessagingRegions end - def access_rights - Azure::ServiceBus::Mgmt::V2017_04_01::Models::AccessRights + def sbsubscription + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SBSubscription end - def key_type - Azure::ServiceBus::Mgmt::V2017_04_01::Models::KeyType + def encoding_capture_description + Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription end - def entity_status - Azure::ServiceBus::Mgmt::V2017_04_01::Models::EntityStatus + def action + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Action end def unavailable_reason Azure::ServiceBus::Mgmt::V2017_04_01::Models::UnavailableReason end - def filter_type - Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType - end - def encoding_capture_description - Azure::ServiceBus::Mgmt::V2017_04_01::Models::EncodingCaptureDescription + def operation_display + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationDisplay end def provisioning_state_dr Azure::ServiceBus::Mgmt::V2017_04_01::Models::ProvisioningStateDR end + def operation + Azure::ServiceBus::Mgmt::V2017_04_01::Models::Operation + end + def filter_type + Azure::ServiceBus::Mgmt::V2017_04_01::Models::FilterType + end + def operation_list_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::OperationListResult + end def role_disaster_recovery Azure::ServiceBus::Mgmt::V2017_04_01::Models::RoleDisasterRecovery end + def migration_config_properties + Azure::ServiceBus::Mgmt::V2017_04_01::Models::MigrationConfigProperties + end + def check_name_availability_result + Azure::ServiceBus::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult + end + def sku_tier + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuTier + end + def sku_name + Azure::ServiceBus::Mgmt::V2017_04_01::Models::SkuName + end end end end diff --git a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb index 923fd9c104..64ebe24411 100644 --- a/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb +++ b/azure_sdk/lib/latest/modules/servicefabric_profile_module.rb @@ -7,8 +7,8 @@ module Azure::Profiles::Latest module ServiceFabric module Mgmt - ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType Version = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Version + ApplicationType = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::ApplicationType Application = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Application Service = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Service Clusters = Azure::ServiceFabric::Mgmt::V2018_02_01::Clusters @@ -16,6 +16,7 @@ module Mgmt Operations = Azure::ServiceFabric::Mgmt::V2018_02_01::Operations module Models + ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource ServicePropertiesBase = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase ServiceTypeHealthPolicyMapItem = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceTypeHealthPolicyMapItem ApplicationMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationMetricDescription @@ -24,7 +25,6 @@ module Models ApplicationParameter = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ApplicationParameter ServiceLoadMetricDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceLoadMetricDescription PartitionSchemeDescription = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription - ProxyResource = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource 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 @@ -44,43 +44,43 @@ module Models ServiceResourceUpdate = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServiceResourceUpdate StatelessServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceProperties StatelessServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties - StatefulServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties StatefulServiceUpdateProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties - EndpointRangeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription - ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy - NodeTypeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription - ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy - ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy - AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay - ClusterUpgradeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy - CertificateDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription - ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradePolicy - ClientCertificateThumbprint = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint - ClusterVersionDetails = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails + StatefulServiceProperties = Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties + ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy + ProvisioningState = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ProvisioningState + OperationResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult + Resource = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Resource + ErrorModel = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModel ServerCertificateCommonNames = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonNames - ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsResult - SettingsParameterDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription - ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult + ServiceTypeDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy ApplicationDeltaHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy - ClusterListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult - AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory ClusterUpdateParameters = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters + ErrorModelError = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError + ClusterCodeVersionsListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult + ClusterCodeVersionsResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsResult ServerCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonName - OperationResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult - SettingsSectionDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription OperationListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationListResult - ClientCertificateCommonName = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName - Resource = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Resource - ApplicationHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy - ErrorModelError = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError DiagnosticsStorageAccountConfig = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::DiagnosticsStorageAccountConfig - ErrorModel = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModel + ClusterUpgradePolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradePolicy + AvailableOperationDisplay = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay + ClusterHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy + AzureActiveDirectory = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory + ServiceTypeHealthPolicy = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy + 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 + CertificateDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription + SettingsSectionDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription + ClusterListResult = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult + EndpointRangeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription + NodeTypeDescription = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription Cluster = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster - ProvisioningState = Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ProvisioningState end class ServiceFabricManagementClass - attr_reader :application_type, :version, :application, :service, :clusters, :cluster_versions, :operations, :configurable, :base_url, :options, :model_classes + attr_reader :version, :application_type, :application, :service, :clusters, :cluster_versions, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -90,8 +90,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @application_type = @client_0.application_type @version = @client_0.version + @application_type = @client_0.application_type @application = @client_0.application @service = @client_0.service @@ -123,6 +123,9 @@ def method_missing(method, *args) end class ModelClasses + def proxy_resource + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource + end def service_properties_base Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ServicePropertiesBase end @@ -147,9 +150,6 @@ def service_load_metric_description def partition_scheme_description Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::PartitionSchemeDescription end - def proxy_resource - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::ProxyResource - end def rolling_upgrade_monitoring_policy Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::RollingUpgradeMonitoringPolicy end @@ -207,105 +207,105 @@ def stateless_service_properties def stateless_service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatelessServiceUpdateProperties end - def stateful_service_properties - Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties - end def stateful_service_update_properties Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceUpdateProperties end - def endpoint_range_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription + def stateful_service_properties + Azure::ServiceFabric::Mgmt::V2017_07_01_preview::Models::StatefulServiceProperties end - def service_type_delta_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy + def application_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy end - def node_type_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription + def provisioning_state + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ProvisioningState end - def service_type_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy + def operation_result + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult end - def cluster_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy + def resource + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Resource end - def available_operation_display - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay + def error_model + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModel end - def cluster_upgrade_delta_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy + def server_certificate_common_names + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonNames end - def certificate_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription + def service_type_delta_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeDeltaHealthPolicy end - def cluster_upgrade_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradePolicy + def application_delta_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy end - def client_certificate_thumbprint - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint + def cluster_update_parameters + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters end - def cluster_version_details - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails + def error_model_error + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError end - def server_certificate_common_names - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonNames + def cluster_code_versions_list_result + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult end def cluster_code_versions_result Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsResult end - def settings_parameter_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription + def server_certificate_common_name + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonName end - def cluster_code_versions_list_result - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterCodeVersionsListResult + def operation_list_result + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationListResult end - def application_delta_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationDeltaHealthPolicy + def diagnostics_storage_account_config + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::DiagnosticsStorageAccountConfig end - def cluster_list_result - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult + def cluster_upgrade_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradePolicy + end + def available_operation_display + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AvailableOperationDisplay + end + def cluster_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterHealthPolicy end def azure_active_directory Azure::ServiceFabric::Mgmt::V2018_02_01::Models::AzureActiveDirectory end - def cluster_update_parameters - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpdateParameters + def service_type_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServiceTypeHealthPolicy end - def server_certificate_common_name - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ServerCertificateCommonName + def client_certificate_common_name + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName end - def operation_result - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationResult + def client_certificate_thumbprint + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateThumbprint end - def settings_section_description - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription + def cluster_upgrade_delta_health_policy + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterUpgradeDeltaHealthPolicy end - def operation_list_result - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::OperationListResult + def cluster_version_details + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterVersionDetails end - def client_certificate_common_name - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClientCertificateCommonName + def settings_parameter_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsParameterDescription end - def resource - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Resource + def certificate_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription end - def application_health_policy - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ApplicationHealthPolicy + def settings_section_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::SettingsSectionDescription end - def error_model_error - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModelError + def cluster_list_result + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ClusterListResult end - def diagnostics_storage_account_config - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::DiagnosticsStorageAccountConfig + def endpoint_range_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::EndpointRangeDescription end - def error_model - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ErrorModel + def node_type_description + Azure::ServiceFabric::Mgmt::V2018_02_01::Models::NodeTypeDescription end def cluster Azure::ServiceFabric::Mgmt::V2018_02_01::Models::Cluster end - def provisioning_state - Azure::ServiceFabric::Mgmt::V2018_02_01::Models::ProvisioningState - 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 518225669e..ed759ae740 100644 --- a/azure_sdk/lib/latest/modules/signalr_profile_module.rb +++ b/azure_sdk/lib/latest/modules/signalr_profile_module.rb @@ -7,40 +7,40 @@ module Azure::Profiles::Latest module Signalr module Mgmt - Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations SignalR = Azure::Signalr::Mgmt::V2018_03_01_preview::SignalR Usages = Azure::Signalr::Mgmt::V2018_03_01_preview::Usages + Operations = Azure::Signalr::Mgmt::V2018_03_01_preview::Operations module Models - SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList - OperationDisplay = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay + KeyType = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType Dimension = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Dimension - ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification - SignalRUsageList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageList - Operation = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation + MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification + RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters + OperationList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource Resource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource + OperationDisplay = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay + SignalRResourceList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList + SignalRUsageList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageList NameAvailabilityParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters + Operation = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation SignalRCreateOrUpdateProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties - ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku SignalRKeys = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys OperationProperties = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties - RegenerateKeyParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters - NameAvailability = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability SignalRUsage = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage - OperationList = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList SignalRUpdateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters - MetricSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification + NameAvailability = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability SignalRUsageName = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageName - TrackedResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource - SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource SignalRCreateParameters = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters SignalRSkuTier = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier + ServiceSpecification = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + SignalRResource = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource ProvisioningState = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState - KeyType = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType + ResourceSku = Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku end class SignalrManagementClass - attr_reader :operations, :signal_r, :usages, :configurable, :base_url, :options, :model_classes + attr_reader :signal_r, :usages, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -50,9 +50,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @signal_r = @client_0.signal_r @usages = @client_0.usages + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -71,80 +71,80 @@ def method_missing(method, *args) end class ModelClasses - def signal_rresource_list - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList - end - def operation_display - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay + def key_type + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType end def dimension Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Dimension end - def service_specification - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + def metric_specification + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification end - def signal_rusage_list - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageList + def regenerate_key_parameters + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters end - def operation - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation + def operation_list + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList + end + def tracked_resource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource end def resource Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Resource end + def operation_display + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationDisplay + end + def signal_rresource_list + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResourceList + end + def signal_rusage_list + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageList + end def name_availability_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailabilityParameters end + def operation + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::Operation + end def signal_rcreate_or_update_properties Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateOrUpdateProperties end - def resource_sku - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku - end def signal_rkeys Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRKeys end def operation_properties Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationProperties end - def regenerate_key_parameters - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::RegenerateKeyParameters - end - def name_availability - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability - end def signal_rusage Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsage end - def operation_list - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::OperationList - end def signal_rupdate_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUpdateParameters end - def metric_specification - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::MetricSpecification + def name_availability + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::NameAvailability end def signal_rusage_name Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRUsageName end - def tracked_resource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::TrackedResource - end - def signal_rresource - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource - end def signal_rcreate_parameters Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRCreateParameters end def signal_rsku_tier Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRSkuTier end + def service_specification + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ServiceSpecification + end + def signal_rresource + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::SignalRResource + end def provisioning_state Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ProvisioningState end - def key_type - Azure::Signalr::Mgmt::V2018_03_01_preview::Models::KeyType + def resource_sku + Azure::Signalr::Mgmt::V2018_03_01_preview::Models::ResourceSku end end end diff --git a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb index 270c7da4d9..0dba8ca7be 100644 --- a/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb +++ b/azure_sdk/lib/latest/modules/spellcheck_profile_module.rb @@ -8,19 +8,19 @@ module Azure::Profiles::Latest module SpellCheck module Models - SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion + ErrorSubCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode ResponseBase = Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase - SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken - Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error + ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType + ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse SpellCheck = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck - Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable Response = Azure::CognitiveServices::SpellCheck::V1_0::Models::Response + Identifiable = Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable Answer = Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer - ErrorResponse = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType ErrorCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode - ActionType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType + SpellingTokenSuggestion = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion + SpellingFlaggedToken = Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken + ErrorType = Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType + Error = Azure::CognitiveServices::SpellCheck::V1_0::Models::Error Mode = Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode end @@ -53,44 +53,44 @@ def method_missing(method, *args) end class ModelClasses - def spelling_token_suggestion - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion + def error_sub_code + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode end def response_base Azure::CognitiveServices::SpellCheck::V1_0::Models::ResponseBase end - def spelling_flagged_token - Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken + def action_type + Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType end - def error - Azure::CognitiveServices::SpellCheck::V1_0::Models::Error + def error_response + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse end def spell_check Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellCheck end - def identifiable - Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable - end def response Azure::CognitiveServices::SpellCheck::V1_0::Models::Response end + def identifiable + Azure::CognitiveServices::SpellCheck::V1_0::Models::Identifiable + end def answer Azure::CognitiveServices::SpellCheck::V1_0::Models::Answer end - def error_response - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorResponse - end - def error_type - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType - end def error_code Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorCode end - def error_sub_code - Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorSubCode + def spelling_token_suggestion + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingTokenSuggestion end - def action_type - Azure::CognitiveServices::SpellCheck::V1_0::Models::ActionType + def spelling_flagged_token + Azure::CognitiveServices::SpellCheck::V1_0::Models::SpellingFlaggedToken + end + def error_type + Azure::CognitiveServices::SpellCheck::V1_0::Models::ErrorType + end + def error + Azure::CognitiveServices::SpellCheck::V1_0::Models::Error end def mode Azure::CognitiveServices::SpellCheck::V1_0::Models::Mode diff --git a/azure_sdk/lib/latest/modules/sql_profile_module.rb b/azure_sdk/lib/latest/modules/sql_profile_module.rb index 8cbd7c50a7..8155c9e725 100644 --- a/azure_sdk/lib/latest/modules/sql_profile_module.rb +++ b/azure_sdk/lib/latest/modules/sql_profile_module.rb @@ -7,8 +7,6 @@ module Azure::Profiles::Latest module SQL module Mgmt - BackupLongTermRetentionVaults = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionVaults - RecoverableDatabases = Azure::SQL::Mgmt::V2014_04_01::RecoverableDatabases RestorableDroppedDatabases = Azure::SQL::Mgmt::V2014_04_01::RestorableDroppedDatabases ServerConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::ServerConnectionPolicies DatabaseThreatDetectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseThreatDetectionPolicies @@ -18,9 +16,9 @@ module Mgmt Extensions = Azure::SQL::Mgmt::V2014_04_01::Extensions DisasterRecoveryConfigurations = Azure::SQL::Mgmt::V2014_04_01::DisasterRecoveryConfigurations GeoBackupPolicies = Azure::SQL::Mgmt::V2014_04_01::GeoBackupPolicies - Queries = Azure::SQL::Mgmt::V2014_04_01::Queries QueryStatistics = Azure::SQL::Mgmt::V2014_04_01::QueryStatistics QueryTexts = Azure::SQL::Mgmt::V2014_04_01::QueryTexts + Queries = Azure::SQL::Mgmt::V2014_04_01::Queries RecommendedElasticPools = Azure::SQL::Mgmt::V2014_04_01::RecommendedElasticPools ReplicationLinks = Azure::SQL::Mgmt::V2014_04_01::ReplicationLinks ServerAzureADAdministrators = Azure::SQL::Mgmt::V2014_04_01::ServerAzureADAdministrators @@ -30,65 +28,104 @@ module Mgmt ElasticPoolDatabaseActivities = Azure::SQL::Mgmt::V2014_04_01::ElasticPoolDatabaseActivities ServiceTierAdvisors = Azure::SQL::Mgmt::V2014_04_01::ServiceTierAdvisors TransparentDataEncryptions = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptions - TransparentDataEncryptionActivities = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptionActivities ServerTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::ServerTableAuditingPolicies - DatabaseTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseTableAuditingPolicies + TransparentDataEncryptionActivities = Azure::SQL::Mgmt::V2014_04_01::TransparentDataEncryptionActivities DatabaseConnectionPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseConnectionPolicies - ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages + DatabaseTableAuditingPolicies = Azure::SQL::Mgmt::V2014_04_01::DatabaseTableAuditingPolicies DatabaseUsages = Azure::SQL::Mgmt::V2014_04_01::DatabaseUsages - DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors + ServerUsages = Azure::SQL::Mgmt::V2014_04_01::ServerUsages + BackupLongTermRetentionVaults = Azure::SQL::Mgmt::V2014_04_01::BackupLongTermRetentionVaults + RecoverableDatabases = Azure::SQL::Mgmt::V2014_04_01::RecoverableDatabases + FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules + Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations + Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers DatabaseRecommendedActions = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseRecommendedActions - ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors DatabaseAutomaticTuningOperations = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAutomaticTuningOperations EncryptionProtectors = Azure::SQL::Mgmt::V2015_05_01_preview::EncryptionProtectors FailoverGroups = Azure::SQL::Mgmt::V2015_05_01_preview::FailoverGroups - FirewallRules = Azure::SQL::Mgmt::V2015_05_01_preview::FirewallRules ManagedInstances = Azure::SQL::Mgmt::V2015_05_01_preview::ManagedInstances - Operations = Azure::SQL::Mgmt::V2015_05_01_preview::Operations ServerKeys = Azure::SQL::Mgmt::V2015_05_01_preview::ServerKeys - Servers = Azure::SQL::Mgmt::V2015_05_01_preview::Servers SyncAgents = Azure::SQL::Mgmt::V2015_05_01_preview::SyncAgents SyncGroups = Azure::SQL::Mgmt::V2015_05_01_preview::SyncGroups SyncMembers = Azure::SQL::Mgmt::V2015_05_01_preview::SyncMembers SubscriptionUsages = Azure::SQL::Mgmt::V2015_05_01_preview::SubscriptionUsages + ServerAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::ServerAdvisors + DatabaseAdvisors = Azure::SQL::Mgmt::V2015_05_01_preview::DatabaseAdvisors VirtualNetworkRules = Azure::SQL::Mgmt::V2015_05_01_preview::VirtualNetworkRules + ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations + ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases + ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies + RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints ExtendedDatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedDatabaseBlobAuditingPolicies ExtendedServerBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ExtendedServerBlobAuditingPolicies 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 - Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs + DatabaseBlobAuditingPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::DatabaseBlobAuditingPolicies 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 + Jobs = Azure::SQL::Mgmt::V2017_03_01_preview::Jobs BackupLongTermRetentionPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::BackupLongTermRetentionPolicies ManagedDatabases = Azure::SQL::Mgmt::V2017_03_01_preview::ManagedDatabases - RestorePoints = Azure::SQL::Mgmt::V2017_03_01_preview::RestorePoints SensitivityLabels = Azure::SQL::Mgmt::V2017_03_01_preview::SensitivityLabels - ServerAutomaticTuningOperations = Azure::SQL::Mgmt::V2017_03_01_preview::ServerAutomaticTuningOperations - ServerDnsAliases = Azure::SQL::Mgmt::V2017_03_01_preview::ServerDnsAliases - ServerSecurityAlertPolicies = Azure::SQL::Mgmt::V2017_03_01_preview::ServerSecurityAlertPolicies + Databases = Azure::SQL::Mgmt::V2017_10_01_preview::Databases + BackupShortTermRetentionPolicies = Azure::SQL::Mgmt::V2017_10_01_preview::BackupShortTermRetentionPolicies + ElasticPools = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPools DatabaseOperations = Azure::SQL::Mgmt::V2017_10_01_preview::DatabaseOperations ElasticPoolOperations = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPoolOperations DatabaseVulnerabilityAssessmentScans = Azure::SQL::Mgmt::V2017_10_01_preview::DatabaseVulnerabilityAssessmentScans - Capabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Capabilities - Databases = Azure::SQL::Mgmt::V2017_10_01_preview::Databases - ElasticPools = Azure::SQL::Mgmt::V2017_10_01_preview::ElasticPools InstanceFailoverGroups = Azure::SQL::Mgmt::V2017_10_01_preview::InstanceFailoverGroups - BackupShortTermRetentionPolicies = Azure::SQL::Mgmt::V2017_10_01_preview::BackupShortTermRetentionPolicies + Capabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Capabilities TdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::TdeCertificates ManagedInstanceTdeCertificates = Azure::SQL::Mgmt::V2017_10_01_preview::ManagedInstanceTdeCertificates module Models + MaxSizeUnits = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits + CheckNameAvailabilityReason = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason + ServerConnectionType = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType + DatabaseEdition = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition + ServiceObjectiveName = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName + TransparentDataEncryptionStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus + RecommendedIndexAction = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction + RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState + RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType + ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale + SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins + SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault + DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState + DataMaskingRuleState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState + DataMaskingFunction = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingFunction + DisasterRecoveryConfigurationStatus = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationStatus + DisasterRecoveryConfigurationAutoFailover = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover + DisasterRecoveryConfigurationFailoverPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy + DisasterRecoveryConfigurationRole = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole + ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition + AuthenticationType = Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType + GeoBackupPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState + CheckNameAvailabilityRequest = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + QueryAggregationFunction = Azure::SQL::Mgmt::V2014_04_01::Models::QueryAggregationFunction + PrimaryAggregationType = Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + UnitDefinitionType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType + StorageKeyType = Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType + 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 + ServerVersion = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion + ReplicationState = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState + ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus + ReplicationRole = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole MetricValue = Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue + MetricName = Azure::SQL::Mgmt::V2014_04_01::Models::MetricName + UnitType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitType ServiceObjectiveListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult DataMaskingRuleListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleListResult QueryText = Azure::SQL::Mgmt::V2014_04_01::Models::QueryText @@ -117,47 +154,45 @@ module Models ExportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ExportRequest QueryTextListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryTextListResult BackupLongTermRetentionVaultListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult - MetricName = Azure::SQL::Mgmt::V2014_04_01::Models::MetricName RestorableDroppedDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult - Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric ElasticPoolPerDatabaseMinDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability MetricListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricListResult - MetricAvailability = Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability ServerTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult - MetricDefinition = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition OperationImpact = Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact + MetricDefinition = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition MetricDefinitionListResult = Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult BackupLongTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult - CheckNameAvailabilityRequest = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest QueryMetric = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric - ServiceTierAdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult QueryInterval = Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval RecoverableDatabaseListResult = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult + ServiceTierAdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult QueryStatistic = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic - DatabaseTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult TopQueries = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries ElasticPoolDtuCapability = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability + DatabaseTableAuditingPolicyListResult = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult TopQueriesListResult = Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult - AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult QueryStatisticListResult = Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult + AdvisorListResult = Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult BackupLongTermRetentionVault = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault - RecoverableDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase - RestorableDroppedDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase + Metric = Azure::SQL::Mgmt::V2014_04_01::Models::Metric ServerConnectionPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy + RecoverableDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase ServiceTierAdvisor = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor - TransparentDataEncryption = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption RecommendedIndex = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex + RestorableDroppedDatabase = Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase DatabaseSecurityAlertPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy DataMaskingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy + TransparentDataEncryption = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption DataMaskingRule = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule - DisasterRecoveryConfiguration = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration + MetricAvailability = Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability GeoBackupPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy ImportExportResponse = Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse - ImportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest RecommendedElasticPool = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool - ReplicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink - ServerAzureADAdministrator = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator + ImportRequest = Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest + DisasterRecoveryConfiguration = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration ServerCommunicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink + ServerAzureADAdministrator = Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator + ReplicationLink = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink ServiceObjective = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective ElasticPoolActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolActivity ElasticPoolDatabaseActivity = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity @@ -166,45 +201,20 @@ module Models DatabaseTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicy ServerTableAuditingPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy BackupLongTermRetentionPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState - MaxSizeUnits = Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits - CheckNameAvailabilityReason = Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason - ServerConnectionType = Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType - DatabaseEdition = Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition - ServiceObjectiveName = Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName - TransparentDataEncryptionStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus - RecommendedIndexAction = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction - RecommendedIndexState = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState - RecommendedIndexType = Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType - ReadScale = Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale - SecurityAlertPolicyEmailAccountAdmins = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins - SecurityAlertPolicyUseServerDefault = Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault - DataMaskingState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState - DataMaskingRuleState = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState - DataMaskingFunction = Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingFunction - DisasterRecoveryConfigurationStatus = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationStatus - DisasterRecoveryConfigurationAutoFailover = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover - DisasterRecoveryConfigurationFailoverPolicy = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy - DisasterRecoveryConfigurationRole = Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole - ElasticPoolEdition = Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition - GeoBackupPolicyState = Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState - StorageKeyType = Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType - AuthenticationType = Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType - UnitType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitType - PrimaryAggregationType = Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType - UnitDefinitionType = Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType - QueryAggregationFunction = Azure::SQL::Mgmt::V2014_04_01::Models::QueryAggregationFunction - QueryExecutionType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryExecutionType - QueryObservedMetricType = Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType - QueryMetricUnit = Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit - ReplicationRole = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole - ReplicationState = Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState - ServerVersion = Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion - ServerState = Azure::SQL::Mgmt::V2014_04_01::Models::ServerState - TransparentDataEncryptionActivityStatus = Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus + AutoExecuteStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus + VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule + ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + AutomaticTuningDisabledReason = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason + SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState + VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState OperationDisplay = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay Operation = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation - RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo OperationListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult + FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult + FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin + ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + RecommendedActionImplementationInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo RecommendedActionImpactRecord = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord ManagedInstanceUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstanceUpdate FirewallRuleList = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleList @@ -224,19 +234,16 @@ module Models FailoverGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupListResult RecommendedActionMetricInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionMetricInfo SyncFullSchemaPropertiesListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult - FirewallRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult ServerKeyListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult - VirtualNetworkRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult SyncGroupLogListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult - ServerListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + VirtualNetworkRuleListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult PartnerInfo = Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo - ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - ResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName SubscriptionUsageListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult SyncGroupListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupListResult SyncAgentListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentListResult FailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReadWriteEndpoint SyncAgentKeyProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties + ResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName SyncFullSchemaProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties SyncMemberListResult = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberListResult FailoverGroupUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupUpdate @@ -244,43 +251,35 @@ module Models AutomaticTuningOptions = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningOptions SyncDatabaseIdProperties = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDatabaseIdProperties RecommendedAction = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction - Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor DatabaseAutomaticTuning = Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning EncryptionProtector = Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector - FailoverGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup + Advisor = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor ProxyResourceWithWritableName = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName - FirewallRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + FailoverGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup + SyncAgent = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent ManagedInstance = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance ServerKey = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey - Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server - SyncAgent = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent - SyncAgentLinkedDatabase = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase SyncGroup = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup - SyncMember = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + SyncAgentLinkedDatabase = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase SubscriptionUsage = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage - VirtualNetworkRule = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule - AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus - AutoExecuteStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus - AutoExecuteStatusInheritedFrom = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom + SyncMember = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember RecommendedActionCurrentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState - RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy + AutoExecuteStatusInheritedFrom = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom ImplementationMethod = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod IsRetryable = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IsRetryable AutomaticTuningMode = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode - AutomaticTuningDisabledReason = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason - ServerKeyType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + Server = Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server + ServerUpdate = Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate + RecommendedActionInitiatedBy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy FailoverGroupReplicationRole = Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole IdentityType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType - OperationOrigin = Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin SyncAgentState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState SyncMemberDbType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberDbType SyncGroupLogType = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogType SyncConflictResolutionPolicy = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncConflictResolutionPolicy SyncGroupState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupState SyncDirection = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection - SyncMemberState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState - VirtualNetworkRuleState = Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState - JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + AdvisorStatus = Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus JobStepAction = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction ManagedDatabaseUpdate = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseUpdate ManagedDatabaseListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseListResult @@ -293,11 +292,9 @@ module Models CreateDatabaseRestorePointDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::CreateDatabaseRestorePointDefinition LongTermRetentionBackupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackupListResult JobCredentialListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult - RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult JobExecutionTarget = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget JobVersionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersionListResult JobExecutionListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult - JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule JobTargetGroupListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult DatabaseVulnerabilityAssessmentRuleBaselineItem = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaselineItem JobStepListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepListResult @@ -305,121 +302,124 @@ module Models ServerDnsAliasListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAliasListResult JobStepOutput = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutput ImportExportDatabaseDefinition = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition - JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions ExtendedDatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy - ExtendedServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy + JobStepExecutionOptions = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions ServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy - DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy - ImportExportOperationResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult + ExtendedServerBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy DatabaseVulnerabilityAssessmentRuleBaseline = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline + JobListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + ImportExportOperationResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult DataWarehouseUserActivities = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities + JobSchedule = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution JobAgent = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent JobCredential = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential - JobExecution = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution - Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + JobVersion = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion JobStep = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep JobTargetGroup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup - JobVersion = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion - LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup - BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy - ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase - RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint SensitivityLabel = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabel + RestorePointListResult = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult + ManagedDatabase = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase + ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy ServerAutomaticTuning = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning + LongTermRetentionBackup = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup ServerDnsAlias = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias - ServerSecurityAlertPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy - BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState JobAgentState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState JobExecutionLifecycle = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionLifecycle ProvisioningState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState - JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType - JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType JobStepActionType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType JobStepActionSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource - JobStepOutputType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType - JobTargetGroupMembershipType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType + JobTargetType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType + Job = Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job ManagedDatabaseStatus = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus ManagedDatabaseCreateMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode - RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType + JobStepOutputType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType + JobTargetGroupMembershipType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType + JobScheduleType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType + VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName AutomaticTuningServerMode = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode - AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired - AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual AutomaticTuningServerReason = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason - SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState LongTermRetentionDatabaseState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState - VulnerabilityAssessmentPolicyBaselineName = Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + RestorePointType = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType + SecurityAlertPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState SensitivityLabelSource = Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelSource - ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolEditionCapability - ServiceObjectiveCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServiceObjectiveCapability + BackupLongTermRetentionPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + DatabaseBlobAuditingPolicy = Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + RestorePoint = Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint + BlobAuditingPolicyState = Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + AutomaticTuningOptionModeDesired = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired + AutomaticTuningOptionModeActual = Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual + Sku = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku + SampleName = Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName + ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ResourceMoveDefinition DatabaseOperationListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperationListResult - EditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::EditionCapability - Resource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource - ElasticPoolPerDatabaseMinPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMinPerformanceLevelCapability - BackupShortTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult - ElasticPoolPerDatabaseMaxPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability VulnerabilityAssessmentRecurringScansProperties = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties - ElasticPoolPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerformanceLevelCapability - VulnerabilityAssessmentScanError = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanError - InstanceFailoverGroupReadOnlyEndpoint = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReadOnlyEndpoint - VulnerabilityAssessmentScanRecordListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecordListResult - ServerVersionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServerVersionCapability - MaxSizeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability - ManagedInstanceVcoresCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVcoresCapability - MaxSizeRangeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeRangeCapability + ElasticPoolState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolState + TrackedResource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::TrackedResource + ProxyResource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ProxyResource + DatabaseOperation = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperation + DatabaseVulnerabilityAssessment = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessment + MaxSizeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability + EditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::EditionCapability + ManagementOperationState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState + DatabaseStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus + ElasticPoolListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolListResult + ElasticPoolEditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolEditionCapability + LocationCapabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LocationCapabilities + CatalogCollationType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType + ElasticPoolPerDatabaseMinPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMinPerformanceLevelCapability + BackupShortTermRetentionPolicyListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicyListResult + ElasticPoolPerDatabaseMaxPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability + ElasticPoolPerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerformanceLevelCapability + VulnerabilityAssessmentScanError = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanError + InstanceFailoverGroupReadOnlyEndpoint = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReadOnlyEndpoint + VulnerabilityAssessmentScanRecordListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecordListResult + ServerVersionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServerVersionCapability + ManagedInstanceVcoresCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVcoresCapability + MaxSizeRangeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeRangeCapability ManagedInstanceFamilyCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceFamilyCapability - Sku = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku ManagedInstanceEditionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceEditionCapability - ManagedInstanceVersionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVersionCapability + ServiceObjectiveCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServiceObjectiveCapability ElasticPoolOperationListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolOperationListResult - LocationCapabilities = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LocationCapabilities - ManagedInstancePairInfo = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstancePairInfo + ManagedInstanceVersionCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVersionCapability InstanceFailoverGroupReadWriteEndpoint = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReadWriteEndpoint LogSizeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeCapability - DatabaseListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseListResult LicenseTypeCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LicenseTypeCapability - DatabaseUpdate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseUpdate - InstanceFailoverGroupListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupListResult - ResourceMoveDefinition = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ResourceMoveDefinition PerformanceLevelCapability = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelCapability - ElasticPoolPerDatabaseSettings = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseSettings + ManagedInstancePairInfo = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstancePairInfo + InstanceFailoverGroupListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupListResult PartnerRegionInfo = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PartnerRegionInfo - ElasticPoolUpdate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolUpdate - ElasticPoolListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolListResult - ProxyResource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ProxyResource - DatabaseOperation = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperation - TrackedResource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::TrackedResource ElasticPoolOperation = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolOperation - DatabaseVulnerabilityAssessment = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessment VulnerabilityAssessmentScanRecord = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecord DatabaseVulnerabilityAssessmentScansExport = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessmentScansExport - Database = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Database - ElasticPool = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPool - InstanceFailoverGroup = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroup + DatabaseListResult = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseListResult BackupShortTermRetentionPolicy = Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicy - TdeCertificate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::TdeCertificate - ManagementOperationState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState + InstanceFailoverGroup = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroup VulnerabilityAssessmentScanTriggerType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanTriggerType - VulnerabilityAssessmentScanState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanState + ElasticPoolPerDatabaseSettings = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseSettings MaxSizeUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeUnit + Resource = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource + TdeCertificate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::TdeCertificate + Database = Azure::SQL::Mgmt::V2017_10_01_preview::Models::Database + DatabaseUpdate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseUpdate + DatabaseReadScale = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseReadScale LogSizeUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeUnit - CapabilityStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus - PerformanceLevelUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit - CreateMode = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CreateMode - SampleName = Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName - DatabaseStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus - CatalogCollationType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType DatabaseLicenseType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseLicenseType - DatabaseReadScale = Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseReadScale - ElasticPoolState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolState + VulnerabilityAssessmentScanState = Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanState + ElasticPool = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPool + ElasticPoolUpdate = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolUpdate + CapabilityGroup = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityGroup ElasticPoolLicenseType = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolLicenseType + InstanceFailoverGroupReplicationRole = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReplicationRole ReadWriteEndpointFailoverPolicy = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ReadWriteEndpointFailoverPolicy ReadOnlyEndpointFailoverPolicy = Azure::SQL::Mgmt::V2017_10_01_preview::Models::ReadOnlyEndpointFailoverPolicy - InstanceFailoverGroupReplicationRole = Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReplicationRole - CapabilityGroup = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityGroup + CapabilityStatus = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus + PerformanceLevelUnit = Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit + CreateMode = Azure::SQL::Mgmt::V2017_10_01_preview::Models::CreateMode end class SQLManagementClass - attr_reader :backup_long_term_retention_vaults, :recoverable_databases, :restorable_dropped_databases, :server_connection_policies, :database_threat_detection_policies, :data_masking_policies, :data_masking_rules, :transparent_data_encryption_configurations, :extensions, :disaster_recovery_configurations, :geo_backup_policies, :queries, :query_statistics, :query_texts, :recommended_elastic_pools, :replication_links, :server_azure_adadministrators, :server_communication_links, :service_objectives, :elastic_pool_activities, :elastic_pool_database_activities, :service_tier_advisors, :transparent_data_encryptions, :transparent_data_encryption_activities, :server_table_auditing_policies, :database_table_auditing_policies, :database_connection_policies, :server_usages, :database_usages, :database_advisors, :database_recommended_actions, :server_advisors, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :firewall_rules, :managed_instances, :operations, :server_keys, :servers, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :virtual_network_rules, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :jobs, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :backup_long_term_retention_policies, :managed_databases, :restore_points, :sensitivity_labels, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :database_operations, :elastic_pool_operations, :database_vulnerability_assessment_scans, :capabilities, :databases, :elastic_pools, :instance_failover_groups, :backup_short_term_retention_policies, :tde_certificates, :managed_instance_tde_certificates, :configurable, :base_url, :options, :model_classes + attr_reader :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, :query_statistics, :query_texts, :queries, :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, :server_usages, :backup_long_term_retention_vaults, :recoverable_databases, :firewall_rules, :operations, :servers, :database_recommended_actions, :database_automatic_tuning_operations, :encryption_protectors, :failover_groups, :managed_instances, :server_keys, :sync_agents, :sync_groups, :sync_members, :subscription_usages, :server_advisors, :database_advisors, :virtual_network_rules, :server_automatic_tuning_operations, :server_dns_aliases, :server_security_alert_policies, :restore_points, :extended_database_blob_auditing_policies, :extended_server_blob_auditing_policies, :server_blob_auditing_policies, :database_vulnerability_assessment_rule_baselines, :database_vulnerability_assessments, :data_warehouse_user_activities_operations, :job_agents, :job_credentials, :job_executions, :database_blob_auditing_policies, :job_step_executions, :job_steps, :job_target_executions, :job_target_groups, :job_versions, :long_term_retention_backups, :jobs, :backup_long_term_retention_policies, :managed_databases, :sensitivity_labels, :databases, :backup_short_term_retention_policies, :elastic_pools, :database_operations, :elastic_pool_operations, :database_vulnerability_assessment_scans, :instance_failover_groups, :capabilities, :tde_certificates, :managed_instance_tde_certificates, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -429,8 +429,6 @@ 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 - @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 @@ -440,9 +438,9 @@ def initialize(configurable, base_url=nil, options=nil) @extensions = @client_0.extensions @disaster_recovery_configurations = @client_0.disaster_recovery_configurations @geo_backup_policies = @client_0.geo_backup_policies - @queries = @client_0.queries @query_statistics = @client_0.query_statistics @query_texts = @client_0.query_texts + @queries = @client_0.queries @recommended_elastic_pools = @client_0.recommended_elastic_pools @replication_links = @client_0.replication_links @server_azure_adadministrators = @client_0.server_azure_adadministrators @@ -452,33 +450,35 @@ def initialize(configurable, base_url=nil, options=nil) @elastic_pool_database_activities = @client_0.elastic_pool_database_activities @service_tier_advisors = @client_0.service_tier_advisors @transparent_data_encryptions = @client_0.transparent_data_encryptions - @transparent_data_encryption_activities = @client_0.transparent_data_encryption_activities @server_table_auditing_policies = @client_0.server_table_auditing_policies - @database_table_auditing_policies = @client_0.database_table_auditing_policies + @transparent_data_encryption_activities = @client_0.transparent_data_encryption_activities @database_connection_policies = @client_0.database_connection_policies - @server_usages = @client_0.server_usages + @database_table_auditing_policies = @client_0.database_table_auditing_policies @database_usages = @client_0.database_usages + @server_usages = @client_0.server_usages + @backup_long_term_retention_vaults = @client_0.backup_long_term_retention_vaults + @recoverable_databases = @client_0.recoverable_databases @client_1 = Azure::SQL::Mgmt::V2015_05_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) if(@client_1.respond_to?(:subscription_id)) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @database_advisors = @client_1.database_advisors + @firewall_rules = @client_1.firewall_rules + @operations = @client_1.operations + @servers = @client_1.servers @database_recommended_actions = @client_1.database_recommended_actions - @server_advisors = @client_1.server_advisors @database_automatic_tuning_operations = @client_1.database_automatic_tuning_operations @encryption_protectors = @client_1.encryption_protectors @failover_groups = @client_1.failover_groups - @firewall_rules = @client_1.firewall_rules @managed_instances = @client_1.managed_instances - @operations = @client_1.operations @server_keys = @client_1.server_keys - @servers = @client_1.servers @sync_agents = @client_1.sync_agents @sync_groups = @client_1.sync_groups @sync_members = @client_1.sync_members @subscription_usages = @client_1.subscription_usages + @server_advisors = @client_1.server_advisors + @database_advisors = @client_1.database_advisors @virtual_network_rules = @client_1.virtual_network_rules @client_2 = Azure::SQL::Mgmt::V2017_03_01_preview::SqlManagementClient.new(configurable.credentials, base_url, options) @@ -486,44 +486,44 @@ def initialize(configurable, base_url=nil, options=nil) @client_2.subscription_id = configurable.subscription_id end add_telemetry(@client_2) + @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations + @server_dns_aliases = @client_2.server_dns_aliases + @server_security_alert_policies = @client_2.server_security_alert_policies + @restore_points = @client_2.restore_points @extended_database_blob_auditing_policies = @client_2.extended_database_blob_auditing_policies @extended_server_blob_auditing_policies = @client_2.extended_server_blob_auditing_policies @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 - @jobs = @client_2.jobs + @database_blob_auditing_policies = @client_2.database_blob_auditing_policies @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 + @jobs = @client_2.jobs @backup_long_term_retention_policies = @client_2.backup_long_term_retention_policies @managed_databases = @client_2.managed_databases - @restore_points = @client_2.restore_points @sensitivity_labels = @client_2.sensitivity_labels - @server_automatic_tuning_operations = @client_2.server_automatic_tuning_operations - @server_dns_aliases = @client_2.server_dns_aliases - @server_security_alert_policies = @client_2.server_security_alert_policies @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) + @databases = @client_3.databases + @backup_short_term_retention_policies = @client_3.backup_short_term_retention_policies + @elastic_pools = @client_3.elastic_pools @database_operations = @client_3.database_operations @elastic_pool_operations = @client_3.elastic_pool_operations @database_vulnerability_assessment_scans = @client_3.database_vulnerability_assessment_scans - @capabilities = @client_3.capabilities - @databases = @client_3.databases - @elastic_pools = @client_3.elastic_pools @instance_failover_groups = @client_3.instance_failover_groups - @backup_short_term_retention_policies = @client_3.backup_short_term_retention_policies + @capabilities = @client_3.capabilities @tde_certificates = @client_3.tde_certificates @managed_instance_tde_certificates = @client_3.managed_instance_tde_certificates @@ -550,9 +550,120 @@ def method_missing(method, *args) end class ModelClasses + def max_size_units + Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits + end + def check_name_availability_reason + Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason + end + def server_connection_type + Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType + end + def database_edition + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition + end + def service_objective_name + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName + end + def transparent_data_encryption_status + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus + end + def recommended_index_action + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction + end + def recommended_index_state + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState + end + def recommended_index_type + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType + end + def read_scale + Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale + end + def security_alert_policy_email_account_admins + Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins + end + def security_alert_policy_use_server_default + Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault + end + def data_masking_state + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState + end + def data_masking_rule_state + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState + end + def data_masking_function + Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingFunction + end + def disaster_recovery_configuration_status + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationStatus + end + def disaster_recovery_configuration_auto_failover + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover + end + def disaster_recovery_configuration_failover_policy + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy + end + def disaster_recovery_configuration_role + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole + end + def elastic_pool_edition + Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition + end + def authentication_type + Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType + end + def geo_backup_policy_state + Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState + end + def check_name_availability_request + Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest + end + def query_aggregation_function + Azure::SQL::Mgmt::V2014_04_01::Models::QueryAggregationFunction + end + def primary_aggregation_type + Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + end + def unit_definition_type + Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType + end + def storage_key_type + Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType + 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 server_version + Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion + end + def replication_state + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState + 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 replication_role + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole + end def metric_value Azure::SQL::Mgmt::V2014_04_01::Models::MetricValue end + def metric_name + Azure::SQL::Mgmt::V2014_04_01::Models::MetricName + end + def unit_type + Azure::SQL::Mgmt::V2014_04_01::Models::UnitType + end def service_objective_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveListResult end @@ -637,107 +748,98 @@ def query_text_list_result def backup_long_term_retention_vault_list_result Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVaultListResult end - def metric_name - Azure::SQL::Mgmt::V2014_04_01::Models::MetricName - end def restorable_dropped_database_list_result Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabaseListResult end - def metric - Azure::SQL::Mgmt::V2014_04_01::Models::Metric - end def elastic_pool_per_database_min_dtu_capability Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolPerDatabaseMinDtuCapability end def metric_list_result Azure::SQL::Mgmt::V2014_04_01::Models::MetricListResult end - def metric_availability - Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability - end def server_table_auditing_policy_list_result Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicyListResult end - def metric_definition - Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition - end def operation_impact Azure::SQL::Mgmt::V2014_04_01::Models::OperationImpact end + def metric_definition + Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinition + end def metric_definition_list_result Azure::SQL::Mgmt::V2014_04_01::Models::MetricDefinitionListResult end def backup_long_term_retention_policy_list_result Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyListResult end - def check_name_availability_request - Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityRequest - end def query_metric Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetric end - def service_tier_advisor_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult - end def query_interval Azure::SQL::Mgmt::V2014_04_01::Models::QueryInterval end def recoverable_database_list_result Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabaseListResult end + def service_tier_advisor_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisorListResult + end def query_statistic Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatistic end - def database_table_auditing_policy_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult - end def top_queries Azure::SQL::Mgmt::V2014_04_01::Models::TopQueries end def elastic_pool_dtu_capability Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDtuCapability end - def top_queries_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult + def database_table_auditing_policy_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseTableAuditingPolicyListResult end - def advisor_list_result - Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + def top_queries_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::TopQueriesListResult end def query_statistic_list_result Azure::SQL::Mgmt::V2014_04_01::Models::QueryStatisticListResult end + def advisor_list_result + Azure::SQL::Mgmt::V2014_04_01::Models::AdvisorListResult + end def backup_long_term_retention_vault Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionVault end - def recoverable_database - Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase - end - def restorable_dropped_database - Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase + def metric + Azure::SQL::Mgmt::V2014_04_01::Models::Metric end def server_connection_policy Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionPolicy end + def recoverable_database + Azure::SQL::Mgmt::V2014_04_01::Models::RecoverableDatabase + end def service_tier_advisor Azure::SQL::Mgmt::V2014_04_01::Models::ServiceTierAdvisor end - def transparent_data_encryption - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption - end def recommended_index Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndex end + def restorable_dropped_database + Azure::SQL::Mgmt::V2014_04_01::Models::RestorableDroppedDatabase + end def database_security_alert_policy Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseSecurityAlertPolicy end def data_masking_policy Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy end + def transparent_data_encryption + Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryption + end def data_masking_rule Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRule end - def disaster_recovery_configuration - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration + def metric_availability + Azure::SQL::Mgmt::V2014_04_01::Models::MetricAvailability end def geo_backup_policy Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicy @@ -745,20 +847,23 @@ def geo_backup_policy def import_export_response Azure::SQL::Mgmt::V2014_04_01::Models::ImportExportResponse end + def recommended_elastic_pool + Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool + end def import_request Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest end - def recommended_elastic_pool - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedElasticPool + def disaster_recovery_configuration + Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfiguration end - def replication_link - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink + def server_communication_link + Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink end def server_azure_adadministrator Azure::SQL::Mgmt::V2014_04_01::Models::ServerAzureADAdministrator end - def server_communication_link - Azure::SQL::Mgmt::V2014_04_01::Models::ServerCommunicationLink + def replication_link + Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationLink end def service_objective Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjective @@ -784,123 +889,48 @@ def server_table_auditing_policy def backup_long_term_retention_policy_state Azure::SQL::Mgmt::V2014_04_01::Models::BackupLongTermRetentionPolicyState end - def max_size_units - Azure::SQL::Mgmt::V2014_04_01::Models::MaxSizeUnits - end - def check_name_availability_reason - Azure::SQL::Mgmt::V2014_04_01::Models::CheckNameAvailabilityReason - end - def server_connection_type - Azure::SQL::Mgmt::V2014_04_01::Models::ServerConnectionType - end - def database_edition - Azure::SQL::Mgmt::V2014_04_01::Models::DatabaseEdition - end - def service_objective_name - Azure::SQL::Mgmt::V2014_04_01::Models::ServiceObjectiveName - end - def transparent_data_encryption_status - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionStatus - end - def recommended_index_action - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexAction - end - def recommended_index_state - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexState - end - def recommended_index_type - Azure::SQL::Mgmt::V2014_04_01::Models::RecommendedIndexType - end - def read_scale - Azure::SQL::Mgmt::V2014_04_01::Models::ReadScale - end - def security_alert_policy_email_account_admins - Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyEmailAccountAdmins - end - def security_alert_policy_use_server_default - Azure::SQL::Mgmt::V2014_04_01::Models::SecurityAlertPolicyUseServerDefault - end - def data_masking_state - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingState - end - def data_masking_rule_state - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingRuleState - end - def data_masking_function - Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingFunction - end - def disaster_recovery_configuration_status - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationStatus - end - def disaster_recovery_configuration_auto_failover - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationAutoFailover - end - def disaster_recovery_configuration_failover_policy - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationFailoverPolicy - end - def disaster_recovery_configuration_role - Azure::SQL::Mgmt::V2014_04_01::Models::DisasterRecoveryConfigurationRole - end - def elastic_pool_edition - Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolEdition - end - def geo_backup_policy_state - Azure::SQL::Mgmt::V2014_04_01::Models::GeoBackupPolicyState - end - def storage_key_type - Azure::SQL::Mgmt::V2014_04_01::Models::StorageKeyType - end - def authentication_type - Azure::SQL::Mgmt::V2014_04_01::Models::AuthenticationType - end - def unit_type - Azure::SQL::Mgmt::V2014_04_01::Models::UnitType - end - def primary_aggregation_type - Azure::SQL::Mgmt::V2014_04_01::Models::PrimaryAggregationType + def auto_execute_status + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus end - def unit_definition_type - Azure::SQL::Mgmt::V2014_04_01::Models::UnitDefinitionType + def virtual_network_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule end - def query_aggregation_function - Azure::SQL::Mgmt::V2014_04_01::Models::QueryAggregationFunction + def server_key_type + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType end - def query_execution_type - Azure::SQL::Mgmt::V2014_04_01::Models::QueryExecutionType + def automatic_tuning_disabled_reason + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason end - def query_observed_metric_type - Azure::SQL::Mgmt::V2014_04_01::Models::QueryObservedMetricType + def sync_member_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState end - def query_metric_unit - Azure::SQL::Mgmt::V2014_04_01::Models::QueryMetricUnit + def virtual_network_rule_state + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState end - def replication_role - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationRole + def operation_display + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay end - def replication_state - Azure::SQL::Mgmt::V2014_04_01::Models::ReplicationState + def operation + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation end - def server_version - Azure::SQL::Mgmt::V2014_04_01::Models::ServerVersion + def operation_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult end - def server_state - Azure::SQL::Mgmt::V2014_04_01::Models::ServerState + def firewall_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult end - def transparent_data_encryption_activity_status - Azure::SQL::Mgmt::V2014_04_01::Models::TransparentDataEncryptionActivityStatus + def firewall_rule + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule end - def operation_display - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationDisplay + def operation_origin + Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin end - def operation - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Operation + def server_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult end def recommended_action_implementation_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImplementationInfo end - def operation_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationListResult - end def recommended_action_impact_record Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionImpactRecord end @@ -958,30 +988,18 @@ def recommended_action_metric_info def sync_full_schema_properties_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaPropertiesListResult end - def firewall_rule_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRuleListResult - end def server_key_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyListResult end - def virtual_network_rule_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult - end def sync_group_log_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroupLogListResult end - def server_list_result - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerListResult + def virtual_network_rule_list_result + Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleListResult end def partner_info Azure::SQL::Mgmt::V2015_05_01_preview::Models::PartnerInfo end - def server_update - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate - end - def resource_with_writable_name - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName - end def subscription_usage_list_result Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsageListResult end @@ -997,6 +1015,9 @@ def failover_group_read_write_endpoint def sync_agent_key_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentKeyProperties end + def resource_with_writable_name + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ResourceWithWritableName + end def sync_full_schema_properties Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncFullSchemaProperties end @@ -1018,23 +1039,23 @@ def sync_database_id_properties def recommended_action Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedAction end - def advisor - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor - end def database_automatic_tuning Azure::SQL::Mgmt::V2015_05_01_preview::Models::DatabaseAutomaticTuning end def encryption_protector Azure::SQL::Mgmt::V2015_05_01_preview::Models::EncryptionProtector end - def failover_group - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup + def advisor + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Advisor end def proxy_resource_with_writable_name Azure::SQL::Mgmt::V2015_05_01_preview::Models::ProxyResourceWithWritableName end - def firewall_rule - Azure::SQL::Mgmt::V2015_05_01_preview::Models::FirewallRule + def failover_group + Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroup + end + def sync_agent + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent end def managed_instance Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance @@ -1042,41 +1063,23 @@ def managed_instance def server_key Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKey end - def server - Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server - end - def sync_agent - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgent - end - def sync_agent_linked_database - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase - end def sync_group Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncGroup end - def sync_member - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember + def sync_agent_linked_database + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentLinkedDatabase end def subscription_usage Azure::SQL::Mgmt::V2015_05_01_preview::Models::SubscriptionUsage end - def virtual_network_rule - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRule - end - def advisor_status - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus - end - def auto_execute_status - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatus - end - def auto_execute_status_inherited_from - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom + def sync_member + Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMember end def recommended_action_current_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionCurrentState end - def recommended_action_initiated_by - Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy + def auto_execute_status_inherited_from + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutoExecuteStatusInheritedFrom end def implementation_method Azure::SQL::Mgmt::V2015_05_01_preview::Models::ImplementationMethod @@ -1087,11 +1090,14 @@ def is_retryable def automatic_tuning_mode Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningMode end - def automatic_tuning_disabled_reason - Azure::SQL::Mgmt::V2015_05_01_preview::Models::AutomaticTuningDisabledReason + def server + Azure::SQL::Mgmt::V2015_05_01_preview::Models::Server end - def server_key_type - Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerKeyType + def server_update + Azure::SQL::Mgmt::V2015_05_01_preview::Models::ServerUpdate + end + def recommended_action_initiated_by + Azure::SQL::Mgmt::V2015_05_01_preview::Models::RecommendedActionInitiatedBy end def failover_group_replication_role Azure::SQL::Mgmt::V2015_05_01_preview::Models::FailoverGroupReplicationRole @@ -1099,9 +1105,6 @@ def failover_group_replication_role def identity_type Azure::SQL::Mgmt::V2015_05_01_preview::Models::IdentityType end - def operation_origin - Azure::SQL::Mgmt::V2015_05_01_preview::Models::OperationOrigin - end def sync_agent_state Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncAgentState end @@ -1120,14 +1123,8 @@ def sync_group_state def sync_direction Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncDirection end - def sync_member_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::SyncMemberState - end - def virtual_network_rule_state - Azure::SQL::Mgmt::V2015_05_01_preview::Models::VirtualNetworkRuleState - end - def job_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult + def advisor_status + Azure::SQL::Mgmt::V2015_05_01_preview::Models::AdvisorStatus end def job_step_action Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepAction @@ -1165,9 +1162,6 @@ def long_term_retention_backup_list_result def job_credential_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredentialListResult end - def restore_point_list_result - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult - end def job_execution_target Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionTarget end @@ -1177,9 +1171,6 @@ def job_version_list_result def job_execution_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecutionListResult end - def job_schedule - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule - end def job_target_group_list_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupListResult end @@ -1201,41 +1192,44 @@ def job_step_output def import_export_database_definition Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportDatabaseDefinition end + def extended_database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy + end def job_step_execution_options Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepExecutionOptions end - def extended_database_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedDatabaseBlobAuditingPolicy + def server_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy end def extended_server_blob_auditing_policy Azure::SQL::Mgmt::V2017_03_01_preview::Models::ExtendedServerBlobAuditingPolicy end - def server_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerBlobAuditingPolicy + def database_vulnerability_assessment_rule_baseline + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline end - def database_blob_auditing_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + def job_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobListResult end def import_export_operation_result Azure::SQL::Mgmt::V2017_03_01_preview::Models::ImportExportOperationResult end - def database_vulnerability_assessment_rule_baseline - Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseVulnerabilityAssessmentRuleBaseline - end def data_warehouse_user_activities Azure::SQL::Mgmt::V2017_03_01_preview::Models::DataWarehouseUserActivities end + def job_schedule + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobSchedule + end + def job_execution + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution + end def job_agent Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgent end def job_credential Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobCredential end - def job_execution - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobExecution - end - def job - Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job + def job_version + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion end def job_step Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep @@ -1243,36 +1237,27 @@ def job_step def job_target_group Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroup end - def job_version - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobVersion - end - def long_term_retention_backup - Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup + def sensitivity_label + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabel end - def backup_long_term_retention_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy + def restore_point_list_result + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointListResult end def managed_database Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabase end - def restore_point - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint - end - def sensitivity_label - Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabel + def server_security_alert_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy end def server_automatic_tuning Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerAutomaticTuning end + def long_term_retention_backup + Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionBackup + end def server_dns_alias Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerDnsAlias end - def server_security_alert_policy - Azure::SQL::Mgmt::V2017_03_01_preview::Models::ServerSecurityAlertPolicy - end - def blob_auditing_policy_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState - end def job_agent_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobAgentState end @@ -1282,23 +1267,17 @@ def job_execution_lifecycle def provisioning_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::ProvisioningState end - def job_target_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType - end - def job_schedule_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType - end def job_step_action_type Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionType end def job_step_action_source Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepActionSource end - def job_step_output_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType + def job_target_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetType end - def job_target_group_membership_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType + def job + Azure::SQL::Mgmt::V2017_03_01_preview::Models::Job end def managed_database_status Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseStatus @@ -1306,47 +1285,107 @@ def managed_database_status def managed_database_create_mode Azure::SQL::Mgmt::V2017_03_01_preview::Models::ManagedDatabaseCreateMode end - def restore_point_type - Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType + def job_step_output_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStepOutputType end - def automatic_tuning_server_mode - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode + def job_target_group_membership_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobTargetGroupMembershipType end - def automatic_tuning_option_mode_desired - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired + def job_schedule_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobScheduleType end - def automatic_tuning_option_mode_actual - Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual + def vulnerability_assessment_policy_baseline_name + Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + end + def automatic_tuning_server_mode + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerMode end def automatic_tuning_server_reason Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningServerReason end - def security_alert_policy_state - Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState - end def long_term_retention_database_state Azure::SQL::Mgmt::V2017_03_01_preview::Models::LongTermRetentionDatabaseState end - def vulnerability_assessment_policy_baseline_name - Azure::SQL::Mgmt::V2017_03_01_preview::Models::VulnerabilityAssessmentPolicyBaselineName + def restore_point_type + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePointType + end + def security_alert_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::SecurityAlertPolicyState end def sensitivity_label_source Azure::SQL::Mgmt::V2017_03_01_preview::Models::SensitivityLabelSource end - def elastic_pool_edition_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolEditionCapability + def backup_long_term_retention_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BackupLongTermRetentionPolicy end - def service_objective_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServiceObjectiveCapability + def database_blob_auditing_policy + Azure::SQL::Mgmt::V2017_03_01_preview::Models::DatabaseBlobAuditingPolicy + end + def restore_point + Azure::SQL::Mgmt::V2017_03_01_preview::Models::RestorePoint + end + def blob_auditing_policy_state + Azure::SQL::Mgmt::V2017_03_01_preview::Models::BlobAuditingPolicyState + end + def automatic_tuning_option_mode_desired + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeDesired + end + def automatic_tuning_option_mode_actual + Azure::SQL::Mgmt::V2017_03_01_preview::Models::AutomaticTuningOptionModeActual + end + def sku + Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku + end + def sample_name + Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName + end + def resource_move_definition + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ResourceMoveDefinition end def database_operation_list_result Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperationListResult end + def vulnerability_assessment_recurring_scans_properties + Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties + end + def elastic_pool_state + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolState + end + def tracked_resource + Azure::SQL::Mgmt::V2017_10_01_preview::Models::TrackedResource + end + def proxy_resource + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ProxyResource + end + def database_operation + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperation + end + def database_vulnerability_assessment + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessment + end + def max_size_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability + end def edition_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::EditionCapability end - def resource - Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource + 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 elastic_pool_list_result + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolListResult + end + def elastic_pool_edition_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolEditionCapability + end + def location_capabilities + Azure::SQL::Mgmt::V2017_10_01_preview::Models::LocationCapabilities + end + def catalog_collation_type + Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType end def elastic_pool_per_database_min_performance_level_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMinPerformanceLevelCapability @@ -1357,9 +1396,6 @@ def backup_short_term_retention_policy_list_result def elastic_pool_per_database_max_performance_level_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability end - def vulnerability_assessment_recurring_scans_properties - Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentRecurringScansProperties - end def elastic_pool_performance_level_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerformanceLevelCapability end @@ -1375,9 +1411,6 @@ def vulnerability_assessment_scan_record_list_result def server_version_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServerVersionCapability end - def max_size_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability - end def managed_instance_vcores_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVcoresCapability end @@ -1387,23 +1420,17 @@ def max_size_range_capability def managed_instance_family_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceFamilyCapability end - def sku - Azure::SQL::Mgmt::V2017_10_01_preview::Models::Sku - end def managed_instance_edition_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceEditionCapability end - def managed_instance_version_capability - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVersionCapability + def service_objective_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ServiceObjectiveCapability end def elastic_pool_operation_list_result Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolOperationListResult end - def location_capabilities - Azure::SQL::Mgmt::V2017_10_01_preview::Models::LocationCapabilities - end - def managed_instance_pair_info - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstancePairInfo + def managed_instance_version_capability + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstanceVersionCapability end def instance_failover_group_read_write_endpoint Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReadWriteEndpoint @@ -1411,128 +1438,101 @@ def instance_failover_group_read_write_endpoint def log_size_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeCapability end - def database_list_result - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseListResult - end def license_type_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::LicenseTypeCapability end - def database_update - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseUpdate - end - def instance_failover_group_list_result - Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupListResult - end - def resource_move_definition - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ResourceMoveDefinition - end def performance_level_capability Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelCapability end - def elastic_pool_per_database_settings - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseSettings + def managed_instance_pair_info + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagedInstancePairInfo + end + def instance_failover_group_list_result + Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupListResult end def partner_region_info Azure::SQL::Mgmt::V2017_10_01_preview::Models::PartnerRegionInfo end - def elastic_pool_update - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolUpdate - end - def elastic_pool_list_result - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolListResult - end - def proxy_resource - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ProxyResource - end - def database_operation - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseOperation - end - def tracked_resource - Azure::SQL::Mgmt::V2017_10_01_preview::Models::TrackedResource - end def elastic_pool_operation Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolOperation end - def database_vulnerability_assessment - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessment - end def vulnerability_assessment_scan_record Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanRecord end def database_vulnerability_assessment_scans_export Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseVulnerabilityAssessmentScansExport end - def database - Azure::SQL::Mgmt::V2017_10_01_preview::Models::Database - end - def elastic_pool - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPool - end - def instance_failover_group - Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroup + def database_list_result + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseListResult end def backup_short_term_retention_policy Azure::SQL::Mgmt::V2017_10_01_preview::Models::BackupShortTermRetentionPolicy end - def tde_certificate - Azure::SQL::Mgmt::V2017_10_01_preview::Models::TdeCertificate - end - def management_operation_state - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ManagementOperationState + def instance_failover_group + Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroup end def vulnerability_assessment_scan_trigger_type Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanTriggerType end - def vulnerability_assessment_scan_state - Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanState + def elastic_pool_per_database_settings + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseSettings end def max_size_unit Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeUnit end - def log_size_unit - Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeUnit - end - def capability_status - Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus + def resource + Azure::SQL::Mgmt::V2017_10_01_preview::Models::Resource end - def performance_level_unit - Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit + def tde_certificate + Azure::SQL::Mgmt::V2017_10_01_preview::Models::TdeCertificate end - def create_mode - Azure::SQL::Mgmt::V2017_10_01_preview::Models::CreateMode + def database + Azure::SQL::Mgmt::V2017_10_01_preview::Models::Database end - def sample_name - Azure::SQL::Mgmt::V2017_10_01_preview::Models::SampleName + def database_update + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseUpdate end - def database_status - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseStatus + def database_read_scale + Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseReadScale end - def catalog_collation_type - Azure::SQL::Mgmt::V2017_10_01_preview::Models::CatalogCollationType + def log_size_unit + Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeUnit end def database_license_type Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseLicenseType end - def database_read_scale - Azure::SQL::Mgmt::V2017_10_01_preview::Models::DatabaseReadScale + def vulnerability_assessment_scan_state + Azure::SQL::Mgmt::V2017_10_01_preview::Models::VulnerabilityAssessmentScanState end - def elastic_pool_state - Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolState + def elastic_pool + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPool + end + def elastic_pool_update + Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolUpdate + end + def capability_group + Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityGroup end def elastic_pool_license_type Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolLicenseType end + def instance_failover_group_replication_role + Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReplicationRole + end def read_write_endpoint_failover_policy Azure::SQL::Mgmt::V2017_10_01_preview::Models::ReadWriteEndpointFailoverPolicy end def read_only_endpoint_failover_policy Azure::SQL::Mgmt::V2017_10_01_preview::Models::ReadOnlyEndpointFailoverPolicy end - def instance_failover_group_replication_role - Azure::SQL::Mgmt::V2017_10_01_preview::Models::InstanceFailoverGroupReplicationRole + def capability_status + Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityStatus end - def capability_group - Azure::SQL::Mgmt::V2017_10_01_preview::Models::CapabilityGroup + def performance_level_unit + Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelUnit + end + def create_mode + Azure::SQL::Mgmt::V2017_10_01_preview::Models::CreateMode 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 624ac06d55..ad310d2e35 100644 --- a/azure_sdk/lib/latest/modules/storage_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storage_profile_module.rb @@ -7,94 +7,94 @@ module Azure::Profiles::Latest module Storage module Mgmt - Operations = Azure::Storage::Mgmt::V2018_07_01::Operations 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 - BlobContainers = Azure::Storage::Mgmt::V2018_07_01::BlobContainers module Models ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter StorageAccountManagementPolicies = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies + LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + Dimension = Azure::Storage::Mgmt::V2018_07_01::Models::Dimension + MetricSpecification = Azure::Storage::Mgmt::V2018_07_01::Models::MetricSpecification + Sku = Azure::Storage::Mgmt::V2018_07_01::Models::Sku + Permissions = Azure::Storage::Mgmt::V2018_07_01::Models::Permissions + TrackedResource = Azure::Storage::Mgmt::V2018_07_01::Models::TrackedResource + ProxyResource = Azure::Storage::Mgmt::V2018_07_01::Models::ProxyResource + AzureEntityResource = Azure::Storage::Mgmt::V2018_07_01::Models::AzureEntityResource + State = Azure::Storage::Mgmt::V2018_07_01::Models::State + Reason = Azure::Storage::Mgmt::V2018_07_01::Models::Reason + ProvisioningState = Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState + StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCheckNameAvailabilityParameters StorageAccountKey = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountKey StorageAccountListResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListResult - Dimension = Azure::Storage::Mgmt::V2018_07_01::Models::Dimension - StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListKeysResult - ServiceSpecification = Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSpecification + Identity = Azure::Storage::Mgmt::V2018_07_01::Models::Identity + EncryptionService = Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionService + Encryption = Azure::Storage::Mgmt::V2018_07_01::Models::Encryption StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountRegenerateKeyParameters - OperationListResult = Azure::Storage::Mgmt::V2018_07_01::Models::OperationListResult - StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountUpdateParameters - SKUCapability = Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability - UsageName = Azure::Storage::Mgmt::V2018_07_01::Models::UsageName - Sku = Azure::Storage::Mgmt::V2018_07_01::Models::Sku - Usage = Azure::Storage::Mgmt::V2018_07_01::Models::Usage - CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_07_01::Models::CheckNameAvailabilityResult + 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 - EncryptionService = Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionService + UsageName = Azure::Storage::Mgmt::V2018_07_01::Models::UsageName + StorageAccount = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccount + SKUCapability = Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability AccountSasParameters = Azure::Storage::Mgmt::V2018_07_01::Models::AccountSasParameters - KeyVaultProperties = Azure::Storage::Mgmt::V2018_07_01::Models::KeyVaultProperties ListAccountSasResponse = Azure::Storage::Mgmt::V2018_07_01::Models::ListAccountSasResponse - VirtualNetworkRule = Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule + KeyVaultProperties = Azure::Storage::Mgmt::V2018_07_01::Models::KeyVaultProperties ServiceSasParameters = Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSasParameters - NetworkRuleSet = Azure::Storage::Mgmt::V2018_07_01::Models::NetworkRuleSet ListServiceSasResponse = Azure::Storage::Mgmt::V2018_07_01::Models::ListServiceSasResponse - StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters - IPRule = Azure::Storage::Mgmt::V2018_07_01::Models::IPRule - LegalHoldProperties = Azure::Storage::Mgmt::V2018_07_01::Models::LegalHoldProperties - OperationDisplay = Azure::Storage::Mgmt::V2018_07_01::Models::OperationDisplay - Identity = Azure::Storage::Mgmt::V2018_07_01::Models::Identity - Operation = Azure::Storage::Mgmt::V2018_07_01::Models::Operation - Endpoints = Azure::Storage::Mgmt::V2018_07_01::Models::Endpoints - Restriction = Azure::Storage::Mgmt::V2018_07_01::Models::Restriction - CustomDomain = Azure::Storage::Mgmt::V2018_07_01::Models::CustomDomain + VirtualNetworkRule = Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule + StorageSkuListResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageSkuListResult ListContainerItems = Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItems - Encryption = Azure::Storage::Mgmt::V2018_07_01::Models::Encryption - Resource = Azure::Storage::Mgmt::V2018_07_01::Models::Resource - StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCheckNameAvailabilityParameters LegalHold = Azure::Storage::Mgmt::V2018_07_01::Models::LegalHold - EncryptionServices = Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionServices + LegalHoldProperties = Azure::Storage::Mgmt::V2018_07_01::Models::LegalHoldProperties + Restriction = Azure::Storage::Mgmt::V2018_07_01::Models::Restriction + TagProperty = Azure::Storage::Mgmt::V2018_07_01::Models::TagProperty UpdateHistoryProperty = Azure::Storage::Mgmt::V2018_07_01::Models::UpdateHistoryProperty - StorageSkuListResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageSkuListResult ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyProperties - MetricSpecification = Azure::Storage::Mgmt::V2018_07_01::Models::MetricSpecification - TagProperty = Azure::Storage::Mgmt::V2018_07_01::Models::TagProperty - StorageAccount = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccount - ProxyResource = Azure::Storage::Mgmt::V2018_07_01::Models::ProxyResource - AzureEntityResource = Azure::Storage::Mgmt::V2018_07_01::Models::AzureEntityResource - TrackedResource = Azure::Storage::Mgmt::V2018_07_01::Models::TrackedResource + AccessTier = Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier BlobContainer = Azure::Storage::Mgmt::V2018_07_01::Models::BlobContainer ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicy ListContainerItem = Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItem + StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters ReasonCode = Azure::Storage::Mgmt::V2018_07_01::Models::ReasonCode - SkuName = Azure::Storage::Mgmt::V2018_07_01::Models::SkuName - SkuTier = Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier + StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountUpdateParameters Kind = Azure::Storage::Mgmt::V2018_07_01::Models::Kind - Reason = Azure::Storage::Mgmt::V2018_07_01::Models::Reason - KeySource = Azure::Storage::Mgmt::V2018_07_01::Models::KeySource - Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action - State = Azure::Storage::Mgmt::V2018_07_01::Models::State + Resource = Azure::Storage::Mgmt::V2018_07_01::Models::Resource Bypass = Azure::Storage::Mgmt::V2018_07_01::Models::Bypass DefaultAction = Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction - AccessTier = Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier - ProvisioningState = Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState + KeySource = Azure::Storage::Mgmt::V2018_07_01::Models::KeySource + StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListKeysResult + SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action AccountStatus = Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus - KeyPermission = Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission + OperationDisplay = Azure::Storage::Mgmt::V2018_07_01::Models::OperationDisplay UsageUnit = Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit + Operation = Azure::Storage::Mgmt::V2018_07_01::Models::Operation Services = Azure::Storage::Mgmt::V2018_07_01::Models::Services - SignedResourceTypes = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes - Permissions = Azure::Storage::Mgmt::V2018_07_01::Models::Permissions - HttpProtocol = Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol - SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + OperationListResult = Azure::Storage::Mgmt::V2018_07_01::Models::OperationListResult PublicAccess = Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess LeaseStatus = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus - LeaseState = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState - LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + SignedResourceTypes = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes + KeyPermission = Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType + CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_07_01::Models::CheckNameAvailabilityResult + LeaseState = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState + SkuTier = Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier + HttpProtocol = Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol + ServiceSpecification = Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSpecification + SkuName = Azure::Storage::Mgmt::V2018_07_01::Models::SkuName + IPRule = Azure::Storage::Mgmt::V2018_07_01::Models::IPRule + NetworkRuleSet = Azure::Storage::Mgmt::V2018_07_01::Models::NetworkRuleSet + Usage = Azure::Storage::Mgmt::V2018_07_01::Models::Usage end class StorageManagementClass - attr_reader :operations, :skus, :storage_accounts, :usages, :blob_containers, :configurable, :base_url, :options, :model_classes + attr_reader :skus, :blob_containers, :operations, :storage_accounts, :usages, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -110,11 +110,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_1.subscription_id = configurable.subscription_id end add_telemetry(@client_1) - @operations = @client_1.operations @skus = @client_1.skus + @blob_containers = @client_1.blob_containers + @operations = @client_1.operations @storage_accounts = @client_1.storage_accounts @usages = @client_1.usages - @blob_containers = @client_1.blob_containers @model_classes = ModelClasses.new end @@ -141,143 +141,125 @@ def management_policies_rules_set_parameter def storage_account_management_policies Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies end + def lease_duration + Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + end + def dimension + Azure::Storage::Mgmt::V2018_07_01::Models::Dimension + end + def metric_specification + Azure::Storage::Mgmt::V2018_07_01::Models::MetricSpecification + end + def sku + Azure::Storage::Mgmt::V2018_07_01::Models::Sku + end + def permissions + Azure::Storage::Mgmt::V2018_07_01::Models::Permissions + end + def tracked_resource + Azure::Storage::Mgmt::V2018_07_01::Models::TrackedResource + end + def proxy_resource + Azure::Storage::Mgmt::V2018_07_01::Models::ProxyResource + end + def azure_entity_resource + Azure::Storage::Mgmt::V2018_07_01::Models::AzureEntityResource + end + def state + Azure::Storage::Mgmt::V2018_07_01::Models::State + end + def reason + Azure::Storage::Mgmt::V2018_07_01::Models::Reason + end + def provisioning_state + Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState + end + def storage_account_check_name_availability_parameters + Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCheckNameAvailabilityParameters + end def storage_account_key Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountKey end def storage_account_list_result Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListResult end - def dimension - Azure::Storage::Mgmt::V2018_07_01::Models::Dimension + def identity + Azure::Storage::Mgmt::V2018_07_01::Models::Identity end - def storage_account_list_keys_result - Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListKeysResult + def encryption_service + Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionService end - def service_specification - Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSpecification + def encryption + Azure::Storage::Mgmt::V2018_07_01::Models::Encryption end def storage_account_regenerate_key_parameters Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountRegenerateKeyParameters end - def operation_list_result - Azure::Storage::Mgmt::V2018_07_01::Models::OperationListResult + def endpoints + Azure::Storage::Mgmt::V2018_07_01::Models::Endpoints end - def storage_account_update_parameters - Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountUpdateParameters + def custom_domain + Azure::Storage::Mgmt::V2018_07_01::Models::CustomDomain end - def skucapability - Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability + 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 sku - Azure::Storage::Mgmt::V2018_07_01::Models::Sku - end - def usage - Azure::Storage::Mgmt::V2018_07_01::Models::Usage - end - def check_name_availability_result - Azure::Storage::Mgmt::V2018_07_01::Models::CheckNameAvailabilityResult - end - def usage_list_result - Azure::Storage::Mgmt::V2018_07_01::Models::UsageListResult + def storage_account + Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccount end - def encryption_service - Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionService + def skucapability + Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability end def account_sas_parameters Azure::Storage::Mgmt::V2018_07_01::Models::AccountSasParameters end - def key_vault_properties - Azure::Storage::Mgmt::V2018_07_01::Models::KeyVaultProperties - end def list_account_sas_response Azure::Storage::Mgmt::V2018_07_01::Models::ListAccountSasResponse end - def virtual_network_rule - Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule + def key_vault_properties + Azure::Storage::Mgmt::V2018_07_01::Models::KeyVaultProperties end def service_sas_parameters Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSasParameters end - def network_rule_set - Azure::Storage::Mgmt::V2018_07_01::Models::NetworkRuleSet - end def list_service_sas_response Azure::Storage::Mgmt::V2018_07_01::Models::ListServiceSasResponse end - def storage_account_create_parameters - Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters - end - def iprule - Azure::Storage::Mgmt::V2018_07_01::Models::IPRule - end - def legal_hold_properties - Azure::Storage::Mgmt::V2018_07_01::Models::LegalHoldProperties - end - def operation_display - Azure::Storage::Mgmt::V2018_07_01::Models::OperationDisplay - end - def identity - Azure::Storage::Mgmt::V2018_07_01::Models::Identity - end - def operation - Azure::Storage::Mgmt::V2018_07_01::Models::Operation - end - def endpoints - Azure::Storage::Mgmt::V2018_07_01::Models::Endpoints - end - def restriction - Azure::Storage::Mgmt::V2018_07_01::Models::Restriction + def virtual_network_rule + Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule end - def custom_domain - Azure::Storage::Mgmt::V2018_07_01::Models::CustomDomain + def storage_sku_list_result + Azure::Storage::Mgmt::V2018_07_01::Models::StorageSkuListResult end def list_container_items Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItems end - def encryption - Azure::Storage::Mgmt::V2018_07_01::Models::Encryption - end - def resource - Azure::Storage::Mgmt::V2018_07_01::Models::Resource - end - def storage_account_check_name_availability_parameters - Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCheckNameAvailabilityParameters - end def legal_hold Azure::Storage::Mgmt::V2018_07_01::Models::LegalHold end - def encryption_services - Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionServices - end - def update_history_property - Azure::Storage::Mgmt::V2018_07_01::Models::UpdateHistoryProperty - end - def storage_sku_list_result - Azure::Storage::Mgmt::V2018_07_01::Models::StorageSkuListResult - end - def immutability_policy_properties - Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyProperties + def legal_hold_properties + Azure::Storage::Mgmt::V2018_07_01::Models::LegalHoldProperties end - def metric_specification - Azure::Storage::Mgmt::V2018_07_01::Models::MetricSpecification + def restriction + Azure::Storage::Mgmt::V2018_07_01::Models::Restriction end def tag_property Azure::Storage::Mgmt::V2018_07_01::Models::TagProperty end - def storage_account - Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccount - end - def proxy_resource - Azure::Storage::Mgmt::V2018_07_01::Models::ProxyResource + def update_history_property + Azure::Storage::Mgmt::V2018_07_01::Models::UpdateHistoryProperty end - def azure_entity_resource - Azure::Storage::Mgmt::V2018_07_01::Models::AzureEntityResource + def immutability_policy_properties + Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyProperties end - def tracked_resource - Azure::Storage::Mgmt::V2018_07_01::Models::TrackedResource + def access_tier + Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier end def blob_container Azure::Storage::Mgmt::V2018_07_01::Models::BlobContainer @@ -288,29 +270,20 @@ def immutability_policy def list_container_item Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItem end + def storage_account_create_parameters + Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters + end def reason_code Azure::Storage::Mgmt::V2018_07_01::Models::ReasonCode end - def sku_name - Azure::Storage::Mgmt::V2018_07_01::Models::SkuName - end - def sku_tier - Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier + def storage_account_update_parameters + Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountUpdateParameters end def kind Azure::Storage::Mgmt::V2018_07_01::Models::Kind end - def reason - Azure::Storage::Mgmt::V2018_07_01::Models::Reason - end - def key_source - Azure::Storage::Mgmt::V2018_07_01::Models::KeySource - end - def action - Azure::Storage::Mgmt::V2018_07_01::Models::Action - end - def state - Azure::Storage::Mgmt::V2018_07_01::Models::State + def resource + Azure::Storage::Mgmt::V2018_07_01::Models::Resource end def bypass Azure::Storage::Mgmt::V2018_07_01::Models::Bypass @@ -318,35 +291,35 @@ def bypass def default_action Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction end - def access_tier - Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier + def key_source + Azure::Storage::Mgmt::V2018_07_01::Models::KeySource end - def provisioning_state - Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState + def storage_account_list_keys_result + Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListKeysResult + end + def signed_resource + Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + end + def action + Azure::Storage::Mgmt::V2018_07_01::Models::Action end def account_status Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus end - def key_permission - Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission + def operation_display + Azure::Storage::Mgmt::V2018_07_01::Models::OperationDisplay end def usage_unit Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit end + def operation + Azure::Storage::Mgmt::V2018_07_01::Models::Operation + end def services Azure::Storage::Mgmt::V2018_07_01::Models::Services end - def signed_resource_types - Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes - end - def permissions - Azure::Storage::Mgmt::V2018_07_01::Models::Permissions - end - def http_protocol - Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol - end - def signed_resource - Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource + def operation_list_result + Azure::Storage::Mgmt::V2018_07_01::Models::OperationListResult end def public_access Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess @@ -354,11 +327,11 @@ def public_access def lease_status Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus end - def lease_state - Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState + def signed_resource_types + Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes end - def lease_duration - Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration + def key_permission + Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission end def immutability_policy_state Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState @@ -366,6 +339,33 @@ def immutability_policy_state def immutability_policy_update_type Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType end + def check_name_availability_result + Azure::Storage::Mgmt::V2018_07_01::Models::CheckNameAvailabilityResult + end + def lease_state + Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState + end + def sku_tier + Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier + end + def http_protocol + Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol + end + def service_specification + Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSpecification + end + def sku_name + Azure::Storage::Mgmt::V2018_07_01::Models::SkuName + end + def iprule + Azure::Storage::Mgmt::V2018_07_01::Models::IPRule + end + def network_rule_set + Azure::Storage::Mgmt::V2018_07_01::Models::NetworkRuleSet + end + def usage + Azure::Storage::Mgmt::V2018_07_01::Models::Usage + end end end end diff --git a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb index 4eea5339b1..4fe731fb3d 100644 --- a/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb +++ b/azure_sdk/lib/latest/modules/storsimple8000series_profile_module.rb @@ -7,24 +7,63 @@ module Azure::Profiles::Latest module StorSimple8000Series module Mgmt - Operations = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Operations - Managers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Managers - AccessControlRecords = Azure::StorSimple8000Series::Mgmt::V2017_06_01::AccessControlRecords - Alerts = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Alerts - BandwidthSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BandwidthSettings - CloudAppliances = Azure::StorSimple8000Series::Mgmt::V2017_06_01::CloudAppliances Devices = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Devices DeviceSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::DeviceSettings - BackupPolicies = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupPolicies BackupSchedules = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupSchedules - Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups HardwareComponentGroups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::HardwareComponentGroups - Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs VolumeContainers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::VolumeContainers Volumes = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Volumes + Operations = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Operations StorageAccountCredentials = Azure::StorSimple8000Series::Mgmt::V2017_06_01::StorageAccountCredentials + BackupPolicies = Azure::StorSimple8000Series::Mgmt::V2017_06_01::BackupPolicies + Backups = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Backups + Jobs = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Jobs + Managers = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Managers + 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 module Models + BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus + DeviceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus + DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek + ControllerId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId + ControllerStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus + AuthorizationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus + InEligibilityCategory = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory + DeviceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType + VirtualMachineApiType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType + AuthorizationEligibility = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility + TargetEligibilityResultCode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode + FeatureSupportStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus + EncryptionStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus + KeyRolloverStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus + TargetEligibilityStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus + NetInterfaceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus + ISCSIAndCloudStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus + HardwareComponentStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus + ManagerType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType + JobStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus + JobType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType + MonitoringStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus + NetworkMode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode + AuthenticationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType + SslStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + NetInterfaceId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId + OperationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus + OwnerShipStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus + RemoteManagementModeConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration + VolumeStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus + BackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + Metrics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics + Job = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + Alert = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert + MetricUnit = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit + MetricAggregationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType + Resource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource + AlertSeverity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity TargetEligibilityResult = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult FailoverTarget = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FailoverTarget AccessControlRecordList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecordList @@ -48,7 +87,6 @@ module Models ScheduleRecurrence = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleRecurrence SymmetricEncryptedSecret = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SymmetricEncryptedSecret NicIPv6 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv6 - Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time AcsConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AcsConfiguration StorageAccountCredentialList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredentialList AlertErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertErrorDetails @@ -64,10 +102,8 @@ module Models NetworkSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettingsPatch NetworkInterfaceData0Settings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkInterfaceData0Settings HardwareComponentGroupList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList - Resource = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource JobErrorItem = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorItem DeviceDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails - JobErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails RemoteManagementSettingsPatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch JobStage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStage DevicePatch = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DevicePatch @@ -96,98 +132,62 @@ module Models AvailableProviderOperationDisplay = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AvailableProviderOperationDisplay MetricData = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricData BackupPolicyList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList + Time = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time + SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings MetricName = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName - ChapSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings MetricDimension = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension - SecondaryDNSSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings - MetricDefinition = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition DeviceList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList - MetricDefinitionList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList + ChapSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings VolumeList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList + MetricDefinition = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition + MetricDefinitionList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList + MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter MetricNameFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter VmImage = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage - MetricFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + MetricList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList AlertFilter = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter - Metrics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics DataStatistics = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics - MetricList = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList + AccessControlRecord = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord BandwidthSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule NicIPv4 = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv4 - AccessControlRecord = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord - Alert = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert + BackupPolicy = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy AlertSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings Backup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup - BackupPolicy = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy - BackupSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule + ConfigureDeviceRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest BandwidthSetting = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting CloudApplianceConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration - ConfigureDeviceRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest + HardwareComponentGroup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup ControllerPowerStateChangeRequest = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest Device = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device - EncryptionSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings - HardwareComponentGroup = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup - Job = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + BackupSchedule = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule Manager = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager ManagerExtendedInfo = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo NetworkSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings - SecuritySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings + JobErrorDetails = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails StorageAccountCredential = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential - TimeSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings + EncryptionSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings Updates = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates - Volume = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume - VolumeContainer = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer + SecuritySettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings AlertScope = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope - AlertSourceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType - AlertSeverity = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity + TimeSettings = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings AlertStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus + VolumeContainer = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer + Volume = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume + AlertSourceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType + ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus AlertEmailNotificationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus - EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType BackupJobCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType VolumeType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType - ScheduledBackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus - BackupPolicyCreationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + BackupType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType + EncryptionAlgorithm = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm RecurrenceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType - DayOfWeek = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek ScheduleStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus - Kind = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind ControllerPowerStateAction = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction - ControllerId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId - ControllerStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus - DeviceConfigurationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus - DeviceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus - DeviceType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType - VirtualMachineApiType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType - AuthorizationEligibility = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility - AuthorizationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus - InEligibilityCategory = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory - EncryptionStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus - KeyRolloverStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus - TargetEligibilityStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus - TargetEligibilityResultCode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode - FeatureSupportStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus - HardwareComponentStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus - JobStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus - JobType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType - ManagerType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType - MetricUnit = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit - MetricAggregationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType - NetInterfaceId = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId - NetInterfaceStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus - ISCSIAndCloudStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus - NetworkMode = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode - AuthenticationType = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType - RemoteManagementModeConfiguration = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration - SslStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus - VolumeStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus - OperationStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus - BackupStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus - MonitoringStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus - OwnerShipStatus = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus + Kind = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind end class StorSimple8000SeriesManagementClass - attr_reader :operations, :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :devices, :device_settings, :backup_policies, :backup_schedules, :backups, :hardware_component_groups, :jobs, :volume_containers, :volumes, :storage_account_credentials, :configurable, :base_url, :options, :model_classes + attr_reader :devices, :device_settings, :backup_schedules, :hardware_component_groups, :volume_containers, :volumes, :operations, :storage_account_credentials, :backup_policies, :backups, :jobs, :managers, :access_control_records, :alerts, :bandwidth_settings, :cloud_appliances, :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) - @operations = @client_0.operations - @managers = @client_0.managers - @access_control_records = @client_0.access_control_records - @alerts = @client_0.alerts - @bandwidth_settings = @client_0.bandwidth_settings - @cloud_appliances = @client_0.cloud_appliances @devices = @client_0.devices @device_settings = @client_0.device_settings - @backup_policies = @client_0.backup_policies @backup_schedules = @client_0.backup_schedules - @backups = @client_0.backups @hardware_component_groups = @client_0.hardware_component_groups - @jobs = @client_0.jobs @volume_containers = @client_0.volume_containers @volumes = @client_0.volumes + @operations = @client_0.operations @storage_account_credentials = @client_0.storage_account_credentials + @backup_policies = @client_0.backup_policies + @backups = @client_0.backups + @jobs = @client_0.jobs + @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 @model_classes = ModelClasses.new end @@ -231,6 +231,123 @@ def method_missing(method, *args) end class ModelClasses + def backup_policy_creation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyCreationType + end + def device_configuration_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus + end + def device_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus + end + def day_of_week + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek + end + def controller_id + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId + end + def controller_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus + end + def authorization_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus + end + def in_eligibility_category + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory + end + def device_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType + end + def virtual_machine_api_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType + end + def authorization_eligibility + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility + end + def target_eligibility_result_code + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode + end + def feature_support_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus + end + def encryption_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus + end + def key_rollover_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus + end + def target_eligibility_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus + end + def net_interface_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus + end + def iscsiand_cloud_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus + end + def hardware_component_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus + end + def manager_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType + end + def job_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus + end + def job_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType + end + def monitoring_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus + end + def network_mode + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode + end + def authentication_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType + end + def ssl_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus + end + def net_interface_id + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId + end + def operation_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus + end + def owner_ship_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus + end + def remote_management_mode_configuration + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration + end + def volume_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus + end + def backup_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus + end + def metrics + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics + end + def job + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + end + def alert + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert + end + def metric_unit + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit + end + def metric_aggregation_type + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType + end + def resource + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource + end + def alert_severity + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity + end def target_eligibility_result Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResult end @@ -300,9 +417,6 @@ def symmetric_encrypted_secret def nic_ipv6 Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv6 end - def time - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time - end def acs_configuration Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AcsConfiguration end @@ -348,18 +462,12 @@ def network_interface_data0_settings def hardware_component_group_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroupList end - def resource - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Resource - end def job_error_item Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorItem end def device_details Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceDetails end - def job_error_details - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails - end def remote_management_settings_patch Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementSettingsPatch end @@ -444,29 +552,35 @@ def metric_data def backup_policy_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicyList end + def time + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Time + end + def secondary_dnssettings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings + end def metric_name Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricName end - def chap_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings - end def metric_dimension Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDimension end - def secondary_dnssettings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecondaryDNSSettings + def device_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList + end + def chap_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ChapSettings + end + def volume_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList end def metric_definition Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinition end - def device_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceList - end def metric_definition_list Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricDefinitionList end - def volume_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeList + def metric_filter + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter end def metric_name_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricNameFilter @@ -474,20 +588,17 @@ def metric_name_filter def vm_image Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VmImage end - def metric_filter - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricFilter + def metric_list + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList end def alert_filter Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertFilter end - def metrics - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Metrics - end def data_statistics Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DataStatistics end - def metric_list - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricList + def access_control_record + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord end def bandwidth_schedule Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSchedule @@ -495,11 +606,8 @@ def bandwidth_schedule def nic_ipv4 Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NicIPv4 end - def access_control_record - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord - end - def alert - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Alert + def backup_policy + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy end def alert_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSettings @@ -507,11 +615,8 @@ def alert_settings def backup Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Backup end - def backup_policy - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy - end - def backup_schedule - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule + def configure_device_request + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest end def bandwidth_setting Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BandwidthSetting @@ -519,8 +624,8 @@ def bandwidth_setting def cloud_appliance_configuration Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::CloudApplianceConfiguration end - def configure_device_request - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ConfigureDeviceRequest + def hardware_component_group + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup end def controller_power_state_change_request Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest @@ -528,14 +633,8 @@ def controller_power_state_change_request def device Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Device end - def encryption_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings - end - def hardware_component_group - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentGroup - end - def job - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Job + def backup_schedule + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupSchedule end def manager Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager @@ -546,167 +645,68 @@ def manager_extended_info def network_settings Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkSettings end - def security_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings + def job_error_details + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobErrorDetails end def storage_account_credential Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::StorageAccountCredential end - def time_settings - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings + def encryption_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionSettings end def updates Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Updates end - def volume - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume + def security_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SecuritySettings + end + def alert_scope + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope + end + def time_settings + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TimeSettings + end + def alert_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus end def volume_container Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer end - def alert_scope - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertScope + def volume + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Volume end def alert_source_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSourceType end - def alert_severity - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertSeverity - end - def alert_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertStatus + def scheduled_backup_status + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus end def alert_email_notification_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AlertEmailNotificationStatus end - def encryption_algorithm - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm - end - def backup_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupType - end def backup_job_creation_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupJobCreationType end def volume_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeType end - def scheduled_backup_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduledBackupStatus + 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 + def encryption_algorithm + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionAlgorithm end def recurrence_type Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RecurrenceType end - def day_of_week - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DayOfWeek - end def schedule_status Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ScheduleStatus end - def kind - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind - end def controller_power_state_action Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateAction end - def controller_id - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerId - end - def controller_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerStatus - end - def device_configuration_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceConfigurationStatus - end - def device_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceStatus - end - def device_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::DeviceType - end - def virtual_machine_api_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VirtualMachineApiType - end - def authorization_eligibility - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationEligibility - end - def authorization_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthorizationStatus - end - def in_eligibility_category - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::InEligibilityCategory - end - def encryption_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::EncryptionStatus - end - def key_rollover_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::KeyRolloverStatus - end - def target_eligibility_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityStatus - end - def target_eligibility_result_code - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::TargetEligibilityResultCode - end - def feature_support_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::FeatureSupportStatus - end - def hardware_component_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::HardwareComponentStatus - end - def job_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobStatus - end - def job_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::JobType - end - def manager_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerType - end - def metric_unit - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricUnit - end - def metric_aggregation_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MetricAggregationType - end - def net_interface_id - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceId - end - def net_interface_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetInterfaceStatus - end - def iscsiand_cloud_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ISCSIAndCloudStatus - end - def network_mode - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::NetworkMode - end - def authentication_type - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AuthenticationType - end - def remote_management_mode_configuration - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::RemoteManagementModeConfiguration - end - def ssl_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SslStatus - end - def volume_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeStatus - end - def operation_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OperationStatus - end - def backup_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupStatus - end - def monitoring_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::MonitoringStatus - end - def owner_ship_status - Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::OwnerShipStatus + def kind + Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Kind end end end diff --git a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb index f6c5f72855..b64084b5b0 100644 --- a/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/streamanalytics_profile_module.rb @@ -7,25 +7,22 @@ module Azure::Profiles::Latest module StreamAnalytics module Mgmt - Operations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Operations StreamingJobs = Azure::StreamAnalytics::Mgmt::V2016_03_01::StreamingJobs Inputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Inputs Outputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Outputs Transformations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Transformations + Operations = Azure::StreamAnalytics::Mgmt::V2016_03_01::Operations Functions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Functions Subscriptions = Azure::StreamAnalytics::Mgmt::V2016_03_01::Subscriptions module Models + Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku + ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse AzureMachineLearningWebServiceInputColumn = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn - OperationDisplay = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay AzureMachineLearningWebServiceInputs = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs - OperationListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult ReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource - Serialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization FunctionBinding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding - Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics FunctionOutput = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput - Sku = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku DiagnosticCondition = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition OutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputDataSource InputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::InputProperties @@ -36,9 +33,6 @@ module Models StartStreamingJobParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StartStreamingJobParameters BlobDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobDataSourceProperties FunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters - SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource - Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation - StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount AzureSqlDatabaseDataSourceProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties StreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputDataSource StreamingJobListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamingJobListResult @@ -46,9 +40,7 @@ module Models 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 - ErrorResponse = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse SubscriptionQuotasListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult - Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource FunctionListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult Input = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Input Transformation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Transformation @@ -59,6 +51,7 @@ 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 + Serialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization JsonSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization CsvSerialization = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CsvSerialization AzureDataLakeStoreOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureDataLakeStoreOutputDataSource @@ -70,28 +63,35 @@ module Models AzureSqlDatabaseOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseOutputDataSource EventHubOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubOutputDataSource AzureTableOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource - BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource + StorageAccount = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount BlobReferenceInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource - ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties + BlobOutputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource IoTHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource - EventHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource + ReferenceInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties BlobStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource - StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties + EventHubStreamInputDataSource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters - JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters + StreamInputProperties = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties SubscriptionQuota = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota - SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName - OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode + JavaScriptFunctionRetrieveDefaultDefinitionParameters = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters EventsOutOfOrderPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy - OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy + OutputStartMode = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode CompatibilityLevel = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel + OutputErrorPolicy = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy + UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType JsonOutputSerializationFormat = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat Encoding = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding - UdfType = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType + Diagnostics = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics + Resource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + OperationDisplay = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay + Operation = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation + OperationListResult = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult + SubResource = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource + SkuName = Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName end class StreamAnalyticsManagementClass - attr_reader :operations, :streaming_jobs, :inputs, :outputs, :transformations, :functions, :subscriptions, :configurable, :base_url, :options, :model_classes + attr_reader :streaming_jobs, :inputs, :outputs, :transformations, :operations, :functions, :subscriptions, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -101,11 +101,11 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @streaming_jobs = @client_0.streaming_jobs @inputs = @client_0.inputs @outputs = @client_0.outputs @transformations = @client_0.transformations + @operations = @client_0.operations @functions = @client_0.functions @subscriptions = @client_0.subscriptions @@ -126,36 +126,27 @@ def method_missing(method, *args) end class ModelClasses + def sku + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku + end + def error_response + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse + end def azure_machine_learning_web_service_input_column Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputColumn end - def operation_display - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay - end def azure_machine_learning_web_service_inputs Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceInputs end - def operation_list_result - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult - end def reference_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputDataSource end - def serialization - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization - end def function_binding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionBinding end - def diagnostics - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics - end def function_output Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionOutput end - def sku - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Sku - end def diagnostic_condition Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::DiagnosticCondition end @@ -186,15 +177,6 @@ def blob_data_source_properties def function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionRetrieveDefaultDefinitionParameters end - def sub_resource - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource - end - def operation - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation - end - def storage_account - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount - end def azure_sql_database_data_source_properties Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureSqlDatabaseDataSourceProperties end @@ -216,15 +198,9 @@ def oauth_based_data_source_properties def resource_test_status Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ResourceTestStatus end - def error_response - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ErrorResponse - end def subscription_quotas_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuotasListResult end - def resource - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource - end def function_list_result Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::FunctionListResult end @@ -255,6 +231,9 @@ def scalar_function_properties def avro_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AvroSerialization end + def serialization + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Serialization + end def json_serialization Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonSerialization end @@ -288,50 +267,53 @@ def event_hub_output_data_source def azure_table_output_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureTableOutputDataSource end - def blob_output_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource + def storage_account + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StorageAccount end def blob_reference_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobReferenceInputDataSource end - def reference_input_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties + def blob_output_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobOutputDataSource end def io_thub_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::IoTHubStreamInputDataSource end - def event_hub_stream_input_data_source - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource + def reference_input_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::ReferenceInputProperties end def blob_stream_input_data_source Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::BlobStreamInputDataSource end - def stream_input_properties - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties + def event_hub_stream_input_data_source + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventHubStreamInputDataSource end def azure_machine_learning_web_service_function_retrieve_default_definition_parameters Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::AzureMachineLearningWebServiceFunctionRetrieveDefaultDefinitionParameters end - def java_script_function_retrieve_default_definition_parameters - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters + def stream_input_properties + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::StreamInputProperties end def subscription_quota Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubscriptionQuota end - def sku_name - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName + def java_script_function_retrieve_default_definition_parameters + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JavaScriptFunctionRetrieveDefaultDefinitionParameters + end + def events_out_of_order_policy + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy end def output_start_mode Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputStartMode end - def events_out_of_order_policy - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::EventsOutOfOrderPolicy + def compatibility_level + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel end def output_error_policy Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OutputErrorPolicy end - def compatibility_level - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::CompatibilityLevel + def udf_type + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType end def json_output_serialization_format Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::JsonOutputSerializationFormat @@ -339,8 +321,26 @@ def json_output_serialization_format def encoding Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Encoding end - def udf_type - Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::UdfType + def diagnostics + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Diagnostics + end + def resource + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Resource + end + def operation_display + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationDisplay + end + def operation + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::Operation + end + def operation_list_result + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::OperationListResult + end + def sub_resource + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SubResource + end + def sku_name + Azure::StreamAnalytics::Mgmt::V2016_03_01::Models::SkuName end end end diff --git a/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb b/azure_sdk/lib/latest/modules/subscriptions_profile_module.rb index 6cbd1506c7..255c701c83 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 - Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations module Models - TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + 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 - OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult - Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription - OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult + Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end class SubscriptionsManagementClass - attr_reader :operations, :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes + attr_reader :subscriptions, :tenants, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -37,9 +37,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @subscriptions = @client_0.subscriptions @tenants = @client_0.tenants + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -58,39 +58,39 @@ def method_missing(method, *args) end class ModelClasses - def tenant_id_description - Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - end def location Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location end + def 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 - def operation_display - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay - end def subscription_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult end - def operation - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation - end def subscription Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription end - def operation_list_result - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult - end def location_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult end + def operation + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation + end def subscription_state Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState 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 diff --git a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb index 649f71fe5b..6908b608b5 100644 --- a/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb +++ b/azure_sdk/lib/latest/modules/textanalytics_profile_module.rb @@ -15,17 +15,17 @@ module Models LanguageBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::LanguageBatchResult KeyPhraseBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::KeyPhraseBatchResult SentimentBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem - ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse SentimentBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult BatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::BatchInput MatchRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MatchRecord ErrorRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorRecord EntityRecord = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntityRecord + ErrorResponse = Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse Input = Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input - EntitiesBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem InternalError = Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError - EntitiesBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResult + EntitiesBatchResultItem = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem MultiLanguageBatchInput = Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput + EntitiesBatchResult = Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResult end class TextAnalyticsDataClass @@ -78,9 +78,6 @@ def key_phrase_batch_result def sentiment_batch_result_item Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResultItem end - def error_response - Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse - end def sentiment_batch_result Azure::CognitiveServices::TextAnalytics::V2_0::Models::SentimentBatchResult end @@ -96,21 +93,24 @@ def error_record def entity_record Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntityRecord end + def error_response + Azure::CognitiveServices::TextAnalytics::V2_0::Models::ErrorResponse + end def input Azure::CognitiveServices::TextAnalytics::V2_0::Models::Input end - def entities_batch_result_item - Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem - end def internal_error Azure::CognitiveServices::TextAnalytics::V2_0::Models::InternalError end - def entities_batch_result - Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResult + def entities_batch_result_item + Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResultItem end def multi_language_batch_input Azure::CognitiveServices::TextAnalytics::V2_0::Models::MultiLanguageBatchInput end + def entities_batch_result + Azure::CognitiveServices::TextAnalytics::V2_0::Models::EntitiesBatchResult + 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 af284da9bd..dfe2c0ea2a 100644 --- a/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb +++ b/azure_sdk/lib/latest/modules/trafficmanager_profile_module.rb @@ -14,7 +14,6 @@ module Mgmt TrafficManagerUserMetricsKeys = Azure::TrafficManager::Mgmt::V2018_04_01::TrafficManagerUserMetricsKeys module Models - 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 MonitorConfig = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfig @@ -26,15 +25,10 @@ module Models 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 - ProfileListResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult - Resource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource 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 - Endpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint - TrackedResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource - Profile = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile - ProxyResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource + ProfileListResult = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult TrafficManagerGeographicHierarchy = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy EndpointStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointStatus EndpointMonitorStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::EndpointMonitorStatus @@ -42,7 +36,13 @@ module Models MonitorProtocol = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorProtocol ProfileStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileStatus TrafficRoutingMethod = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod + TrackedResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource + ProxyResource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource TrafficViewEnrollmentStatus = Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus + Resource = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource + Profile = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile + Endpoint = Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint + MonitorConfigCustomHeadersItem = Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem end class TrafficManagerManagementClass @@ -79,9 +79,6 @@ def method_missing(method, *args) end class ModelClasses - def monitor_config_custom_headers_item - Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem - end def monitor_config_expected_status_code_ranges_item Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigExpectedStatusCodeRangesItem end @@ -115,12 +112,6 @@ def dns_config def check_traffic_manager_relative_dns_name_availability_parameters Azure::TrafficManager::Mgmt::V2018_04_01::Models::CheckTrafficManagerRelativeDnsNameAvailabilityParameters end - 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 traffic_manager_name_availability Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerNameAvailability end @@ -130,17 +121,8 @@ def heat_map_model def user_metrics_model Azure::TrafficManager::Mgmt::V2018_04_01::Models::UserMetricsModel end - def endpoint - Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint - end - def tracked_resource - Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource - end - def profile - Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile - end - def proxy_resource - Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource + def profile_list_result + Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProfileListResult end def traffic_manager_geographic_hierarchy Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficManagerGeographicHierarchy @@ -163,9 +145,27 @@ def profile_status def traffic_routing_method Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficRoutingMethod end + def tracked_resource + Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrackedResource + end + def proxy_resource + Azure::TrafficManager::Mgmt::V2018_04_01::Models::ProxyResource + end def traffic_view_enrollment_status Azure::TrafficManager::Mgmt::V2018_04_01::Models::TrafficViewEnrollmentStatus end + def resource + Azure::TrafficManager::Mgmt::V2018_04_01::Models::Resource + end + def profile + Azure::TrafficManager::Mgmt::V2018_04_01::Models::Profile + end + def endpoint + Azure::TrafficManager::Mgmt::V2018_04_01::Models::Endpoint + end + def monitor_config_custom_headers_item + Azure::TrafficManager::Mgmt::V2018_04_01::Models::MonitorConfigCustomHeadersItem + end end end end diff --git a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb index 20f1613c62..f807f2c8eb 100644 --- a/azure_sdk/lib/latest/modules/videosearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/videosearch_profile_module.rb @@ -11,36 +11,36 @@ module VideoSearch module Models TrendingVideosCategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosCategory TrendingVideosSubcategory = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory - Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error - PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions - QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext - Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query VideosModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule TrendingVideosTile = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile + Videos = Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos + TrendingVideos = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos + VideoDetails = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails + VideoQueryScenario = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario + VideoLength = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength + VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing + VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule ResponseBase = Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase - ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + QueryContext = Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext + Query = Azure::CognitiveServices::VideoSearch::V1_0::Models::Query VideoObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject - Videos = Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos + ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + PivotSuggestions = Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions Response = Azure::CognitiveServices::VideoSearch::V1_0::Models::Response - Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer SearchResultsAnswer = Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer + Answer = Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer Thing = Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing CreativeWork = Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork - MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject - Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable - ErrorResponse = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse - TrendingVideos = Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos - VideoDetails = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails - VideoQueryScenario = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario ErrorCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode ErrorSubCode = Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness - VideoLength = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength - VideoPricing = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing - VideoResolution = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + Identifiable = Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable SafeSearch = Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch TextFormat = Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat - VideoInsightModule = Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + Freshness = Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + ImageObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + MediaObject = Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject + Error = Azure::CognitiveServices::VideoSearch::V1_0::Models::Error end class VideoSearchDataClass @@ -79,86 +79,77 @@ def trending_videos_category def trending_videos_subcategory Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosSubcategory end - def error - Azure::CognitiveServices::VideoSearch::V1_0::Models::Error - end - def pivot_suggestions - Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions - end - def query_context - Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext - end - def query - Azure::CognitiveServices::VideoSearch::V1_0::Models::Query - end def videos_module Azure::CognitiveServices::VideoSearch::V1_0::Models::VideosModule end def trending_videos_tile Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideosTile end + def videos + Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos + end + def trending_videos + Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos + end + def video_details + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails + end + def video_query_scenario + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario + end + def video_length + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength + end + def video_pricing + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing + end + def video_resolution + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + end + def video_insight_module + Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + end def response_base Azure::CognitiveServices::VideoSearch::V1_0::Models::ResponseBase end - def image_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + def query_context + Azure::CognitiveServices::VideoSearch::V1_0::Models::QueryContext + end + def query + Azure::CognitiveServices::VideoSearch::V1_0::Models::Query end def video_object Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoObject end - def videos - Azure::CognitiveServices::VideoSearch::V1_0::Models::Videos + def error_response + Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse + end + def pivot_suggestions + Azure::CognitiveServices::VideoSearch::V1_0::Models::PivotSuggestions end def response Azure::CognitiveServices::VideoSearch::V1_0::Models::Response end - def answer - Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer - end def search_results_answer Azure::CognitiveServices::VideoSearch::V1_0::Models::SearchResultsAnswer end + def answer + Azure::CognitiveServices::VideoSearch::V1_0::Models::Answer + end def thing Azure::CognitiveServices::VideoSearch::V1_0::Models::Thing end def creative_work Azure::CognitiveServices::VideoSearch::V1_0::Models::CreativeWork end - def media_object - Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject - end - def identifiable - Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable - end - def error_response - Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorResponse - end - def trending_videos - Azure::CognitiveServices::VideoSearch::V1_0::Models::TrendingVideos - end - def video_details - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoDetails - end - def video_query_scenario - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoQueryScenario - end def error_code Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorCode end def error_sub_code Azure::CognitiveServices::VideoSearch::V1_0::Models::ErrorSubCode end - def freshness - Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness - end - def video_length - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoLength - end - def video_pricing - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoPricing - end - def video_resolution - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoResolution + def identifiable + Azure::CognitiveServices::VideoSearch::V1_0::Models::Identifiable end def safe_search Azure::CognitiveServices::VideoSearch::V1_0::Models::SafeSearch @@ -166,8 +157,17 @@ def safe_search def text_format Azure::CognitiveServices::VideoSearch::V1_0::Models::TextFormat end - def video_insight_module - Azure::CognitiveServices::VideoSearch::V1_0::Models::VideoInsightModule + def freshness + Azure::CognitiveServices::VideoSearch::V1_0::Models::Freshness + end + def image_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::ImageObject + end + def media_object + Azure::CognitiveServices::VideoSearch::V1_0::Models::MediaObject + end + def error + Azure::CognitiveServices::VideoSearch::V1_0::Models::Error end 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 19ce641330..af046ea310 100644 --- a/azure_sdk/lib/latest/modules/web_profile_module.rb +++ b/azure_sdk/lib/latest/modules/web_profile_module.rb @@ -8,229 +8,218 @@ module Azure::Profiles::Latest module Web module Mgmt AppServiceCertificateOrders = Azure::Web::Mgmt::V2018_02_01::AppServiceCertificateOrders + Provider = Azure::Web::Mgmt::V2018_02_01::Provider CertificateRegistrationProvider = Azure::Web::Mgmt::V2018_02_01::CertificateRegistrationProvider - Domains = Azure::Web::Mgmt::V2018_02_01::Domains TopLevelDomains = Azure::Web::Mgmt::V2018_02_01::TopLevelDomains DomainRegistrationProvider = Azure::Web::Mgmt::V2018_02_01::DomainRegistrationProvider + 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 DeletedWebApps = Azure::Web::Mgmt::V2018_02_01::DeletedWebApps Diagnostics = Azure::Web::Mgmt::V2018_02_01::Diagnostics - Provider = Azure::Web::Mgmt::V2018_02_01::Provider Recommendations = Azure::Web::Mgmt::V2018_02_01::Recommendations - WebApps = Azure::Web::Mgmt::V2018_02_01::WebApps - AppServiceEnvironments = Azure::Web::Mgmt::V2018_02_01::AppServiceEnvironments - AppServicePlans = Azure::Web::Mgmt::V2018_02_01::AppServicePlans ResourceHealthMetadataOperations = Azure::Web::Mgmt::V2018_02_01::ResourceHealthMetadataOperations module Models - IdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::IdentifierCollection - Operation = Azure::Web::Mgmt::V2018_02_01::Models::Operation + Dimension = Azure::Web::Mgmt::V2018_02_01::Models::Dimension + MetricSpecification = Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification + OperationStatus = Azure::Web::Mgmt::V2018_02_01::Models::OperationStatus + Deployment = Azure::Web::Mgmt::V2018_02_01::Models::Deployment + Resource = Azure::Web::Mgmt::V2018_02_01::Models::Resource + Snapshot = Azure::Web::Mgmt::V2018_02_01::Models::Snapshot + Certificate = Azure::Web::Mgmt::V2018_02_01::Models::Certificate + AzureTableStorageApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureTableStorageApplicationLogsConfig + ApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationLogsConfig + DatabaseBackupSetting = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseBackupSetting + BackupItemCollection = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemCollection + ProcessInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::ProcessInfoCollection + ConnStringValueTypePair = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringValueTypePair + ProcessModuleInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfoCollection + ProcessThreadInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfoCollection + CsmPublishingProfileOptions = Azure::Web::Mgmt::V2018_02_01::Models::CsmPublishingProfileOptions + WebAppInstanceCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebAppInstanceCollection + PublicCertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateCollection + TriggeredWebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobCollection + EnabledConfig = Azure::Web::Mgmt::V2018_02_01::Models::EnabledConfig + TriggeredJobHistoryCollection = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistoryCollection + SnapshotCollection = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotCollection + SiteCloneabilityCriterion = Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneabilityCriterion + HostNameBindingCollection = Azure::Web::Mgmt::V2018_02_01::Models::HostNameBindingCollection + SiteCloneability = Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneability + PerfMonSet = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSet + PerfMonCounterCollection = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonCounterCollection + WebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebJobCollection TopLevelDomainCollection = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainCollection - DeploymentCollection = Azure::Web::Mgmt::V2018_02_01::Models::DeploymentCollection + FileSystemApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::FileSystemApplicationLogsConfig CertificateDetails = Azure::Web::Mgmt::V2018_02_01::Models::CertificateDetails - CertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::CertificateCollection AppServiceCertificateOrderCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderCollection + AzureBlobStorageHttpLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageHttpLogsConfig + SiteSealRequest = Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest SnapshotRecoverySource = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRecoverySource - ProcessInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::ProcessInfoCollection - VirtualNetworkProfile = Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile - PerfMonResponse = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonResponse - WorkerPool = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPool + AzureStorageInfoValue = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue + AppServiceCertificate = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate + SlotDifferenceCollection = Azure::Web::Mgmt::V2018_02_01::Models::SlotDifferenceCollection + HttpLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::HttpLogsConfig + SiteConfigResourceCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResourceCollection + DeploymentCollection = Azure::Web::Mgmt::V2018_02_01::Models::DeploymentCollection PerfMonSample = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSample - VirtualIPMapping = Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping - SiteSealRequest = Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest - StampCapacity = Azure::Web::Mgmt::V2018_02_01::Models::StampCapacity - ProcessModuleInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfoCollection - NetworkAccessControlEntry = Azure::Web::Mgmt::V2018_02_01::Models::NetworkAccessControlEntry - PublicCertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateCollection - AppServiceEnvironment = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironment + PerfMonResponse = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonResponse + SiteConfigurationSnapshotInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfoCollection + CsmSlotEntity = Azure::Web::Mgmt::V2018_02_01::Models::CsmSlotEntity + DomainPurchaseConsent = Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent + DomainAvailablilityCheckResult = Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult + SiteExtensionInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfoCollection + 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 + AppServiceCertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection + DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest + NetworkTrace = Azure::Web::Mgmt::V2018_02_01::Models::NetworkTrace + MSDeployLogEntry = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntry + BackupSchedule = Azure::Web::Mgmt::V2018_02_01::Models::BackupSchedule + ContinuousWebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobCollection + PrivateAccessVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork + FileSystemHttpLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::FileSystemHttpLogsConfig + HostName = Azure::Web::Mgmt::V2018_02_01::Models::HostName + 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 + NameIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection + Address = Azure::Web::Mgmt::V2018_02_01::Models::Address + TopLevelDomainAgreementOption = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainAgreementOption + AzureBlobStorageApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageApplicationLogsConfig + FunctionEnvelopeCollection = Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelopeCollection + AppServiceCertificateOrderPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource + AppServiceCertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificatePatchResource + CertificateEmail = Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail + CertificateOrderAction = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction + AppServiceCertificateResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource + AppServiceCertificateOrder = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder + DomainOwnershipIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifier + DomainPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource + TopLevelDomain = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain + AzureStoragePropertyDictionaryResource = Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource + ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest + RenewCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest + BackupItem = Azure::Web::Mgmt::V2018_02_01::Models::BackupItem + DefaultErrorResponseErrorDetailsItem = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseErrorDetailsItem + HostingEnvironmentProfile = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentProfile + DefaultErrorResponseError = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseError + CertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::CertificateCollection + DefaultErrorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponse + CsmOperationDisplay = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDisplay + ValidateResponse = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponse + MetricAvailability = Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability + MSDeployLog = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLog ResourceMetricAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricAvailability - AppServicePlanCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanCollection - SiteConfigResourceCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResourceCollection + SourceControlCollection = Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection + CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescriptionProperties + ResourceNameAvailabilityRequest = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest + CsmOperationDescription = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription + PremierAddOnOfferCollection = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOfferCollection + CsmOperationCollection = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationCollection LocalizableString = Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString - SiteConfigurationSnapshotInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfoCollection + CloningInfo = Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo CsmUsageQuota = Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuota - HostNameBindingCollection = Azure::Web::Mgmt::V2018_02_01::Models::HostNameBindingCollection + ApiDefinitionInfo = Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo CsmUsageQuotaCollection = Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuotaCollection - ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity + AutoHealCustomAction = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealCustomAction ErrorEntity = Azure::Web::Mgmt::V2018_02_01::Models::ErrorEntity - CloningInfo = Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo - AppServiceCertificate = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate - IpSecurityRestriction = Azure::Web::Mgmt::V2018_02_01::Models::IpSecurityRestriction - TriggeredJobHistoryCollection = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistoryCollection - CorsSettings = Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings - ResourceMetricName = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName - AutoHealActions = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActions - ResourceMetricProperty = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricProperty + SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::SlowRequestsBasedTrigger StatusCodesBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::StatusCodesBasedTrigger + RequestsBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger + ApplicationStack = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack + AutoHealRules = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules + StackMajorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion + RampUpRule = Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule + DeploymentLocations = Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations + VirtualDirectory = Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory + IdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::IdentifierCollection + HandlerMapping = Azure::Web::Mgmt::V2018_02_01::Models::HandlerMapping + NameIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier + ConnStringInfo = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo + SiteConfig = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfig + ResourceMetricProperty = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricProperty + GlobalCsmSkuDescription = Azure::Web::Mgmt::V2018_02_01::Models::GlobalCsmSkuDescription ResourceMetricValue = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricValue - AutoHealTriggers = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers + SkuCapacity = Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity ResourceMetric = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric - SiteLimits = Azure::Web::Mgmt::V2018_02_01::Models::SiteLimits + GeoRegionCollection = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection ResourceMetricCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection - Experiments = Azure::Web::Mgmt::V2018_02_01::Models::Experiments + VirtualNetworkProfile = Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection - VirtualApplication = Azure::Web::Mgmt::V2018_02_01::Models::VirtualApplication + VirtualIPMapping = Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping WebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection - SiteMachineKey = Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey + 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 DeletedWebAppCollection = Azure::Web::Mgmt::V2018_02_01::Models::DeletedWebAppCollection - AzureStorageInfoValue = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue + ValidateResponseError = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError Solution = Azure::Web::Mgmt::V2018_02_01::Models::Solution - SiteConfig = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfig + ResourceMetricName = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName DetectorAbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod - SiteExtensionInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfoCollection + ResourceNameAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability AbnormalTimePeriod = Azure::Web::Mgmt::V2018_02_01::Models::AbnormalTimePeriod - SkuCapacity = Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity - TriggeredWebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobCollection - SlotDifferenceCollection = Azure::Web::Mgmt::V2018_02_01::Models::SlotDifferenceCollection + SlotSwapStatus = Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus + HostingEnvironmentDeploymentInfo = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo + CorsSettings = Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings DiagnosticMetricSample = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample - DefaultErrorResponseErrorDetailsItem = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseErrorDetailsItem + AutoHealTriggers = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers DiagnosticMetricSet = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet - DefaultErrorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponse + Experiments = Azure::Web::Mgmt::V2018_02_01::Models::Experiments DataSource = Azure::Web::Mgmt::V2018_02_01::Models::DataSource - LogSpecification = Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification + SiteMachineKey = Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey ResponseMetaData = Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData - Dimension = Azure::Web::Mgmt::V2018_02_01::Models::Dimension + HostNameSslState = Azure::Web::Mgmt::V2018_02_01::Models::HostNameSslState AnalysisData = Azure::Web::Mgmt::V2018_02_01::Models::AnalysisData - ServiceSpecification = Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification - CsmSlotEntity = Azure::Web::Mgmt::V2018_02_01::Models::CsmSlotEntity - CsmOperationDisplay = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDisplay + SkuDescription = Azure::Web::Mgmt::V2018_02_01::Models::SkuDescription + CsmMoveResourceEnvelope = Azure::Web::Mgmt::V2018_02_01::Models::CsmMoveResourceEnvelope + WorkerPool = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPool DataTableResponseColumn = Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseColumn - CsmOperationCollection = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationCollection + AppServiceEnvironment = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironment DataTableResponseObject = Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseObject - Contact = Azure::Web::Mgmt::V2018_02_01::Models::Contact + ValidateRequest = Azure::Web::Mgmt::V2018_02_01::Models::ValidateRequest DetectorInfo = Azure::Web::Mgmt::V2018_02_01::Models::DetectorInfo - DomainPurchaseConsent = Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent + ProxyOnlyResource = Azure::Web::Mgmt::V2018_02_01::Models::ProxyOnlyResource Rendering = Azure::Web::Mgmt::V2018_02_01::Models::Rendering - DomainAvailablilityCheckResult = Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult + AutoHealActions = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActions DiagnosticData = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticData - DomainControlCenterSsoRequest = Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest - CsmPublishingProfileOptions = Azure::Web::Mgmt::V2018_02_01::Models::CsmPublishingProfileOptions - DomainOwnershipIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection + VirtualApplication = Azure::Web::Mgmt::V2018_02_01::Models::VirtualApplication + BillingMeterCollection = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeterCollection + Capability = Azure::Web::Mgmt::V2018_02_01::Models::Capability DetectorResponseCollection = Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponseCollection - DomainRecommendationSearchParameters = Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters - ContinuousWebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobCollection - TldLegalAgreement = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreement + StampCapacity = Azure::Web::Mgmt::V2018_02_01::Models::StampCapacity + ResourceHealthMetadataCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadataCollection + SkuInfos = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfos DiagnosticAnalysisCollection = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysisCollection - EnabledConfig = Azure::Web::Mgmt::V2018_02_01::Models::EnabledConfig - WebAppInstanceCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebAppInstanceCollection - AppServiceCertificateCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection + SiteLimits = Azure::Web::Mgmt::V2018_02_01::Models::SiteLimits + RecommendationCollection = Azure::Web::Mgmt::V2018_02_01::Models::RecommendationCollection DiagnosticCategoryCollection = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategoryCollection - PrivateAccessVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork + IpSecurityRestriction = Azure::Web::Mgmt::V2018_02_01::Models::IpSecurityRestriction DiagnosticDetectorCollection = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorCollection - PerfMonSet = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSet - NetworkTrace = Azure::Web::Mgmt::V2018_02_01::Models::NetworkTrace - StackMinorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMinorVersion - SiteCloneabilityCriterion = Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneabilityCriterion - StackMajorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion - MSDeployLogEntry = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntry - ApplicationStack = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack - ProxyOnlyResource = Azure::Web::Mgmt::V2018_02_01::Models::ProxyOnlyResource ApplicationStackCollection = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStackCollection - HostingEnvironmentProfile = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentProfile - ResourceHealthMetadataCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadataCollection - AutoHealCustomAction = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealCustomAction - RecommendationCollection = Azure::Web::Mgmt::V2018_02_01::Models::RecommendationCollection - RequestsBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger - ResourceCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceCollection - RampUpRule = Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule - HybridConnectionCollection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionCollection - HandlerMapping = Azure::Web::Mgmt::V2018_02_01::Models::HandlerMapping - BillingMeterCollection = Azure::Web::Mgmt::V2018_02_01::Models::BillingMeterCollection NameValuePair = Azure::Web::Mgmt::V2018_02_01::Models::NameValuePair - CsmMoveResourceEnvelope = Azure::Web::Mgmt::V2018_02_01::Models::CsmMoveResourceEnvelope - Capability = Azure::Web::Mgmt::V2018_02_01::Models::Capability - WorkerPoolCollection = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolCollection - Resource = Azure::Web::Mgmt::V2018_02_01::Models::Resource - HostingEnvironmentDeploymentInfo = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo - NameIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier - DeploymentLocations = Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations - MetricSpecification = Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification - GeoRegionCollection = Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection - CsmOperationDescription = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription - GlobalCsmSkuDescription = Azure::Web::Mgmt::V2018_02_01::Models::GlobalCsmSkuDescription - HostName = Azure::Web::Mgmt::V2018_02_01::Models::HostName - UsageCollection = Azure::Web::Mgmt::V2018_02_01::Models::UsageCollection - DomainCollection = Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection - PremierAddOnOfferCollection = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOfferCollection - FileSystemHttpLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::FileSystemHttpLogsConfig - ResourceNameAvailability = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability - TldLegalAgreementCollection = Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection - ResourceNameAvailabilityRequest = Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest - PrivateAccessSubnet = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessSubnet - SkuInfos = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfos - SiteSeal = Azure::Web::Mgmt::V2018_02_01::Models::SiteSeal - StampCapacityCollection = Azure::Web::Mgmt::V2018_02_01::Models::StampCapacityCollection - SiteCloneability = Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneability - SourceControlCollection = Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection - SlotSwapStatus = Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus - ValidateRequest = Azure::Web::Mgmt::V2018_02_01::Models::ValidateRequest - SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2018_02_01::Models::SlowRequestsBasedTrigger - ValidateResponseError = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError - VirtualDirectory = Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory - ValidateResponse = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponse - HostNameSslState = Azure::Web::Mgmt::V2018_02_01::Models::HostNameSslState - SkuInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfoCollection - DefaultErrorResponseError = Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseError - SkuInfo = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfo - CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescriptionProperties - MetricAvailabilily = Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailabilily - FunctionEnvelopeCollection = Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelopeCollection - FileSystemApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::FileSystemApplicationLogsConfig - NameIdentifierCollection = Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection - AzureTableStorageApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureTableStorageApplicationLogsConfig - PerfMonCounterCollection = Azure::Web::Mgmt::V2018_02_01::Models::PerfMonCounterCollection - AzureBlobStorageApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageApplicationLogsConfig - HttpLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::HttpLogsConfig - ApplicationLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::ApplicationLogsConfig - AutoHealRules = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules - AzureBlobStorageHttpLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageHttpLogsConfig - SkuDescription = Azure::Web::Mgmt::V2018_02_01::Models::SkuDescription - HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDiagnostics - Address = Azure::Web::Mgmt::V2018_02_01::Models::Address - DatabaseBackupSetting = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseBackupSetting - TopLevelDomainAgreementOption = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainAgreementOption - AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection - ApiDefinitionInfo = Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo - BackupItemCollection = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemCollection - MetricAvailability = Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability - BackupSchedule = Azure::Web::Mgmt::V2018_02_01::Models::BackupSchedule - ProcessThreadInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfoCollection - AddressResponse = Azure::Web::Mgmt::V2018_02_01::Models::AddressResponse - SnapshotCollection = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotCollection - ConnStringValueTypePair = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringValueTypePair - ConnStringInfo = Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo - WebJobCollection = Azure::Web::Mgmt::V2018_02_01::Models::WebJobCollection - AppServiceCertificateResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource - AppServiceCertificateOrder = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder - AppServiceCertificateOrderPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource - AppServiceCertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificatePatchResource - CertificateEmail = Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail - CertificateOrderAction = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction - ReissueCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest - RenewCertificateOrderRequest = Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest + StackMinorVersion = Azure::Web::Mgmt::V2018_02_01::Models::StackMinorVersion + CertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource VnetRoute = Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute VnetInfo = Azure::Web::Mgmt::V2018_02_01::Models::VnetInfo VnetGateway = Azure::Web::Mgmt::V2018_02_01::Models::VnetGateway User = Azure::Web::Mgmt::V2018_02_01::Models::User - Snapshot = Azure::Web::Mgmt::V2018_02_01::Models::Snapshot + CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2018_02_01::Models::CustomHostnameAnalysisResult ResourceMetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition PushSettings = Azure::Web::Mgmt::V2018_02_01::Models::PushSettings - Identifier = Azure::Web::Mgmt::V2018_02_01::Models::Identifier HybridConnectionKey = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey HybridConnection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection - DeletedSite = Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite Site = Azure::Web::Mgmt::V2018_02_01::Models::Site AppServicePlan = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan - Domain = Azure::Web::Mgmt::V2018_02_01::Models::Domain - DomainOwnershipIdentifier = Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifier - DomainPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource - TopLevelDomain = Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain - Certificate = Azure::Web::Mgmt::V2018_02_01::Models::Certificate - CertificatePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource 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 DiagnosticAnalysis = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis + Domain = Azure::Web::Mgmt::V2018_02_01::Models::Domain DiagnosticCategory = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory DiagnosticDetectorResponse = Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorResponse Recommendation = Azure::Web::Mgmt::V2018_02_01::Models::Recommendation @@ -242,127 +231,138 @@ module Models VnetParameters = Azure::Web::Mgmt::V2018_02_01::Models::VnetParameters VnetValidationTestFailure = Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationTestFailure VnetValidationFailureDetails = Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationFailureDetails - AzureStoragePropertyDictionaryResource = Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource - BackupItem = Azure::Web::Mgmt::V2018_02_01::Models::BackupItem - BackupRequest = Azure::Web::Mgmt::V2018_02_01::Models::BackupRequest - ConnectionStringDictionary = Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringDictionary - ContinuousWebJob = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJob - CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2018_02_01::Models::CustomHostnameAnalysisResult - DeletedAppRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest - Deployment = Azure::Web::Mgmt::V2018_02_01::Models::Deployment - FunctionEnvelope = Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelope - FunctionSecrets = Azure::Web::Mgmt::V2018_02_01::Models::FunctionSecrets - HostNameBinding = Azure::Web::Mgmt::V2018_02_01::Models::HostNameBinding - MSDeploy = Azure::Web::Mgmt::V2018_02_01::Models::MSDeploy - MSDeployLog = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLog 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 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 - PremierAddOnPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnPatchResource - PrivateAccess = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess 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 - PublicCertificate = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificate - RestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest + BackupRequest = Azure::Web::Mgmt::V2018_02_01::Models::BackupRequest + Operation = Azure::Web::Mgmt::V2018_02_01::Models::Operation + ContinuousWebJob = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJob SiteAuthSettings = Azure::Web::Mgmt::V2018_02_01::Models::SiteAuthSettings - SiteConfigResource = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource - SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo - SiteExtensionInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo - SiteInstance = Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance + FunctionEnvelope = Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelope + FunctionSecrets = Azure::Web::Mgmt::V2018_02_01::Models::FunctionSecrets + HostNameBinding = Azure::Web::Mgmt::V2018_02_01::Models::HostNameBinding + MSDeploy = Azure::Web::Mgmt::V2018_02_01::Models::MSDeploy SiteLogsConfig = Azure::Web::Mgmt::V2018_02_01::Models::SiteLogsConfig SitePatchResource = Azure::Web::Mgmt::V2018_02_01::Models::SitePatchResource SitePhpErrorLogFlag = Azure::Web::Mgmt::V2018_02_01::Models::SitePhpErrorLogFlag SiteSourceControl = Azure::Web::Mgmt::V2018_02_01::Models::SiteSourceControl - SlotConfigNamesResource = Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource + LogSpecification = Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification SlotDifference = Azure::Web::Mgmt::V2018_02_01::Models::SlotDifference - SnapshotRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRestoreRequest - StorageMigrationOptions = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationOptions + ServiceSpecification = Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification StorageMigrationResponse = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationResponse StringDictionary = Azure::Web::Mgmt::V2018_02_01::Models::StringDictionary - SwiftVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork TriggeredJobRun = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobRun - TriggeredJobHistory = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistory - TriggeredWebJob = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJob - WebJob = Azure::Web::Mgmt::V2018_02_01::Models::WebJob - AppServiceEnvironmentResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentResource - AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentPatchResource - MetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::MetricDefinition - Usage = Azure::Web::Mgmt::V2018_02_01::Models::Usage - WorkerPoolResource = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolResource - AppServicePlanPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanPatchResource - HybridConnectionLimits = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits - ResourceHealthMetadata = Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadata + DeletedAppRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest + PremierAddOnPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnPatchResource + ConnectionStringDictionary = Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringDictionary + SnapshotRestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRestoreRequest + SiteConfigResource = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource + SiteConfigurationSnapshotInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo + SiteExtensionInfo = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo + SiteInstance = Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance + IpFilterTag = Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag KeyVaultSecretStatus = Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus - CertificateProductType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType - ProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::ProvisioningState - CertificateOrderStatus = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderStatus - CertificateOrderActionType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType - RouteType = Azure::Web::Mgmt::V2018_02_01::Models::RouteType + ResourceHealthMetadata = Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadata ManagedServiceIdentityType = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentityType - IpFilterTag = Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag - AutoHealActionType = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType + SlotConfigNamesResource = Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource ConnectionStringType = Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringType - AzureStorageType = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageType - AzureStorageState = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageState - ScmType = Azure::Web::Mgmt::V2018_02_01::Models::ScmType + StorageMigrationOptions = Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationOptions ManagedPipelineMode = Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode SiteLoadBalancing = Azure::Web::Mgmt::V2018_02_01::Models::SiteLoadBalancing SupportedTlsVersions = Azure::Web::Mgmt::V2018_02_01::Models::SupportedTlsVersions - FtpsState = Azure::Web::Mgmt::V2018_02_01::Models::FtpsState - SslState = Azure::Web::Mgmt::V2018_02_01::Models::SslState - HostType = Azure::Web::Mgmt::V2018_02_01::Models::HostType - UsageState = Azure::Web::Mgmt::V2018_02_01::Models::UsageState - SiteAvailabilityState = Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState + TriggeredJobHistory = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistory + PublicCertificate = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificate + RestoreRequest = Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest + PrivateAccess = Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess StatusOptions = Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions - DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus - AzureResourceType = Azure::Web::Mgmt::V2018_02_01::Models::AzureResourceType - CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2018_02_01::Models::CustomHostNameDnsRecordType + SwiftVirtualNetwork = Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork + CertificateProductType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType + ProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::ProvisioningState + CertificateOrderActionType = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType + SslState = Azure::Web::Mgmt::V2018_02_01::Models::SslState + AzureStorageType = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageType + RouteType = Azure::Web::Mgmt::V2018_02_01::Models::RouteType + FtpsState = Azure::Web::Mgmt::V2018_02_01::Models::FtpsState + AutoHealActionType = Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType HostNameType = Azure::Web::Mgmt::V2018_02_01::Models::HostNameType - DnsType = Azure::Web::Mgmt::V2018_02_01::Models::DnsType - DomainType = Azure::Web::Mgmt::V2018_02_01::Models::DomainType - HostingEnvironmentStatus = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentStatus - InternalLoadBalancingMode = Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode + ScmType = Azure::Web::Mgmt::V2018_02_01::Models::ScmType ComputeModeOptions = Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions WorkerSizeOptions = Azure::Web::Mgmt::V2018_02_01::Models::WorkerSizeOptions AccessControlEntryAction = Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction - OperationStatus = Azure::Web::Mgmt::V2018_02_01::Models::OperationStatus - IssueType = Azure::Web::Mgmt::V2018_02_01::Models::IssueType SolutionType = Azure::Web::Mgmt::V2018_02_01::Models::SolutionType - RenderingType = Azure::Web::Mgmt::V2018_02_01::Models::RenderingType - ResourceScopeType = Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType - NotificationLevel = Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel + TriggeredWebJob = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJob + WebJob = Azure::Web::Mgmt::V2018_02_01::Models::WebJob + SiteAvailabilityState = Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState Channels = Azure::Web::Mgmt::V2018_02_01::Models::Channels + HostingEnvironmentStatus = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentStatus + InternalLoadBalancingMode = Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode + CheckNameResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes + CertificateOrderStatus = Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderStatus + WebJobType = Azure::Web::Mgmt::V2018_02_01::Models::WebJobType + PublishingProfileFormat = Azure::Web::Mgmt::V2018_02_01::Models::PublishingProfileFormat + RenderingType = Azure::Web::Mgmt::V2018_02_01::Models::RenderingType + AzureStorageState = Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageState + UsageState = Azure::Web::Mgmt::V2018_02_01::Models::UsageState + DomainStatus = Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + DnsType = Azure::Web::Mgmt::V2018_02_01::Models::DnsType + DomainType = Azure::Web::Mgmt::V2018_02_01::Models::DomainType + MySqlMigrationType = Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType + IssueType = Azure::Web::Mgmt::V2018_02_01::Models::IssueType + AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection + HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDiagnostics + AddressResponse = Azure::Web::Mgmt::V2018_02_01::Models::AddressResponse + SkuInfoCollection = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfoCollection + ResourceCollection = Azure::Web::Mgmt::V2018_02_01::Models::ResourceCollection + ManagedServiceIdentity = Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity + WorkerPoolCollection = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolCollection + HybridConnectionCollection = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionCollection + SkuInfo = Azure::Web::Mgmt::V2018_02_01::Models::SkuInfo + UsageCollection = Azure::Web::Mgmt::V2018_02_01::Models::UsageCollection + MetricAvailabilily = Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailabilily + StampCapacityCollection = Azure::Web::Mgmt::V2018_02_01::Models::StampCapacityCollection + AppServiceEnvironmentResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentResource + AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentPatchResource + MetricDefinition = Azure::Web::Mgmt::V2018_02_01::Models::MetricDefinition + WorkerPoolResource = Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolResource + AppServicePlanPatchResource = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanPatchResource + HybridConnectionLimits = Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits + HostType = Azure::Web::Mgmt::V2018_02_01::Models::HostType AppServicePlanRestrictions = Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions InAvailabilityReasonType = Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType - CheckNameResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes + BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2018_02_01::Models::BuiltInAuthenticationProvider ValidateResourceTypes = Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes + SiteExtensionType = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType + TriggeredWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobStatus LogLevel = Azure::Web::Mgmt::V2018_02_01::Models::LogLevel BackupItemStatus = Azure::Web::Mgmt::V2018_02_01::Models::BackupItemStatus DatabaseType = Azure::Web::Mgmt::V2018_02_01::Models::DatabaseType FrequencyUnit = Azure::Web::Mgmt::V2018_02_01::Models::FrequencyUnit - ContinuousWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus - WebJobType = Azure::Web::Mgmt::V2018_02_01::Models::WebJobType - PublishingProfileFormat = Azure::Web::Mgmt::V2018_02_01::Models::PublishingProfileFormat + ResourceScopeType = Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType + Contact = Azure::Web::Mgmt::V2018_02_01::Models::Contact DnsVerificationTestResult = Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult + AzureResourceType = Azure::Web::Mgmt::V2018_02_01::Models::AzureResourceType + CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2018_02_01::Models::CustomHostNameDnsRecordType MSDeployLogEntryType = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType MSDeployProvisioningState = Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState - MySqlMigrationType = Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType PublicCertificateLocation = Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation - BackupRestoreOperationType = Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType UnauthenticatedClientAction = Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction - BuiltInAuthenticationProvider = Azure::Web::Mgmt::V2018_02_01::Models::BuiltInAuthenticationProvider CloneAbilityResult = Azure::Web::Mgmt::V2018_02_01::Models::CloneAbilityResult - SiteExtensionType = Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType - TriggeredWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobStatus + NotificationLevel = Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel SkuName = Azure::Web::Mgmt::V2018_02_01::Models::SkuName + BackupRestoreOperationType = Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType + ContinuousWebJobStatus = Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus + Usage = Azure::Web::Mgmt::V2018_02_01::Models::Usage + Identifier = Azure::Web::Mgmt::V2018_02_01::Models::Identifier end class WebManagementClass - attr_reader :app_service_certificate_orders, :certificate_registration_provider, :domains, :top_level_domains, :domain_registration_provider, :certificates, :deleted_web_apps, :diagnostics, :provider, :recommendations, :web_apps, :app_service_environments, :app_service_plans, :resource_health_metadata_operations, :configurable, :base_url, :options, :model_classes + attr_reader :app_service_certificate_orders, :provider, :certificate_registration_provider, :top_level_domains, :domain_registration_provider, :domains, :app_service_environments, :app_service_plans, :web_apps, :certificates, :deleted_web_apps, :diagnostics, :recommendations, :resource_health_metadata_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -373,18 +373,18 @@ def initialize(configurable, base_url=nil, options=nil) end add_telemetry(@client_0) @app_service_certificate_orders = @client_0.app_service_certificate_orders + @provider = @client_0.provider @certificate_registration_provider = @client_0.certificate_registration_provider - @domains = @client_0.domains @top_level_domains = @client_0.top_level_domains @domain_registration_provider = @client_0.domain_registration_provider + @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 @deleted_web_apps = @client_0.deleted_web_apps @diagnostics = @client_0.diagnostics - @provider = @client_0.provider @recommendations = @client_0.recommendations - @web_apps = @client_0.web_apps - @app_service_environments = @client_0.app_service_environments - @app_service_plans = @client_0.app_service_plans @resource_health_metadata_operations = @client_0.resource_health_metadata_operations @model_classes = ModelClasses.new @@ -404,560 +404,548 @@ def method_missing(method, *args) end class ModelClasses - def identifier_collection - Azure::Web::Mgmt::V2018_02_01::Models::IdentifierCollection - end - def operation - Azure::Web::Mgmt::V2018_02_01::Models::Operation - end - def top_level_domain_collection - Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainCollection - end - def deployment_collection - Azure::Web::Mgmt::V2018_02_01::Models::DeploymentCollection + def dimension + Azure::Web::Mgmt::V2018_02_01::Models::Dimension end - def certificate_details - Azure::Web::Mgmt::V2018_02_01::Models::CertificateDetails + def metric_specification + Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification end - def certificate_collection - Azure::Web::Mgmt::V2018_02_01::Models::CertificateCollection + def operation_status + Azure::Web::Mgmt::V2018_02_01::Models::OperationStatus end - def app_service_certificate_order_collection - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderCollection + def deployment + Azure::Web::Mgmt::V2018_02_01::Models::Deployment end - def snapshot_recovery_source - Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRecoverySource + def resource + Azure::Web::Mgmt::V2018_02_01::Models::Resource end - def process_info_collection - Azure::Web::Mgmt::V2018_02_01::Models::ProcessInfoCollection + def snapshot + Azure::Web::Mgmt::V2018_02_01::Models::Snapshot end - def virtual_network_profile - Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile + def certificate + Azure::Web::Mgmt::V2018_02_01::Models::Certificate end - def perf_mon_response - Azure::Web::Mgmt::V2018_02_01::Models::PerfMonResponse + def azure_table_storage_application_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::AzureTableStorageApplicationLogsConfig end - def worker_pool - Azure::Web::Mgmt::V2018_02_01::Models::WorkerPool + def application_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::ApplicationLogsConfig end - def perf_mon_sample - Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSample + def database_backup_setting + Azure::Web::Mgmt::V2018_02_01::Models::DatabaseBackupSetting end - def virtual_ipmapping - Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping + def backup_item_collection + Azure::Web::Mgmt::V2018_02_01::Models::BackupItemCollection end - def site_seal_request - Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest + def process_info_collection + Azure::Web::Mgmt::V2018_02_01::Models::ProcessInfoCollection end - def stamp_capacity - Azure::Web::Mgmt::V2018_02_01::Models::StampCapacity + def conn_string_value_type_pair + Azure::Web::Mgmt::V2018_02_01::Models::ConnStringValueTypePair end def process_module_info_collection Azure::Web::Mgmt::V2018_02_01::Models::ProcessModuleInfoCollection end - def network_access_control_entry - Azure::Web::Mgmt::V2018_02_01::Models::NetworkAccessControlEntry + def process_thread_info_collection + Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfoCollection end - def public_certificate_collection - Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateCollection + def csm_publishing_profile_options + Azure::Web::Mgmt::V2018_02_01::Models::CsmPublishingProfileOptions end - def app_service_environment - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironment + def web_app_instance_collection + Azure::Web::Mgmt::V2018_02_01::Models::WebAppInstanceCollection end - def resource_metric_availability - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricAvailability + def public_certificate_collection + Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateCollection end - def app_service_plan_collection - Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanCollection + def triggered_web_job_collection + Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobCollection end - def site_config_resource_collection - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResourceCollection + def enabled_config + Azure::Web::Mgmt::V2018_02_01::Models::EnabledConfig end - def localizable_string - Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString + def triggered_job_history_collection + Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistoryCollection end - def site_configuration_snapshot_info_collection - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfoCollection + def snapshot_collection + Azure::Web::Mgmt::V2018_02_01::Models::SnapshotCollection end - def csm_usage_quota - Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuota + def site_cloneability_criterion + Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneabilityCriterion end def host_name_binding_collection Azure::Web::Mgmt::V2018_02_01::Models::HostNameBindingCollection end - def csm_usage_quota_collection - Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuotaCollection + def site_cloneability + Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneability end - def managed_service_identity - Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity + def perf_mon_set + Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSet end - def error_entity - Azure::Web::Mgmt::V2018_02_01::Models::ErrorEntity + def perf_mon_counter_collection + Azure::Web::Mgmt::V2018_02_01::Models::PerfMonCounterCollection end - def cloning_info - Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo + def web_job_collection + Azure::Web::Mgmt::V2018_02_01::Models::WebJobCollection + end + def top_level_domain_collection + Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainCollection end - def app_service_certificate - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate + def file_system_application_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::FileSystemApplicationLogsConfig end - def ip_security_restriction - Azure::Web::Mgmt::V2018_02_01::Models::IpSecurityRestriction + def certificate_details + Azure::Web::Mgmt::V2018_02_01::Models::CertificateDetails end - def triggered_job_history_collection - Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistoryCollection + def app_service_certificate_order_collection + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderCollection end - def cors_settings - Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings + def azure_blob_storage_http_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageHttpLogsConfig end - def resource_metric_name - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName + def site_seal_request + Azure::Web::Mgmt::V2018_02_01::Models::SiteSealRequest end - def auto_heal_actions - Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActions + def snapshot_recovery_source + Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRecoverySource end - def resource_metric_property - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricProperty + def azure_storage_info_value + Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue end - def status_codes_based_trigger - Azure::Web::Mgmt::V2018_02_01::Models::StatusCodesBasedTrigger + def app_service_certificate + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificate end - def resource_metric_value - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricValue + def slot_difference_collection + Azure::Web::Mgmt::V2018_02_01::Models::SlotDifferenceCollection end - def auto_heal_triggers - Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers + def http_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::HttpLogsConfig end - def resource_metric - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric + def site_config_resource_collection + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResourceCollection end - def site_limits - Azure::Web::Mgmt::V2018_02_01::Models::SiteLimits + def deployment_collection + Azure::Web::Mgmt::V2018_02_01::Models::DeploymentCollection end - def resource_metric_collection - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection + def perf_mon_sample + Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSample end - def experiments - Azure::Web::Mgmt::V2018_02_01::Models::Experiments + def perf_mon_response + Azure::Web::Mgmt::V2018_02_01::Models::PerfMonResponse end - def resource_metric_definition_collection - Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection + def site_configuration_snapshot_info_collection + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfoCollection end - def virtual_application - Azure::Web::Mgmt::V2018_02_01::Models::VirtualApplication + def csm_slot_entity + Azure::Web::Mgmt::V2018_02_01::Models::CsmSlotEntity end - def web_app_collection - Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection + def domain_purchase_consent + Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent end - def site_machine_key - Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey + def domain_availablility_check_result + Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult end - def deleted_web_app_collection - Azure::Web::Mgmt::V2018_02_01::Models::DeletedWebAppCollection + def site_extension_info_collection + Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfoCollection end - def azure_storage_info_value - Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue + def domain_ownership_identifier_collection + Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection end - def solution - Azure::Web::Mgmt::V2018_02_01::Models::Solution + def domain_recommendation_search_parameters + Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters end - def site_config - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfig + def tld_legal_agreement + Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreement end - def detector_abnormal_time_period - Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod + def app_service_certificate_collection + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection end - def site_extension_info_collection - Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfoCollection + def domain_control_center_sso_request + Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest end - def abnormal_time_period - Azure::Web::Mgmt::V2018_02_01::Models::AbnormalTimePeriod + def network_trace + Azure::Web::Mgmt::V2018_02_01::Models::NetworkTrace end - def sku_capacity - Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity + def msdeploy_log_entry + Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntry end - def triggered_web_job_collection - Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobCollection + def backup_schedule + Azure::Web::Mgmt::V2018_02_01::Models::BackupSchedule end - def slot_difference_collection - Azure::Web::Mgmt::V2018_02_01::Models::SlotDifferenceCollection + def continuous_web_job_collection + Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobCollection end - def diagnostic_metric_sample - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample + def private_access_virtual_network + Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork end - def default_error_response_error_details_item - Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseErrorDetailsItem + def file_system_http_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::FileSystemHttpLogsConfig end - def diagnostic_metric_set - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet + def host_name + Azure::Web::Mgmt::V2018_02_01::Models::HostName end - def default_error_response - Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponse + def domain_collection + Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection end - def data_source - Azure::Web::Mgmt::V2018_02_01::Models::DataSource + def tld_legal_agreement_collection + Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection end - def log_specification - Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification + def private_access_subnet + Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessSubnet end - def response_meta_data - Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData + def site_seal + Azure::Web::Mgmt::V2018_02_01::Models::SiteSeal end - def dimension - Azure::Web::Mgmt::V2018_02_01::Models::Dimension + def name_identifier_collection + Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection end - def analysis_data - Azure::Web::Mgmt::V2018_02_01::Models::AnalysisData + def address + Azure::Web::Mgmt::V2018_02_01::Models::Address end - def service_specification - Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification + def top_level_domain_agreement_option + Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainAgreementOption end - def csm_slot_entity - Azure::Web::Mgmt::V2018_02_01::Models::CsmSlotEntity + def azure_blob_storage_application_logs_config + Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageApplicationLogsConfig end - def csm_operation_display - Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDisplay + def function_envelope_collection + Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelopeCollection end - def data_table_response_column - Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseColumn + def app_service_certificate_order_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource end - def csm_operation_collection - Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationCollection + def app_service_certificate_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificatePatchResource end - def data_table_response_object - Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseObject + def certificate_email + Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail end - def contact - Azure::Web::Mgmt::V2018_02_01::Models::Contact + def certificate_order_action + Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction end - def detector_info - Azure::Web::Mgmt::V2018_02_01::Models::DetectorInfo + def app_service_certificate_resource + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource end - def domain_purchase_consent - Azure::Web::Mgmt::V2018_02_01::Models::DomainPurchaseConsent + def app_service_certificate_order + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder end - def rendering - Azure::Web::Mgmt::V2018_02_01::Models::Rendering + def domain_ownership_identifier + Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifier end - def domain_availablility_check_result - Azure::Web::Mgmt::V2018_02_01::Models::DomainAvailablilityCheckResult + def domain_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource end - def diagnostic_data - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticData + def top_level_domain + Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain end - def domain_control_center_sso_request - Azure::Web::Mgmt::V2018_02_01::Models::DomainControlCenterSsoRequest + def azure_storage_property_dictionary_resource + Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource end - def csm_publishing_profile_options - Azure::Web::Mgmt::V2018_02_01::Models::CsmPublishingProfileOptions + def reissue_certificate_order_request + Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest end - def domain_ownership_identifier_collection - Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifierCollection + def renew_certificate_order_request + Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest end - def detector_response_collection - Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponseCollection + def backup_item + Azure::Web::Mgmt::V2018_02_01::Models::BackupItem end - def domain_recommendation_search_parameters - Azure::Web::Mgmt::V2018_02_01::Models::DomainRecommendationSearchParameters + def default_error_response_error_details_item + Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseErrorDetailsItem end - def continuous_web_job_collection - Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobCollection + def hosting_environment_profile + Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentProfile end - def tld_legal_agreement - Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreement + def default_error_response_error + Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseError end - def diagnostic_analysis_collection - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysisCollection + def certificate_collection + Azure::Web::Mgmt::V2018_02_01::Models::CertificateCollection end - def enabled_config - Azure::Web::Mgmt::V2018_02_01::Models::EnabledConfig + def default_error_response + Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponse end - def web_app_instance_collection - Azure::Web::Mgmt::V2018_02_01::Models::WebAppInstanceCollection + def csm_operation_display + Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDisplay end - def app_service_certificate_collection - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateCollection + def validate_response + Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponse end - def diagnostic_category_collection - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategoryCollection + def metric_availability + Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability end - def private_access_virtual_network - Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessVirtualNetwork + def msdeploy_log + Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLog end - def diagnostic_detector_collection - Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorCollection + def resource_metric_availability + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricAvailability end - def perf_mon_set - Azure::Web::Mgmt::V2018_02_01::Models::PerfMonSet + def source_control_collection + Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection end - def network_trace - Azure::Web::Mgmt::V2018_02_01::Models::NetworkTrace + def csm_operation_description_properties + Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescriptionProperties end - def stack_minor_version - Azure::Web::Mgmt::V2018_02_01::Models::StackMinorVersion + def resource_name_availability_request + Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest end - def site_cloneability_criterion - Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneabilityCriterion + def csm_operation_description + Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription end - def stack_major_version - Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion + def premier_add_on_offer_collection + Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOfferCollection end - def msdeploy_log_entry - Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntry + def csm_operation_collection + Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationCollection end - def application_stack - Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack + def localizable_string + Azure::Web::Mgmt::V2018_02_01::Models::LocalizableString end - def proxy_only_resource - Azure::Web::Mgmt::V2018_02_01::Models::ProxyOnlyResource + def cloning_info + Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo end - def application_stack_collection - Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStackCollection + def csm_usage_quota + Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuota end - def hosting_environment_profile - Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentProfile + def api_definition_info + Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo end - def resource_health_metadata_collection - Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadataCollection + def csm_usage_quota_collection + Azure::Web::Mgmt::V2018_02_01::Models::CsmUsageQuotaCollection end def auto_heal_custom_action Azure::Web::Mgmt::V2018_02_01::Models::AutoHealCustomAction end - def recommendation_collection - Azure::Web::Mgmt::V2018_02_01::Models::RecommendationCollection - end - def requests_based_trigger - Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger + def error_entity + Azure::Web::Mgmt::V2018_02_01::Models::ErrorEntity end - def resource_collection - Azure::Web::Mgmt::V2018_02_01::Models::ResourceCollection + def slow_requests_based_trigger + Azure::Web::Mgmt::V2018_02_01::Models::SlowRequestsBasedTrigger end - def ramp_up_rule - Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule + def status_codes_based_trigger + Azure::Web::Mgmt::V2018_02_01::Models::StatusCodesBasedTrigger end - def hybrid_connection_collection - Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionCollection + def requests_based_trigger + Azure::Web::Mgmt::V2018_02_01::Models::RequestsBasedTrigger end - def handler_mapping - Azure::Web::Mgmt::V2018_02_01::Models::HandlerMapping + def application_stack + Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStack end - def billing_meter_collection - Azure::Web::Mgmt::V2018_02_01::Models::BillingMeterCollection + def auto_heal_rules + Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules end - def name_value_pair - Azure::Web::Mgmt::V2018_02_01::Models::NameValuePair + def stack_major_version + Azure::Web::Mgmt::V2018_02_01::Models::StackMajorVersion end - def csm_move_resource_envelope - Azure::Web::Mgmt::V2018_02_01::Models::CsmMoveResourceEnvelope + def ramp_up_rule + Azure::Web::Mgmt::V2018_02_01::Models::RampUpRule end - def capability - Azure::Web::Mgmt::V2018_02_01::Models::Capability + def deployment_locations + Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations end - def worker_pool_collection - Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolCollection + def virtual_directory + Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory end - def resource - Azure::Web::Mgmt::V2018_02_01::Models::Resource + def identifier_collection + Azure::Web::Mgmt::V2018_02_01::Models::IdentifierCollection end - def hosting_environment_deployment_info - Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo + def handler_mapping + Azure::Web::Mgmt::V2018_02_01::Models::HandlerMapping end def name_identifier Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifier end - def deployment_locations - Azure::Web::Mgmt::V2018_02_01::Models::DeploymentLocations - end - def metric_specification - Azure::Web::Mgmt::V2018_02_01::Models::MetricSpecification + def conn_string_info + Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo end - def geo_region_collection - Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection + def site_config + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfig end - def csm_operation_description - Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescription + def resource_metric_property + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricProperty end def global_csm_sku_description Azure::Web::Mgmt::V2018_02_01::Models::GlobalCsmSkuDescription end - def host_name - Azure::Web::Mgmt::V2018_02_01::Models::HostName + def resource_metric_value + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricValue end - def usage_collection - Azure::Web::Mgmt::V2018_02_01::Models::UsageCollection + def sku_capacity + Azure::Web::Mgmt::V2018_02_01::Models::SkuCapacity end - def domain_collection - Azure::Web::Mgmt::V2018_02_01::Models::DomainCollection + def resource_metric + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetric end - def premier_add_on_offer_collection - Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnOfferCollection + def geo_region_collection + Azure::Web::Mgmt::V2018_02_01::Models::GeoRegionCollection end - def file_system_http_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::FileSystemHttpLogsConfig + def resource_metric_collection + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricCollection end - def resource_name_availability - Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability + def virtual_network_profile + Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile end - def tld_legal_agreement_collection - Azure::Web::Mgmt::V2018_02_01::Models::TldLegalAgreementCollection + def resource_metric_definition_collection + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinitionCollection end - def resource_name_availability_request - Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailabilityRequest + def virtual_ipmapping + Azure::Web::Mgmt::V2018_02_01::Models::VirtualIPMapping end - def private_access_subnet - Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessSubnet + def web_app_collection + Azure::Web::Mgmt::V2018_02_01::Models::WebAppCollection end - def sku_infos - Azure::Web::Mgmt::V2018_02_01::Models::SkuInfos + def network_access_control_entry + Azure::Web::Mgmt::V2018_02_01::Models::NetworkAccessControlEntry end - def site_seal - Azure::Web::Mgmt::V2018_02_01::Models::SiteSeal + def deleted_site + Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite end - def stamp_capacity_collection - Azure::Web::Mgmt::V2018_02_01::Models::StampCapacityCollection + def app_service_plan_collection + Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanCollection end - def site_cloneability - Azure::Web::Mgmt::V2018_02_01::Models::SiteCloneability + def deleted_web_app_collection + Azure::Web::Mgmt::V2018_02_01::Models::DeletedWebAppCollection end - def source_control_collection - Azure::Web::Mgmt::V2018_02_01::Models::SourceControlCollection + def validate_response_error + Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError end - def slot_swap_status - Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus + def solution + Azure::Web::Mgmt::V2018_02_01::Models::Solution end - def validate_request - Azure::Web::Mgmt::V2018_02_01::Models::ValidateRequest + def resource_metric_name + Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricName end - def slow_requests_based_trigger - Azure::Web::Mgmt::V2018_02_01::Models::SlowRequestsBasedTrigger + def detector_abnormal_time_period + Azure::Web::Mgmt::V2018_02_01::Models::DetectorAbnormalTimePeriod end - def validate_response_error - Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponseError + def resource_name_availability + Azure::Web::Mgmt::V2018_02_01::Models::ResourceNameAvailability end - def virtual_directory - Azure::Web::Mgmt::V2018_02_01::Models::VirtualDirectory + def abnormal_time_period + Azure::Web::Mgmt::V2018_02_01::Models::AbnormalTimePeriod end - def validate_response - Azure::Web::Mgmt::V2018_02_01::Models::ValidateResponse + def slot_swap_status + Azure::Web::Mgmt::V2018_02_01::Models::SlotSwapStatus end - def host_name_ssl_state - Azure::Web::Mgmt::V2018_02_01::Models::HostNameSslState + def hosting_environment_deployment_info + Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDeploymentInfo end - def sku_info_collection - Azure::Web::Mgmt::V2018_02_01::Models::SkuInfoCollection + def cors_settings + Azure::Web::Mgmt::V2018_02_01::Models::CorsSettings end - def default_error_response_error - Azure::Web::Mgmt::V2018_02_01::Models::DefaultErrorResponseError + def diagnostic_metric_sample + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSample end - def sku_info - Azure::Web::Mgmt::V2018_02_01::Models::SkuInfo + def auto_heal_triggers + Azure::Web::Mgmt::V2018_02_01::Models::AutoHealTriggers end - def csm_operation_description_properties - Azure::Web::Mgmt::V2018_02_01::Models::CsmOperationDescriptionProperties + def diagnostic_metric_set + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticMetricSet end - def metric_availabilily - Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailabilily + def experiments + Azure::Web::Mgmt::V2018_02_01::Models::Experiments end - def function_envelope_collection - Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelopeCollection + def data_source + Azure::Web::Mgmt::V2018_02_01::Models::DataSource end - def file_system_application_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::FileSystemApplicationLogsConfig + def site_machine_key + Azure::Web::Mgmt::V2018_02_01::Models::SiteMachineKey end - def name_identifier_collection - Azure::Web::Mgmt::V2018_02_01::Models::NameIdentifierCollection + def response_meta_data + Azure::Web::Mgmt::V2018_02_01::Models::ResponseMetaData end - def azure_table_storage_application_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::AzureTableStorageApplicationLogsConfig + def host_name_ssl_state + Azure::Web::Mgmt::V2018_02_01::Models::HostNameSslState end - def perf_mon_counter_collection - Azure::Web::Mgmt::V2018_02_01::Models::PerfMonCounterCollection + def analysis_data + Azure::Web::Mgmt::V2018_02_01::Models::AnalysisData end - def azure_blob_storage_application_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageApplicationLogsConfig + def sku_description + Azure::Web::Mgmt::V2018_02_01::Models::SkuDescription end - def http_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::HttpLogsConfig + def csm_move_resource_envelope + Azure::Web::Mgmt::V2018_02_01::Models::CsmMoveResourceEnvelope end - def application_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::ApplicationLogsConfig + def worker_pool + Azure::Web::Mgmt::V2018_02_01::Models::WorkerPool end - def auto_heal_rules - Azure::Web::Mgmt::V2018_02_01::Models::AutoHealRules + def data_table_response_column + Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseColumn end - def azure_blob_storage_http_logs_config - Azure::Web::Mgmt::V2018_02_01::Models::AzureBlobStorageHttpLogsConfig + def app_service_environment + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironment end - def sku_description - Azure::Web::Mgmt::V2018_02_01::Models::SkuDescription + def data_table_response_object + Azure::Web::Mgmt::V2018_02_01::Models::DataTableResponseObject end - def hosting_environment_diagnostics - Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDiagnostics + def validate_request + Azure::Web::Mgmt::V2018_02_01::Models::ValidateRequest end - def address - Azure::Web::Mgmt::V2018_02_01::Models::Address + def detector_info + Azure::Web::Mgmt::V2018_02_01::Models::DetectorInfo end - def database_backup_setting - Azure::Web::Mgmt::V2018_02_01::Models::DatabaseBackupSetting + def proxy_only_resource + Azure::Web::Mgmt::V2018_02_01::Models::ProxyOnlyResource end - def top_level_domain_agreement_option - Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomainAgreementOption + def rendering + Azure::Web::Mgmt::V2018_02_01::Models::Rendering end - def app_service_environment_collection - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection + def auto_heal_actions + Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActions end - def api_definition_info - Azure::Web::Mgmt::V2018_02_01::Models::ApiDefinitionInfo + def diagnostic_data + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticData end - def backup_item_collection - Azure::Web::Mgmt::V2018_02_01::Models::BackupItemCollection + def virtual_application + Azure::Web::Mgmt::V2018_02_01::Models::VirtualApplication end - def metric_availability - Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailability + def billing_meter_collection + Azure::Web::Mgmt::V2018_02_01::Models::BillingMeterCollection end - def backup_schedule - Azure::Web::Mgmt::V2018_02_01::Models::BackupSchedule + def capability + Azure::Web::Mgmt::V2018_02_01::Models::Capability end - def process_thread_info_collection - Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfoCollection + def detector_response_collection + Azure::Web::Mgmt::V2018_02_01::Models::DetectorResponseCollection end - def address_response - Azure::Web::Mgmt::V2018_02_01::Models::AddressResponse + def stamp_capacity + Azure::Web::Mgmt::V2018_02_01::Models::StampCapacity end - def snapshot_collection - Azure::Web::Mgmt::V2018_02_01::Models::SnapshotCollection + def resource_health_metadata_collection + Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadataCollection end - def conn_string_value_type_pair - Azure::Web::Mgmt::V2018_02_01::Models::ConnStringValueTypePair + def sku_infos + Azure::Web::Mgmt::V2018_02_01::Models::SkuInfos end - def conn_string_info - Azure::Web::Mgmt::V2018_02_01::Models::ConnStringInfo + def diagnostic_analysis_collection + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysisCollection end - def web_job_collection - Azure::Web::Mgmt::V2018_02_01::Models::WebJobCollection + def site_limits + Azure::Web::Mgmt::V2018_02_01::Models::SiteLimits end - def app_service_certificate_resource - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateResource + def recommendation_collection + Azure::Web::Mgmt::V2018_02_01::Models::RecommendationCollection end - def app_service_certificate_order - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrder + def diagnostic_category_collection + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategoryCollection end - def app_service_certificate_order_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificateOrderPatchResource + def ip_security_restriction + Azure::Web::Mgmt::V2018_02_01::Models::IpSecurityRestriction end - def app_service_certificate_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceCertificatePatchResource + def diagnostic_detector_collection + Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticDetectorCollection end - def certificate_email - Azure::Web::Mgmt::V2018_02_01::Models::CertificateEmail + def application_stack_collection + Azure::Web::Mgmt::V2018_02_01::Models::ApplicationStackCollection end - def certificate_order_action - Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderAction + def name_value_pair + Azure::Web::Mgmt::V2018_02_01::Models::NameValuePair end - def reissue_certificate_order_request - Azure::Web::Mgmt::V2018_02_01::Models::ReissueCertificateOrderRequest + def stack_minor_version + Azure::Web::Mgmt::V2018_02_01::Models::StackMinorVersion end - def renew_certificate_order_request - Azure::Web::Mgmt::V2018_02_01::Models::RenewCertificateOrderRequest + def certificate_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource end def vnet_route Azure::Web::Mgmt::V2018_02_01::Models::VnetRoute @@ -971,8 +959,8 @@ def vnet_gateway def user Azure::Web::Mgmt::V2018_02_01::Models::User end - def snapshot - Azure::Web::Mgmt::V2018_02_01::Models::Snapshot + def custom_hostname_analysis_result + Azure::Web::Mgmt::V2018_02_01::Models::CustomHostnameAnalysisResult end def resource_metric_definition Azure::Web::Mgmt::V2018_02_01::Models::ResourceMetricDefinition @@ -980,42 +968,18 @@ def resource_metric_definition def push_settings Azure::Web::Mgmt::V2018_02_01::Models::PushSettings end - def identifier - Azure::Web::Mgmt::V2018_02_01::Models::Identifier - end def hybrid_connection_key Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionKey end def hybrid_connection Azure::Web::Mgmt::V2018_02_01::Models::HybridConnection end - def deleted_site - Azure::Web::Mgmt::V2018_02_01::Models::DeletedSite - end def site Azure::Web::Mgmt::V2018_02_01::Models::Site end def app_service_plan Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlan end - def domain - Azure::Web::Mgmt::V2018_02_01::Models::Domain - end - def domain_ownership_identifier - Azure::Web::Mgmt::V2018_02_01::Models::DomainOwnershipIdentifier - end - def domain_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::DomainPatchResource - end - def top_level_domain - Azure::Web::Mgmt::V2018_02_01::Models::TopLevelDomain - end - def certificate - Azure::Web::Mgmt::V2018_02_01::Models::Certificate - end - def certificate_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::CertificatePatchResource - end def detector_definition Azure::Web::Mgmt::V2018_02_01::Models::DetectorDefinition end @@ -1028,6 +992,9 @@ def detector_response def diagnostic_analysis Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticAnalysis end + def domain + Azure::Web::Mgmt::V2018_02_01::Models::Domain + end def diagnostic_category Azure::Web::Mgmt::V2018_02_01::Models::DiagnosticCategory end @@ -1061,45 +1028,6 @@ def vnet_validation_test_failure def vnet_validation_failure_details Azure::Web::Mgmt::V2018_02_01::Models::VnetValidationFailureDetails end - def azure_storage_property_dictionary_resource - Azure::Web::Mgmt::V2018_02_01::Models::AzureStoragePropertyDictionaryResource - end - def backup_item - Azure::Web::Mgmt::V2018_02_01::Models::BackupItem - end - def backup_request - Azure::Web::Mgmt::V2018_02_01::Models::BackupRequest - end - def connection_string_dictionary - Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringDictionary - end - def continuous_web_job - Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJob - end - def custom_hostname_analysis_result - Azure::Web::Mgmt::V2018_02_01::Models::CustomHostnameAnalysisResult - end - def deleted_app_restore_request - Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest - end - def deployment - Azure::Web::Mgmt::V2018_02_01::Models::Deployment - end - def function_envelope - Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelope - end - def function_secrets - Azure::Web::Mgmt::V2018_02_01::Models::FunctionSecrets - end - def host_name_binding - Azure::Web::Mgmt::V2018_02_01::Models::HostNameBinding - end - def msdeploy - Azure::Web::Mgmt::V2018_02_01::Models::MSDeploy - end - def msdeploy_log - Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLog - end def msdeploy_status Azure::Web::Mgmt::V2018_02_01::Models::MSDeployStatus end @@ -1118,12 +1046,6 @@ def network_features def premier_add_on Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOn end - def premier_add_on_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnPatchResource - end - def private_access - Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess - end def process_thread_info Azure::Web::Mgmt::V2018_02_01::Models::ProcessThreadInfo end @@ -1133,26 +1055,29 @@ def process_module_info def process_info Azure::Web::Mgmt::V2018_02_01::Models::ProcessInfo end - def public_certificate - Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificate + def backup_request + Azure::Web::Mgmt::V2018_02_01::Models::BackupRequest end - def restore_request - Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest + def operation + Azure::Web::Mgmt::V2018_02_01::Models::Operation + end + def continuous_web_job + Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJob end def site_auth_settings Azure::Web::Mgmt::V2018_02_01::Models::SiteAuthSettings end - def site_config_resource - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource + def function_envelope + Azure::Web::Mgmt::V2018_02_01::Models::FunctionEnvelope end - def site_configuration_snapshot_info - Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo + def function_secrets + Azure::Web::Mgmt::V2018_02_01::Models::FunctionSecrets end - def site_extension_info - Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo + def host_name_binding + Azure::Web::Mgmt::V2018_02_01::Models::HostNameBinding end - def site_instance - Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance + def msdeploy + Azure::Web::Mgmt::V2018_02_01::Models::MSDeploy end def site_logs_config Azure::Web::Mgmt::V2018_02_01::Models::SiteLogsConfig @@ -1166,17 +1091,14 @@ def site_php_error_log_flag def site_source_control Azure::Web::Mgmt::V2018_02_01::Models::SiteSourceControl end - def slot_config_names_resource - Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource + def log_specification + Azure::Web::Mgmt::V2018_02_01::Models::LogSpecification end def slot_difference Azure::Web::Mgmt::V2018_02_01::Models::SlotDifference end - def snapshot_restore_request - Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRestoreRequest - end - def storage_migration_options - Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationOptions + def service_specification + Azure::Web::Mgmt::V2018_02_01::Models::ServiceSpecification end def storage_migration_response Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationResponse @@ -1184,47 +1106,80 @@ def storage_migration_response def string_dictionary Azure::Web::Mgmt::V2018_02_01::Models::StringDictionary end - def swift_virtual_network - Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork - end def triggered_job_run Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobRun end - def triggered_job_history - Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistory + def deleted_app_restore_request + Azure::Web::Mgmt::V2018_02_01::Models::DeletedAppRestoreRequest end - def triggered_web_job - Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJob + def premier_add_on_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::PremierAddOnPatchResource end - def web_job - Azure::Web::Mgmt::V2018_02_01::Models::WebJob + def connection_string_dictionary + Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringDictionary end - def app_service_environment_resource - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentResource + def snapshot_restore_request + Azure::Web::Mgmt::V2018_02_01::Models::SnapshotRestoreRequest + end + def site_config_resource + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigResource + end + def site_configuration_snapshot_info + Azure::Web::Mgmt::V2018_02_01::Models::SiteConfigurationSnapshotInfo + end + def site_extension_info + Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionInfo + end + def site_instance + Azure::Web::Mgmt::V2018_02_01::Models::SiteInstance + end + def ip_filter_tag + Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag + end + def key_vault_secret_status + Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus + end + def resource_health_metadata + Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadata + end + def managed_service_identity_type + Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentityType + end + def slot_config_names_resource + Azure::Web::Mgmt::V2018_02_01::Models::SlotConfigNamesResource + end + def connection_string_type + Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringType + end + def storage_migration_options + Azure::Web::Mgmt::V2018_02_01::Models::StorageMigrationOptions end - def app_service_environment_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentPatchResource + def managed_pipeline_mode + Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode end - def metric_definition - Azure::Web::Mgmt::V2018_02_01::Models::MetricDefinition + def site_load_balancing + Azure::Web::Mgmt::V2018_02_01::Models::SiteLoadBalancing end - def usage - Azure::Web::Mgmt::V2018_02_01::Models::Usage + def supported_tls_versions + Azure::Web::Mgmt::V2018_02_01::Models::SupportedTlsVersions end - def worker_pool_resource - Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolResource + def triggered_job_history + Azure::Web::Mgmt::V2018_02_01::Models::TriggeredJobHistory end - def app_service_plan_patch_resource - Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanPatchResource + def public_certificate + Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificate end - def hybrid_connection_limits - Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits + def restore_request + Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest end - def resource_health_metadata - Azure::Web::Mgmt::V2018_02_01::Models::ResourceHealthMetadata + def private_access + Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccess end - def key_vault_secret_status - Azure::Web::Mgmt::V2018_02_01::Models::KeyVaultSecretStatus + def status_options + Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions + end + def swift_virtual_network + Azure::Web::Mgmt::V2018_02_01::Models::SwiftVirtualNetwork end def certificate_product_type Azure::Web::Mgmt::V2018_02_01::Models::CertificateProductType @@ -1232,74 +1187,83 @@ def certificate_product_type def provisioning_state Azure::Web::Mgmt::V2018_02_01::Models::ProvisioningState end - def certificate_order_status - Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderStatus - end def certificate_order_action_type Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderActionType end + def ssl_state + Azure::Web::Mgmt::V2018_02_01::Models::SslState + end + def azure_storage_type + Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageType + end def route_type Azure::Web::Mgmt::V2018_02_01::Models::RouteType end - def managed_service_identity_type - Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentityType - end - def ip_filter_tag - Azure::Web::Mgmt::V2018_02_01::Models::IpFilterTag + def ftps_state + Azure::Web::Mgmt::V2018_02_01::Models::FtpsState end def auto_heal_action_type Azure::Web::Mgmt::V2018_02_01::Models::AutoHealActionType end - def connection_string_type - Azure::Web::Mgmt::V2018_02_01::Models::ConnectionStringType - end - def azure_storage_type - Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageType - end - def azure_storage_state - Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageState + def host_name_type + Azure::Web::Mgmt::V2018_02_01::Models::HostNameType end def scm_type Azure::Web::Mgmt::V2018_02_01::Models::ScmType end - def managed_pipeline_mode - Azure::Web::Mgmt::V2018_02_01::Models::ManagedPipelineMode - end - def site_load_balancing - Azure::Web::Mgmt::V2018_02_01::Models::SiteLoadBalancing + def compute_mode_options + Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions end - def supported_tls_versions - Azure::Web::Mgmt::V2018_02_01::Models::SupportedTlsVersions + def worker_size_options + Azure::Web::Mgmt::V2018_02_01::Models::WorkerSizeOptions end - def ftps_state - Azure::Web::Mgmt::V2018_02_01::Models::FtpsState + def access_control_entry_action + Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction end - def ssl_state - Azure::Web::Mgmt::V2018_02_01::Models::SslState + def solution_type + Azure::Web::Mgmt::V2018_02_01::Models::SolutionType end - def host_type - Azure::Web::Mgmt::V2018_02_01::Models::HostType + def triggered_web_job + Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJob end - def usage_state - Azure::Web::Mgmt::V2018_02_01::Models::UsageState + def web_job + Azure::Web::Mgmt::V2018_02_01::Models::WebJob end def site_availability_state Azure::Web::Mgmt::V2018_02_01::Models::SiteAvailabilityState end - def status_options - Azure::Web::Mgmt::V2018_02_01::Models::StatusOptions + def channels + Azure::Web::Mgmt::V2018_02_01::Models::Channels end - def domain_status - Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus + def hosting_environment_status + Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentStatus end - def azure_resource_type - Azure::Web::Mgmt::V2018_02_01::Models::AzureResourceType + def internal_load_balancing_mode + Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode end - def custom_host_name_dns_record_type - Azure::Web::Mgmt::V2018_02_01::Models::CustomHostNameDnsRecordType + def check_name_resource_types + Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes end - def host_name_type - Azure::Web::Mgmt::V2018_02_01::Models::HostNameType + def certificate_order_status + Azure::Web::Mgmt::V2018_02_01::Models::CertificateOrderStatus + end + def web_job_type + Azure::Web::Mgmt::V2018_02_01::Models::WebJobType + end + def publishing_profile_format + Azure::Web::Mgmt::V2018_02_01::Models::PublishingProfileFormat + end + def rendering_type + Azure::Web::Mgmt::V2018_02_01::Models::RenderingType + end + def azure_storage_state + Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageState + end + def usage_state + Azure::Web::Mgmt::V2018_02_01::Models::UsageState + end + def domain_status + Azure::Web::Mgmt::V2018_02_01::Models::DomainStatus end def dns_type Azure::Web::Mgmt::V2018_02_01::Models::DnsType @@ -1307,41 +1271,68 @@ def dns_type def domain_type Azure::Web::Mgmt::V2018_02_01::Models::DomainType end - def hosting_environment_status - Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentStatus + def my_sql_migration_type + Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType end - def internal_load_balancing_mode - Azure::Web::Mgmt::V2018_02_01::Models::InternalLoadBalancingMode + def issue_type + Azure::Web::Mgmt::V2018_02_01::Models::IssueType end - def compute_mode_options - Azure::Web::Mgmt::V2018_02_01::Models::ComputeModeOptions + def app_service_environment_collection + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentCollection end - def worker_size_options - Azure::Web::Mgmt::V2018_02_01::Models::WorkerSizeOptions + def hosting_environment_diagnostics + Azure::Web::Mgmt::V2018_02_01::Models::HostingEnvironmentDiagnostics end - def access_control_entry_action - Azure::Web::Mgmt::V2018_02_01::Models::AccessControlEntryAction + def address_response + Azure::Web::Mgmt::V2018_02_01::Models::AddressResponse end - def operation_status - Azure::Web::Mgmt::V2018_02_01::Models::OperationStatus + def sku_info_collection + Azure::Web::Mgmt::V2018_02_01::Models::SkuInfoCollection end - def issue_type - Azure::Web::Mgmt::V2018_02_01::Models::IssueType + def resource_collection + Azure::Web::Mgmt::V2018_02_01::Models::ResourceCollection end - def solution_type - Azure::Web::Mgmt::V2018_02_01::Models::SolutionType + def managed_service_identity + Azure::Web::Mgmt::V2018_02_01::Models::ManagedServiceIdentity end - def rendering_type - Azure::Web::Mgmt::V2018_02_01::Models::RenderingType + def worker_pool_collection + Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolCollection end - def resource_scope_type - Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType + def hybrid_connection_collection + Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionCollection end - def notification_level - Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel + def sku_info + Azure::Web::Mgmt::V2018_02_01::Models::SkuInfo end - def channels - Azure::Web::Mgmt::V2018_02_01::Models::Channels + def usage_collection + Azure::Web::Mgmt::V2018_02_01::Models::UsageCollection + end + def metric_availabilily + Azure::Web::Mgmt::V2018_02_01::Models::MetricAvailabilily + end + def stamp_capacity_collection + Azure::Web::Mgmt::V2018_02_01::Models::StampCapacityCollection + end + def app_service_environment_resource + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentResource + end + def app_service_environment_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::AppServiceEnvironmentPatchResource + end + def metric_definition + Azure::Web::Mgmt::V2018_02_01::Models::MetricDefinition + end + def worker_pool_resource + Azure::Web::Mgmt::V2018_02_01::Models::WorkerPoolResource + end + def app_service_plan_patch_resource + Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanPatchResource + end + def hybrid_connection_limits + Azure::Web::Mgmt::V2018_02_01::Models::HybridConnectionLimits + end + def host_type + Azure::Web::Mgmt::V2018_02_01::Models::HostType end def app_service_plan_restrictions Azure::Web::Mgmt::V2018_02_01::Models::AppServicePlanRestrictions @@ -1349,12 +1340,18 @@ def app_service_plan_restrictions def in_availability_reason_type Azure::Web::Mgmt::V2018_02_01::Models::InAvailabilityReasonType end - def check_name_resource_types - Azure::Web::Mgmt::V2018_02_01::Models::CheckNameResourceTypes + def built_in_authentication_provider + Azure::Web::Mgmt::V2018_02_01::Models::BuiltInAuthenticationProvider end def validate_resource_types Azure::Web::Mgmt::V2018_02_01::Models::ValidateResourceTypes end + def site_extension_type + Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType + end + def triggered_web_job_status + Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobStatus + end def log_level Azure::Web::Mgmt::V2018_02_01::Models::LogLevel end @@ -1367,51 +1364,54 @@ def database_type def frequency_unit Azure::Web::Mgmt::V2018_02_01::Models::FrequencyUnit end - def continuous_web_job_status - Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus - end - def web_job_type - Azure::Web::Mgmt::V2018_02_01::Models::WebJobType + def resource_scope_type + Azure::Web::Mgmt::V2018_02_01::Models::ResourceScopeType end - def publishing_profile_format - Azure::Web::Mgmt::V2018_02_01::Models::PublishingProfileFormat + def contact + Azure::Web::Mgmt::V2018_02_01::Models::Contact end def dns_verification_test_result Azure::Web::Mgmt::V2018_02_01::Models::DnsVerificationTestResult end + def azure_resource_type + Azure::Web::Mgmt::V2018_02_01::Models::AzureResourceType + end + def custom_host_name_dns_record_type + Azure::Web::Mgmt::V2018_02_01::Models::CustomHostNameDnsRecordType + end def msdeploy_log_entry_type Azure::Web::Mgmt::V2018_02_01::Models::MSDeployLogEntryType end def msdeploy_provisioning_state Azure::Web::Mgmt::V2018_02_01::Models::MSDeployProvisioningState end - def my_sql_migration_type - Azure::Web::Mgmt::V2018_02_01::Models::MySqlMigrationType - end def public_certificate_location Azure::Web::Mgmt::V2018_02_01::Models::PublicCertificateLocation end - def backup_restore_operation_type - Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType - end def unauthenticated_client_action Azure::Web::Mgmt::V2018_02_01::Models::UnauthenticatedClientAction end - def built_in_authentication_provider - Azure::Web::Mgmt::V2018_02_01::Models::BuiltInAuthenticationProvider - end def clone_ability_result Azure::Web::Mgmt::V2018_02_01::Models::CloneAbilityResult end - def site_extension_type - Azure::Web::Mgmt::V2018_02_01::Models::SiteExtensionType - end - def triggered_web_job_status - Azure::Web::Mgmt::V2018_02_01::Models::TriggeredWebJobStatus + def notification_level + Azure::Web::Mgmt::V2018_02_01::Models::NotificationLevel end def sku_name Azure::Web::Mgmt::V2018_02_01::Models::SkuName end + def backup_restore_operation_type + Azure::Web::Mgmt::V2018_02_01::Models::BackupRestoreOperationType + end + def continuous_web_job_status + Azure::Web::Mgmt::V2018_02_01::Models::ContinuousWebJobStatus + end + def usage + Azure::Web::Mgmt::V2018_02_01::Models::Usage + end + def identifier + Azure::Web::Mgmt::V2018_02_01::Models::Identifier + end end end end diff --git a/azure_sdk/lib/latest/modules/websearch_profile_module.rb b/azure_sdk/lib/latest/modules/websearch_profile_module.rb index 55a3a0b7ee..4e0687940d 100644 --- a/azure_sdk/lib/latest/modules/websearch_profile_module.rb +++ b/azure_sdk/lib/latest/modules/websearch_profile_module.rb @@ -9,47 +9,47 @@ module WebSearch Web = Azure::CognitiveServices::WebSearch::V1_0::Web module Models + Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle + News = Azure::CognitiveServices::WebSearch::V1_0::Models::News + ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase + QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext + Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query RankingRankingItem = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem RankingRankingGroup = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup - WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag RankingRankingResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse - WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping - Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error - Query = Azure::CognitiveServices::WebSearch::V1_0::Models::Query + Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response + SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse TimeZoneTimeZoneInformation = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation - ResponseBase = Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase - QueryContext = Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext - ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject - CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + WebMetaTag = Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag WebPage = Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage - NewsArticle = Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle + CreativeWork = Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork + WebWebGrouping = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping VideoObject = Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject Identifiable = Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable - Response = Azure::CognitiveServices::WebSearch::V1_0::Models::Response - SearchResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse - Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing Answer = Azure::CognitiveServices::WebSearch::V1_0::Models::Answer - Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation + Thing = Azure::CognitiveServices::WebSearch::V1_0::Models::Thing SearchResultsAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer - WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer + Computation = Azure::CognitiveServices::WebSearch::V1_0::Models::Computation Images = Azure::CognitiveServices::WebSearch::V1_0::Models::Images - News = Azure::CognitiveServices::WebSearch::V1_0::Models::News + WebWebAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer + TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone + Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article + ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode RelatedSearchesRelatedSearchAnswer = Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer SpellSuggestions = Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions - TimeZone = Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone - Videos = Azure::CognitiveServices::WebSearch::V1_0::Models::Videos - Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places ErrorResponse = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse - Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible - MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject - Article = Azure::CognitiveServices::WebSearch::V1_0::Models::Article - StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue - AnswerType = Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType ErrorCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode - ErrorSubCode = Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode - Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness SafeSearch = Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + Freshness = Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + ImageObject = Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject + Places = Azure::CognitiveServices::WebSearch::V1_0::Models::Places TextFormat = Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + Intangible = Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible + MediaObject = Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject + StructuredValue = Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue + Error = Azure::CognitiveServices::WebSearch::V1_0::Models::Error end class WebSearchDataClass @@ -82,47 +82,56 @@ def method_missing(method, *args) end class ModelClasses + def videos + Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + end + def answer_type + Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType + end + def news_article + Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle + end + def news + Azure::CognitiveServices::WebSearch::V1_0::Models::News + end + def response_base + Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase + end + def query_context + Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext + end + def query + Azure::CognitiveServices::WebSearch::V1_0::Models::Query + end def ranking_ranking_item Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingItem end def ranking_ranking_group Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingGroup end - def web_meta_tag - Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag - end def ranking_ranking_response Azure::CognitiveServices::WebSearch::V1_0::Models::RankingRankingResponse end - def web_web_grouping - Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping - end - def error - Azure::CognitiveServices::WebSearch::V1_0::Models::Error + def response + Azure::CognitiveServices::WebSearch::V1_0::Models::Response end - def query - Azure::CognitiveServices::WebSearch::V1_0::Models::Query + def search_response + Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse end def time_zone_time_zone_information Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation end - def response_base - Azure::CognitiveServices::WebSearch::V1_0::Models::ResponseBase - end - def query_context - Azure::CognitiveServices::WebSearch::V1_0::Models::QueryContext + def web_meta_tag + Azure::CognitiveServices::WebSearch::V1_0::Models::WebMetaTag end - def image_object - Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject + def web_page + Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage end def creative_work Azure::CognitiveServices::WebSearch::V1_0::Models::CreativeWork end - def web_page - Azure::CognitiveServices::WebSearch::V1_0::Models::WebPage - end - def news_article - Azure::CognitiveServices::WebSearch::V1_0::Models::NewsArticle + def web_web_grouping + Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebGrouping end def video_object Azure::CognitiveServices::WebSearch::V1_0::Models::VideoObject @@ -130,32 +139,32 @@ def video_object def identifiable Azure::CognitiveServices::WebSearch::V1_0::Models::Identifiable end - def response - Azure::CognitiveServices::WebSearch::V1_0::Models::Response - end - def search_response - Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResponse + def answer + Azure::CognitiveServices::WebSearch::V1_0::Models::Answer end def thing Azure::CognitiveServices::WebSearch::V1_0::Models::Thing end - def answer - Azure::CognitiveServices::WebSearch::V1_0::Models::Answer + def search_results_answer + Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer end def computation Azure::CognitiveServices::WebSearch::V1_0::Models::Computation end - def search_results_answer - Azure::CognitiveServices::WebSearch::V1_0::Models::SearchResultsAnswer + def images + Azure::CognitiveServices::WebSearch::V1_0::Models::Images end def web_web_answer Azure::CognitiveServices::WebSearch::V1_0::Models::WebWebAnswer end - def images - Azure::CognitiveServices::WebSearch::V1_0::Models::Images + def time_zone + Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone end - def news - Azure::CognitiveServices::WebSearch::V1_0::Models::News + def article + Azure::CognitiveServices::WebSearch::V1_0::Models::Article + end + def error_sub_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode end def related_searches_related_search_answer Azure::CognitiveServices::WebSearch::V1_0::Models::RelatedSearchesRelatedSearchAnswer @@ -163,17 +172,26 @@ def related_searches_related_search_answer def spell_suggestions Azure::CognitiveServices::WebSearch::V1_0::Models::SpellSuggestions end - def time_zone - Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZone + def error_response + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse end - def videos - Azure::CognitiveServices::WebSearch::V1_0::Models::Videos + def error_code + Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode + end + def safe_search + Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch + end + def freshness + Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness + end + def image_object + Azure::CognitiveServices::WebSearch::V1_0::Models::ImageObject end def places Azure::CognitiveServices::WebSearch::V1_0::Models::Places end - def error_response - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorResponse + def text_format + Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat end def intangible Azure::CognitiveServices::WebSearch::V1_0::Models::Intangible @@ -181,29 +199,11 @@ def intangible def media_object Azure::CognitiveServices::WebSearch::V1_0::Models::MediaObject end - def article - Azure::CognitiveServices::WebSearch::V1_0::Models::Article - end def structured_value Azure::CognitiveServices::WebSearch::V1_0::Models::StructuredValue end - def answer_type - Azure::CognitiveServices::WebSearch::V1_0::Models::AnswerType - end - def error_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorCode - end - def error_sub_code - Azure::CognitiveServices::WebSearch::V1_0::Models::ErrorSubCode - end - def freshness - Azure::CognitiveServices::WebSearch::V1_0::Models::Freshness - end - def safe_search - Azure::CognitiveServices::WebSearch::V1_0::Models::SafeSearch - end - def text_format - Azure::CognitiveServices::WebSearch::V1_0::Models::TextFormat + def error + Azure::CognitiveServices::WebSearch::V1_0::Models::Error end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/compute_profile_module.rb index 3d49eb5831..3fb1b4bb87 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,6 +7,8 @@ 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 @@ -14,84 +16,71 @@ module Mgmt 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 module Models - DiagnosticsProfile = Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile + Plan = Azure::Compute::Mgmt::V2016_03_30::Models::Plan InstanceViewStatus = Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewStatus - VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionHandlerInstanceView - VaultCertificate = Azure::Compute::Mgmt::V2016_03_30::Models::VaultCertificate - VaultSecretGroup = Azure::Compute::Mgmt::V2016_03_30::Models::VaultSecretGroup - VirtualMachineSize = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSize - OSProfile = Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile - InnerError = Azure::Compute::Mgmt::V2016_03_30::Models::InnerError - VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionInstanceView - NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile - Resource = Azure::Compute::Mgmt::V2016_03_30::Models::Resource - BootDiagnostics = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics - PurchasePlan = Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan - SubResource = Azure::Compute::Mgmt::V2016_03_30::Models::SubResource - DataDiskImage = Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage - ApiErrorBase = Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase - UsageName = Azure::Compute::Mgmt::V2016_03_30::Models::UsageName - VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView - ListUsagesResult = Azure::Compute::Mgmt::V2016_03_30::Models::ListUsagesResult - DiskInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::DiskInstanceView - ApiError = Azure::Compute::Mgmt::V2016_03_30::Models::ApiError - BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnosticsInstanceView - HardwareProfile = Azure::Compute::Mgmt::V2016_03_30::Models::HardwareProfile - VirtualMachineIdentity = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineIdentity - KeyVaultSecretReference = Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultSecretReference - VirtualMachineInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineInstanceView - DiskEncryptionSettings = Azure::Compute::Mgmt::V2016_03_30::Models::DiskEncryptionSettings - VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMListResult + KeyVaultKeyReference = Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultKeyReference + 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 - VirtualMachineListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineListResult StorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile - Sku = Azure::Compute::Mgmt::V2016_03_30::Models::Sku + VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetStorageProfile WinRMListener = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMListener - UpgradePolicy = Azure::Compute::Mgmt::V2016_03_30::Models::UpgradePolicy WindowsConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration - VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetIdentity - SshConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::SshConfiguration - VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSProfile - AvailabilitySetListResult = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult - VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSDisk - OperationStatusResponse = Azure::Compute::Mgmt::V2016_03_30::Models::OperationStatusResponse - VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetStorageProfile - VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionsListResult ApiEntityReference = Azure::Compute::Mgmt::V2016_03_30::Models::ApiEntityReference - ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2016_03_30::Models::ComputeLongRunningOperationProperties - VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceView - VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureParameters - VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListSkusResult - ImageReference = Azure::Compute::Mgmt::V2016_03_30::Models::ImageReference + SshConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::SshConfiguration + VaultCertificate = Azure::Compute::Mgmt::V2016_03_30::Models::VaultCertificate + OSProfile = Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile + NetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile + DiagnosticsProfile = Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile + VirtualMachineAgentInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView + BootDiagnosticsInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnosticsInstanceView VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetNetworkProfile - VirtualHardDisk = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualHardDisk - VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSku - AdditionalUnattendContent = Azure::Compute::Mgmt::V2016_03_30::Models::AdditionalUnattendContent VirtualMachineScaleSetExtensionProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetExtensionProfile - SshPublicKey = Azure::Compute::Mgmt::V2016_03_30::Models::SshPublicKey VirtualMachineScaleSetVMProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMProfile - VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSizeListResult - VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSkuCapacity - OSDiskImage = Azure::Compute::Mgmt::V2016_03_30::Models::OSDiskImage + DataDiskImage = Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage + ListUsagesResult = Azure::Compute::Mgmt::V2016_03_30::Models::ListUsagesResult + HardwareProfile = Azure::Compute::Mgmt::V2016_03_30::Models::HardwareProfile + OperationStatusResponse = Azure::Compute::Mgmt::V2016_03_30::Models::OperationStatusResponse + DiskEncryptionSettings = Azure::Compute::Mgmt::V2016_03_30::Models::DiskEncryptionSettings VirtualMachineScaleSetVMInstanceIDs = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs - Plan = Azure::Compute::Mgmt::V2016_03_30::Models::Plan - VirtualMachineScaleSetVMInstanceRequiredIDs = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs DataDisk = Azure::Compute::Mgmt::V2016_03_30::Models::DataDisk + VirtualMachineScaleSetVMInstanceRequiredIDs = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs + WinRMConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMConfiguration VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineStatusCodeCount LinuxConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::LinuxConfiguration VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary - Usage = Azure::Compute::Mgmt::V2016_03_30::Models::Usage VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary - WinRMConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::WinRMConfiguration + VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionHandlerInstanceView VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceView - KeyVaultKeyReference = Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultKeyReference + VirtualMachineIdentity = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineIdentity VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListResult - UpdateResource = Azure::Compute::Mgmt::V2016_03_30::Models::UpdateResource + VirtualMachineListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineListResult VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListWithLinkResult + VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSkuCapacity + VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionInstanceView + VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSku + UsageName = Azure::Compute::Mgmt::V2016_03_30::Models::UsageName + VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListSkusResult + KeyVaultSecretReference = Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultSecretReference + AdditionalUnattendContent = Azure::Compute::Mgmt::V2016_03_30::Models::AdditionalUnattendContent + VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceView + VaultSecretGroup = Azure::Compute::Mgmt::V2016_03_30::Models::VaultSecretGroup + DiskInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::DiskInstanceView + VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMListResult + UpgradePolicy = Azure::Compute::Mgmt::V2016_03_30::Models::UpgradePolicy + PurchasePlan = Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan + ApiErrorBase = Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase + BootDiagnostics = Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics + InnerError = Azure::Compute::Mgmt::V2016_03_30::Models::InnerError + VirtualMachineSize = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSize + ApiError = Azure::Compute::Mgmt::V2016_03_30::Models::ApiError + SshPublicKey = Azure::Compute::Mgmt::V2016_03_30::Models::SshPublicKey + UpdateResource = Azure::Compute::Mgmt::V2016_03_30::Models::UpdateResource + ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2016_03_30::Models::ComputeLongRunningOperationProperties + VirtualMachineInstanceView = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineInstanceView + Resource = Azure::Compute::Mgmt::V2016_03_30::Models::Resource AvailabilitySet = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySet VirtualMachineExtensionImage = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionImage VirtualMachineImageResource = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineImageResource @@ -99,6 +88,7 @@ module Models VirtualMachineExtensionUpdate = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionUpdate VirtualMachineImage = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineImage VirtualMachineCaptureResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureResult + ImageReference = Azure::Compute::Mgmt::V2016_03_30::Models::ImageReference NetworkInterfaceReference = Azure::Compute::Mgmt::V2016_03_30::Models::NetworkInterfaceReference VirtualMachine = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachine VirtualMachineScaleSetIPConfiguration = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetIPConfiguration @@ -119,10 +109,20 @@ module Models UpgradeMode = Azure::Compute::Mgmt::V2016_03_30::Models::UpgradeMode VirtualMachineScaleSetSkuScaleType = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSkuScaleType InstanceViewTypes = Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewTypes + VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSDisk + SubResource = Azure::Compute::Mgmt::V2016_03_30::Models::SubResource + AvailabilitySetListResult = Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult + VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSizeListResult + VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetIdentity + VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionsListResult + OSDiskImage = Azure::Compute::Mgmt::V2016_03_30::Models::OSDiskImage + Usage = Azure::Compute::Mgmt::V2016_03_30::Models::Usage + VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureParameters + VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSProfile end class ComputeManagementClass - attr_reader :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :virtual_machine_scale_sets, :virtual_machine_scale_set_vms, :configurable, :base_url, :options, :model_classes + attr_reader :virtual_machine_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 def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -132,6 +132,8 @@ 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 @@ -139,8 +141,6 @@ def initialize(configurable, base_url=nil, options=nil) @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 @model_classes = ModelClasses.new end @@ -159,194 +159,95 @@ def method_missing(method, *args) end class ModelClasses - def diagnostics_profile - Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile + def plan + Azure::Compute::Mgmt::V2016_03_30::Models::Plan end def instance_view_status Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewStatus end - def virtual_machine_extension_handler_instance_view - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionHandlerInstanceView - end - def vault_certificate - Azure::Compute::Mgmt::V2016_03_30::Models::VaultCertificate - end - def vault_secret_group - Azure::Compute::Mgmt::V2016_03_30::Models::VaultSecretGroup - end - def virtual_machine_size - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSize - end - def osprofile - Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile - end - def inner_error - Azure::Compute::Mgmt::V2016_03_30::Models::InnerError - end - def virtual_machine_extension_instance_view - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionInstanceView - end - def network_profile - Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile - end - def resource - Azure::Compute::Mgmt::V2016_03_30::Models::Resource - end - def boot_diagnostics - Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics - end - def purchase_plan - Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan - end - def sub_resource - Azure::Compute::Mgmt::V2016_03_30::Models::SubResource - end - def data_disk_image - Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage - end - def api_error_base - Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase - end - def usage_name - Azure::Compute::Mgmt::V2016_03_30::Models::UsageName - end - def virtual_machine_agent_instance_view - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView - end - def list_usages_result - Azure::Compute::Mgmt::V2016_03_30::Models::ListUsagesResult - end - def disk_instance_view - Azure::Compute::Mgmt::V2016_03_30::Models::DiskInstanceView - end - def api_error - Azure::Compute::Mgmt::V2016_03_30::Models::ApiError - end - def boot_diagnostics_instance_view - Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnosticsInstanceView - end - def hardware_profile - Azure::Compute::Mgmt::V2016_03_30::Models::HardwareProfile - end - def virtual_machine_identity - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineIdentity - end - def key_vault_secret_reference - Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultSecretReference - end - def virtual_machine_instance_view - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineInstanceView + def key_vault_key_reference + Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultKeyReference end - def disk_encryption_settings - Azure::Compute::Mgmt::V2016_03_30::Models::DiskEncryptionSettings + def sku + Azure::Compute::Mgmt::V2016_03_30::Models::Sku end - def virtual_machine_scale_set_vmlist_result - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMListResult + def virtual_hard_disk + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualHardDisk end def osdisk Azure::Compute::Mgmt::V2016_03_30::Models::OSDisk end - def virtual_machine_list_result - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineListResult - end def storage_profile Azure::Compute::Mgmt::V2016_03_30::Models::StorageProfile end - def sku - Azure::Compute::Mgmt::V2016_03_30::Models::Sku + 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 upgrade_policy - Azure::Compute::Mgmt::V2016_03_30::Models::UpgradePolicy - end def windows_configuration Azure::Compute::Mgmt::V2016_03_30::Models::WindowsConfiguration end - def virtual_machine_scale_set_identity - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetIdentity + 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 - def virtual_machine_scale_set_osprofile - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSProfile - end - def availability_set_list_result - Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult - end - def virtual_machine_scale_set_osdisk - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSDisk - end - def operation_status_response - Azure::Compute::Mgmt::V2016_03_30::Models::OperationStatusResponse - end - def virtual_machine_scale_set_storage_profile - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetStorageProfile - end - def virtual_machine_extensions_list_result - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionsListResult - end - def api_entity_reference - Azure::Compute::Mgmt::V2016_03_30::Models::ApiEntityReference + def vault_certificate + Azure::Compute::Mgmt::V2016_03_30::Models::VaultCertificate end - def compute_long_running_operation_properties - Azure::Compute::Mgmt::V2016_03_30::Models::ComputeLongRunningOperationProperties + def osprofile + Azure::Compute::Mgmt::V2016_03_30::Models::OSProfile end - def virtual_machine_scale_set_vminstance_view - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceView + def network_profile + Azure::Compute::Mgmt::V2016_03_30::Models::NetworkProfile end - def virtual_machine_capture_parameters - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureParameters + def diagnostics_profile + Azure::Compute::Mgmt::V2016_03_30::Models::DiagnosticsProfile end - def virtual_machine_scale_set_list_skus_result - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListSkusResult + def virtual_machine_agent_instance_view + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineAgentInstanceView end - def image_reference - Azure::Compute::Mgmt::V2016_03_30::Models::ImageReference + def boot_diagnostics_instance_view + Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnosticsInstanceView end def virtual_machine_scale_set_network_profile Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetNetworkProfile end - def virtual_hard_disk - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualHardDisk - end - def virtual_machine_scale_set_sku - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSku - end - def additional_unattend_content - Azure::Compute::Mgmt::V2016_03_30::Models::AdditionalUnattendContent - end def virtual_machine_scale_set_extension_profile Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetExtensionProfile end - def ssh_public_key - Azure::Compute::Mgmt::V2016_03_30::Models::SshPublicKey - end def virtual_machine_scale_set_vmprofile Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMProfile end - def virtual_machine_size_list_result - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSizeListResult + def data_disk_image + Azure::Compute::Mgmt::V2016_03_30::Models::DataDiskImage end - def virtual_machine_scale_set_sku_capacity - Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSkuCapacity + def list_usages_result + Azure::Compute::Mgmt::V2016_03_30::Models::ListUsagesResult end - def osdisk_image - Azure::Compute::Mgmt::V2016_03_30::Models::OSDiskImage + def hardware_profile + Azure::Compute::Mgmt::V2016_03_30::Models::HardwareProfile + end + def operation_status_response + Azure::Compute::Mgmt::V2016_03_30::Models::OperationStatusResponse + end + def disk_encryption_settings + Azure::Compute::Mgmt::V2016_03_30::Models::DiskEncryptionSettings end def virtual_machine_scale_set_vminstance_ids Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceIDs end - def plan - Azure::Compute::Mgmt::V2016_03_30::Models::Plan + def data_disk + Azure::Compute::Mgmt::V2016_03_30::Models::DataDisk end def virtual_machine_scale_set_vminstance_required_ids Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceRequiredIDs end - def data_disk - Azure::Compute::Mgmt::V2016_03_30::Models::DataDisk + def win_rmconfiguration + Azure::Compute::Mgmt::V2016_03_30::Models::WinRMConfiguration end def virtual_machine_status_code_count Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineStatusCodeCount @@ -357,30 +258,96 @@ def linux_configuration def virtual_machine_scale_set_instance_view_statuses_summary Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceViewStatusesSummary end - def usage - Azure::Compute::Mgmt::V2016_03_30::Models::Usage - end def virtual_machine_scale_set_vmextensions_summary Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMExtensionsSummary end - def win_rmconfiguration - Azure::Compute::Mgmt::V2016_03_30::Models::WinRMConfiguration + def virtual_machine_extension_handler_instance_view + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionHandlerInstanceView end def virtual_machine_scale_set_instance_view Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetInstanceView end - def key_vault_key_reference - Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultKeyReference + def virtual_machine_identity + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineIdentity end def virtual_machine_scale_set_list_result Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListResult end - def update_resource - Azure::Compute::Mgmt::V2016_03_30::Models::UpdateResource + def virtual_machine_list_result + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineListResult end def virtual_machine_scale_set_list_with_link_result Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListWithLinkResult end + def virtual_machine_scale_set_sku_capacity + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSkuCapacity + end + def virtual_machine_extension_instance_view + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionInstanceView + end + def virtual_machine_scale_set_sku + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetSku + end + def usage_name + Azure::Compute::Mgmt::V2016_03_30::Models::UsageName + end + def virtual_machine_scale_set_list_skus_result + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetListSkusResult + end + def key_vault_secret_reference + Azure::Compute::Mgmt::V2016_03_30::Models::KeyVaultSecretReference + end + def additional_unattend_content + Azure::Compute::Mgmt::V2016_03_30::Models::AdditionalUnattendContent + end + def virtual_machine_scale_set_vminstance_view + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMInstanceView + end + def vault_secret_group + Azure::Compute::Mgmt::V2016_03_30::Models::VaultSecretGroup + end + def disk_instance_view + Azure::Compute::Mgmt::V2016_03_30::Models::DiskInstanceView + end + def virtual_machine_scale_set_vmlist_result + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetVMListResult + end + def upgrade_policy + Azure::Compute::Mgmt::V2016_03_30::Models::UpgradePolicy + end + def purchase_plan + Azure::Compute::Mgmt::V2016_03_30::Models::PurchasePlan + end + def api_error_base + Azure::Compute::Mgmt::V2016_03_30::Models::ApiErrorBase + end + def boot_diagnostics + Azure::Compute::Mgmt::V2016_03_30::Models::BootDiagnostics + end + def inner_error + Azure::Compute::Mgmt::V2016_03_30::Models::InnerError + end + def virtual_machine_size + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSize + end + def api_error + Azure::Compute::Mgmt::V2016_03_30::Models::ApiError + end + def ssh_public_key + Azure::Compute::Mgmt::V2016_03_30::Models::SshPublicKey + end + def update_resource + Azure::Compute::Mgmt::V2016_03_30::Models::UpdateResource + end + def compute_long_running_operation_properties + Azure::Compute::Mgmt::V2016_03_30::Models::ComputeLongRunningOperationProperties + end + def virtual_machine_instance_view + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineInstanceView + end + def resource + Azure::Compute::Mgmt::V2016_03_30::Models::Resource + end def availability_set Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySet end @@ -402,6 +369,9 @@ def virtual_machine_image def virtual_machine_capture_result Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureResult end + def image_reference + Azure::Compute::Mgmt::V2016_03_30::Models::ImageReference + end def network_interface_reference Azure::Compute::Mgmt::V2016_03_30::Models::NetworkInterfaceReference end @@ -462,6 +432,36 @@ def virtual_machine_scale_set_sku_scale_type def instance_view_types Azure::Compute::Mgmt::V2016_03_30::Models::InstanceViewTypes end + def virtual_machine_scale_set_osdisk + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSDisk + end + def sub_resource + Azure::Compute::Mgmt::V2016_03_30::Models::SubResource + end + def availability_set_list_result + Azure::Compute::Mgmt::V2016_03_30::Models::AvailabilitySetListResult + end + def virtual_machine_size_list_result + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineSizeListResult + end + def virtual_machine_scale_set_identity + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetIdentity + end + def virtual_machine_extensions_list_result + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineExtensionsListResult + end + def osdisk_image + Azure::Compute::Mgmt::V2016_03_30::Models::OSDiskImage + end + def usage + Azure::Compute::Mgmt::V2016_03_30::Models::Usage + end + def virtual_machine_capture_parameters + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineCaptureParameters + end + def virtual_machine_scale_set_osprofile + Azure::Compute::Mgmt::V2016_03_30::Models::VirtualMachineScaleSetOSProfile + 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 2df0a0c543..0f198de28d 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 @@ -18,7 +18,6 @@ module Models MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource 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 @@ -33,6 +32,7 @@ module Models OperationStatus = Azure::Dns::Mgmt::V2016_04_01::Models::OperationStatus HttpStatusCode = Azure::Dns::Mgmt::V2016_04_01::Models::HttpStatusCode RecordType = Azure::Dns::Mgmt::V2016_04_01::Models::RecordType + Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource end class DnsManagementClass @@ -87,9 +87,6 @@ def ptr_record def srv_record Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord end - def resource - Azure::Dns::Mgmt::V2016_04_01::Models::Resource - end def cname_record Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord end @@ -132,6 +129,9 @@ def http_status_code def record_type Azure::Dns::Mgmt::V2016_04_01::Models::RecordType end + def resource + Azure::Dns::Mgmt::V2016_04_01::Models::Resource + 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 92904dc4b8..2e21203c18 100644 --- a/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/features_profile_module.rb @@ -10,12 +10,12 @@ module Mgmt Features = Azure::Features::Mgmt::V2015_12_01::Features module Models - OperationDisplay = Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay - FeatureProperties = Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties Operation = Azure::Features::Mgmt::V2015_12_01::Models::Operation - FeatureOperationsListResult = Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult - OperationListResult = Azure::Features::Mgmt::V2015_12_01::Models::OperationListResult 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 end class FeaturesManagementClass @@ -48,23 +48,23 @@ def method_missing(method, *args) end class ModelClasses - def operation_display - Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay - end - def feature_properties - Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties - end def operation Azure::Features::Mgmt::V2015_12_01::Models::Operation end - def feature_operations_list_result - Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult + 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 - def feature_result - Azure::Features::Mgmt::V2015_12_01::Models::FeatureResult + def feature_properties + Azure::Features::Mgmt::V2015_12_01::Models::FeatureProperties + end + def operation_display + Azure::Features::Mgmt::V2015_12_01::Models::OperationDisplay + end + def feature_operations_list_result + Azure::Features::Mgmt::V2015_12_01::Models::FeatureOperationsListResult 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 883d19cb61..bfaec1ea54 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 @@ -9,6 +9,7 @@ module Azure::Profiles::V2017_03_09 module KeyVault module Models + Action = Azure::KeyVault::V2016_10_01::Models::Action KeyOperationsParameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters KeySignParameters = Azure::KeyVault::V2016_10_01::Models::KeySignParameters JsonWebKey = Azure::KeyVault::V2016_10_01::Models::JsonWebKey @@ -38,13 +39,12 @@ module Models CertificateUpdateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateUpdateParameters SasDefinitionItem = Azure::KeyVault::V2016_10_01::Models::SasDefinitionItem CertificateMergeParameters = Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters - Error = Azure::KeyVault::V2016_10_01::Models::Error CertificateIssuerSetParameters = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerSetParameters IssuerCredentials = Azure::KeyVault::V2016_10_01::Models::IssuerCredentials CertificateIssuerUpdateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerUpdateParameters OrganizationDetails = Azure::KeyVault::V2016_10_01::Models::OrganizationDetails + Error = Azure::KeyVault::V2016_10_01::Models::Error CertificateOperationUpdateParameter = Azure::KeyVault::V2016_10_01::Models::CertificateOperationUpdateParameter - IssuerBundle = Azure::KeyVault::V2016_10_01::Models::IssuerBundle KeyOperationResult = Azure::KeyVault::V2016_10_01::Models::KeyOperationResult Contacts = Azure::KeyVault::V2016_10_01::Models::Contacts KeyVerifyResult = Azure::KeyVault::V2016_10_01::Models::KeyVerifyResult @@ -54,6 +54,7 @@ module Models CertificateIssuerItem = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerItem SecretListResult = Azure::KeyVault::V2016_10_01::Models::SecretListResult X509CertificateProperties = Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties + IssuerBundle = Azure::KeyVault::V2016_10_01::Models::IssuerBundle DeletedSecretListResult = Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult IssuerParameters = Azure::KeyVault::V2016_10_01::Models::IssuerParameters CertificateListResult = Azure::KeyVault::V2016_10_01::Models::CertificateListResult @@ -75,24 +76,23 @@ module Models StorageAccountCreateParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountCreateParameters CertificateOperation = Azure::KeyVault::V2016_10_01::Models::CertificateOperation StorageAccountUpdateParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters - Action = Azure::KeyVault::V2016_10_01::Models::Action StorageAccountRegenerteKeyParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters KeyCreateParameters = Azure::KeyVault::V2016_10_01::Models::KeyCreateParameters StorageAccountItem = Azure::KeyVault::V2016_10_01::Models::StorageAccountItem KeyAttributes = Azure::KeyVault::V2016_10_01::Models::KeyAttributes DeletedKeyBundle = Azure::KeyVault::V2016_10_01::Models::DeletedKeyBundle DeletedKeyItem = Azure::KeyVault::V2016_10_01::Models::DeletedKeyItem - SecretAttributes = Azure::KeyVault::V2016_10_01::Models::SecretAttributes DeletedSecretBundle = Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle DeletedSecretItem = Azure::KeyVault::V2016_10_01::Models::DeletedSecretItem + SecretAttributes = Azure::KeyVault::V2016_10_01::Models::SecretAttributes CertificateAttributes = Azure::KeyVault::V2016_10_01::Models::CertificateAttributes - DeletedCertificateBundle = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle DeletedCertificateItem = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateItem JsonWebKeyType = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyType + DeletedCertificateBundle = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle JsonWebKeyCurveName = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyCurveName - DeletionRecoveryLevel = Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel KeyUsageType = Azure::KeyVault::V2016_10_01::Models::KeyUsageType ActionType = Azure::KeyVault::V2016_10_01::Models::ActionType + DeletionRecoveryLevel = Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel JsonWebKeyOperation = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyOperation JsonWebKeyEncryptionAlgorithm = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyEncryptionAlgorithm JsonWebKeySignatureAlgorithm = Azure::KeyVault::V2016_10_01::Models::JsonWebKeySignatureAlgorithm @@ -127,6 +127,9 @@ def method_missing(method, *args) end class ModelClasses + def action + Azure::KeyVault::V2016_10_01::Models::Action + end def key_operations_parameters Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters end @@ -214,9 +217,6 @@ def sas_definition_item def certificate_merge_parameters Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters end - def error - Azure::KeyVault::V2016_10_01::Models::Error - end def certificate_issuer_set_parameters Azure::KeyVault::V2016_10_01::Models::CertificateIssuerSetParameters end @@ -229,12 +229,12 @@ def certificate_issuer_update_parameters def organization_details Azure::KeyVault::V2016_10_01::Models::OrganizationDetails end + def error + Azure::KeyVault::V2016_10_01::Models::Error + end def certificate_operation_update_parameter Azure::KeyVault::V2016_10_01::Models::CertificateOperationUpdateParameter end - def issuer_bundle - Azure::KeyVault::V2016_10_01::Models::IssuerBundle - end def key_operation_result Azure::KeyVault::V2016_10_01::Models::KeyOperationResult end @@ -262,6 +262,9 @@ def secret_list_result def x509_certificate_properties Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties end + def issuer_bundle + Azure::KeyVault::V2016_10_01::Models::IssuerBundle + end def deleted_secret_list_result Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult end @@ -325,9 +328,6 @@ def certificate_operation def storage_account_update_parameters Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters end - def action - Azure::KeyVault::V2016_10_01::Models::Action - end def storage_account_regenerte_key_parameters Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters end @@ -346,39 +346,39 @@ def deleted_key_bundle def deleted_key_item Azure::KeyVault::V2016_10_01::Models::DeletedKeyItem end - def secret_attributes - Azure::KeyVault::V2016_10_01::Models::SecretAttributes - end def deleted_secret_bundle Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle end def deleted_secret_item Azure::KeyVault::V2016_10_01::Models::DeletedSecretItem end + def secret_attributes + Azure::KeyVault::V2016_10_01::Models::SecretAttributes + end def certificate_attributes Azure::KeyVault::V2016_10_01::Models::CertificateAttributes end - def deleted_certificate_bundle - Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle - end def deleted_certificate_item Azure::KeyVault::V2016_10_01::Models::DeletedCertificateItem end def json_web_key_type Azure::KeyVault::V2016_10_01::Models::JsonWebKeyType end + def deleted_certificate_bundle + Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle + end def json_web_key_curve_name Azure::KeyVault::V2016_10_01::Models::JsonWebKeyCurveName end - def deletion_recovery_level - Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel - end def key_usage_type Azure::KeyVault::V2016_10_01::Models::KeyUsageType end def action_type Azure::KeyVault::V2016_10_01::Models::ActionType end + def deletion_recovery_level + Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel + end def json_web_key_operation Azure::KeyVault::V2016_10_01::Models::JsonWebKeyOperation end @@ -395,20 +395,23 @@ module Mgmt Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations module Models + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions + Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku + Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource + Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason + OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult - Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties - Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult - Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters @@ -417,15 +420,12 @@ module Models Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult - Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName - KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions - CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions + KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions - CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode - Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end class KeyVaultManagementClass @@ -459,24 +459,39 @@ def method_missing(method, *args) end class ModelClasses + 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 permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions + end + def sku + Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku + end + def resource + Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource + end + def reason + Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason + end + def operation_display + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay + end def deleted_vault Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault end def vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult end - def permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions - end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult end def vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties end - def resource - Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource - end def vault_access_policy_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties end @@ -495,12 +510,6 @@ def vault_access_policy_parameters def check_name_availability_result Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult end - def sku - Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - end - def operation_display - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay - end def vault_patch_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties end @@ -525,32 +534,23 @@ def deleted_vault_properties def operation_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult end - def vault - Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault - end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName end - def key_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + def vault + Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault end def secret_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions end - def certificate_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions + def key_permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions end def storage_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions end - def create_mode - Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode - 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 + def certificate_permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb index 398db2e048..e450c025f8 100644 --- a/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/links_profile_module.rb @@ -7,22 +7,22 @@ module Azure::Profiles::V2017_03_09 module Links module Mgmt - Operations = Azure::Links::Mgmt::V2016_09_01::Operations ResourceLinks = Azure::Links::Mgmt::V2016_09_01::ResourceLinks + Operations = Azure::Links::Mgmt::V2016_09_01::Operations module Models ResourceLinkResult = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkResult OperationDisplay = Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay - ResourceLinkProperties = Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties - Operation = Azure::Links::Mgmt::V2016_09_01::Models::Operation 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 - attr_reader :operations, :resource_links, :configurable, :base_url, :options, :model_classes + attr_reader :resource_links, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -32,8 +32,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @resource_links = @client_0.resource_links + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -58,14 +58,14 @@ def resource_link_result def operation_display Azure::Links::Mgmt::V2016_09_01::Models::OperationDisplay end - def resource_link_properties - Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkProperties + def resource_link_filter + Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter end def operation Azure::Links::Mgmt::V2016_09_01::Models::Operation end - def resource_link_filter - Azure::Links::Mgmt::V2016_09_01::Models::ResourceLinkFilter + 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 diff --git a/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb index 9fd4849d18..613649e774 100644 --- a/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb +++ b/azure_sdk/lib/v2017_03_09/modules/locks_profile_module.rb @@ -10,9 +10,9 @@ module Mgmt ManagementLocks = Azure::Locks::Mgmt::V2015_01_01::ManagementLocks module Models + LockLevel = Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel ManagementLockListResult = Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockListResult ManagementLockObject = Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject - LockLevel = Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel end class LocksManagementClass @@ -45,15 +45,15 @@ def method_missing(method, *args) end class ModelClasses + def lock_level + Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel + end def management_lock_list_result Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockListResult end def management_lock_object Azure::Locks::Mgmt::V2015_01_01::Models::ManagementLockObject end - def lock_level - Azure::Locks::Mgmt::V2015_01_01::Models::LockLevel - end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/network_profile_module.rb index 5575c7982b..098c2c0300 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,108 +7,90 @@ module Azure::Profiles::V2017_03_09 module Network module Mgmt - ApplicationGateways = Azure::Network::Mgmt::V2015_06_15::ApplicationGateways - ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitAuthorizations - ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuitPeerings - ExpressRouteCircuits = Azure::Network::Mgmt::V2015_06_15::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2015_06_15::ExpressRouteServiceProviders - LoadBalancers = Azure::Network::Mgmt::V2015_06_15::LoadBalancers - NetworkInterfaces = Azure::Network::Mgmt::V2015_06_15::NetworkInterfaces NetworkSecurityGroups = Azure::Network::Mgmt::V2015_06_15::NetworkSecurityGroups SecurityRules = Azure::Network::Mgmt::V2015_06_15::SecurityRules - PublicIPAddresses = Azure::Network::Mgmt::V2015_06_15::PublicIPAddresses 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 + 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 VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2015_06_15::VirtualNetworkGatewayConnections LocalNetworkGateways = Azure::Network::Mgmt::V2015_06_15::LocalNetworkGateways module Models - ExpressRouteCircuitsStatsListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsStatsListResult - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitListResult - SubResource = Azure::Network::Mgmt::V2015_06_15::Models::SubResource - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderBandwidthsOffered - PublicIPAddressListResult = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressListResult - ApplicationGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress - Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource - ConnectionResetSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey DnsNameAvailabilityResult = Azure::Network::Mgmt::V2015_06_15::Models::DnsNameAvailabilityResult - NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings - NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult AuthorizationListResult = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult - BgpSettings = Azure::Network::Mgmt::V2015_06_15::Models::BgpSettings - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig - VpnClientConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats - VirtualNetworkListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult - SecurityRuleListResult = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult - AddressSpace = Azure::Network::Mgmt::V2015_06_15::Models::AddressSpace - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult - UsagesListResult = Azure::Network::Mgmt::V2015_06_15::Models::UsagesListResult ExpressRouteCircuitSku = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku - UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName - ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties - RouteTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult - NetworkInterfaceListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult - ConnectionSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable - ConnectionSharedKeyResult = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult + RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable - DhcpOptions = Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult - Usage = Azure::Network::Mgmt::V2015_06_15::Models::Usage + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderBandwidthsOffered + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult ApplicationGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku + DhcpOptions = Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions + UsagesListResult = Azure::Network::Mgmt::V2015_06_15::Models::UsagesListResult + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig + ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitListResult + UsageName = Azure::Network::Mgmt::V2015_06_15::Models::UsageName + VpnClientParameters = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable + RouteTableListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGatewayListResult - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult - LoadBalancerListResult = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancerListResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku - AzureAsyncOperationResult = Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult - RouteListResult = Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult - Error = Azure::Network::Mgmt::V2015_06_15::Models::Error + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress + PublicIPAddressListResult = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressListResult + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings + NetworkInterfaceListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult + NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings + Resource = Azure::Network::Mgmt::V2015_06_15::Models::Resource SubnetListResult = Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult - VpnClientParameters = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters - ErrorDetails = Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate - ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration - ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort - BackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool - InboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult + VpnClientConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration SecurityRule = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRule - NetworkInterface = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterface - NetworkSecurityGroup = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup - Route = Azure::Network::Mgmt::V2015_06_15::Models::Route - RouteTable = Azure::Network::Mgmt::V2015_06_15::Models::RouteTable - PublicIPAddress = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress - IPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration - Subnet = Azure::Network::Mgmt::V2015_06_15::Models::Subnet - NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration - ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings + 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 + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration + ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration ApplicationGatewayHttpListener = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener ApplicationGatewayPathRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule + NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration ApplicationGatewayProbe = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProbe - ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRule + InboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayUrlPathMap ApplicationGateway = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGateway + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + Route = Azure::Network::Mgmt::V2015_06_15::Models::Route + ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort + Subnet = Azure::Network::Mgmt::V2015_06_15::Models::Subnet ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization - ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering + RouteTable = Azure::Network::Mgmt::V2015_06_15::Models::RouteTable + NetworkInterface = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterface + NetworkSecurityGroup = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup ExpressRouteCircuit = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit ExpressRouteServiceProvider = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider - FrontendIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration LoadBalancingRule = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule Probe = Azure::Network::Mgmt::V2015_06_15::Models::Probe InboundNatPool = Azure::Network::Mgmt::V2015_06_15::Models::InboundNatPool OutboundNatRule = Azure::Network::Mgmt::V2015_06_15::Models::OutboundNatRule LoadBalancer = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer + TransportProtocol = Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol + ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering + ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRule + SecurityRuleProtocol = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol VirtualNetwork = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayIPConfiguration VpnClientRootCertificate = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientRootCertificate @@ -116,17 +98,17 @@ 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 + SecurityRuleDirection = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection + ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool + BackendAddressPool = Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool + 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 - IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod - TransportProtocol = Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol - SecurityRuleProtocol = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol SecurityRuleAccess = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess - SecurityRuleDirection = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection - RouteNextHopType = Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType ApplicationGatewayProtocol = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol - ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayCookieBasedAffinity + IPAllocationMethod = Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod 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 AuthorizationUseStatus = Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationUseStatus ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState @@ -142,13 +124,31 @@ module Models VpnType = Azure::Network::Mgmt::V2015_06_15::Models::VpnType VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuName VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuTier + Error = Azure::Network::Mgmt::V2015_06_15::Models::Error ProcessorArchitecture = Azure::Network::Mgmt::V2015_06_15::Models::ProcessorArchitecture - VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType VirtualNetworkGatewayConnectionStatus = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionStatus + VirtualNetworkGatewayConnectionType = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType + ExpressRouteCircuitsStatsListResult = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsStatsListResult + ConnectionSharedKeyResult = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult + LoadBalancerListResult = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancerListResult + ConnectionSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey + ConnectionResetSharedKey = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult + ErrorDetails = Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails + AzureAsyncOperationResult = Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult + SubResource = Azure::Network::Mgmt::V2015_06_15::Models::SubResource + BgpSettings = Azure::Network::Mgmt::V2015_06_15::Models::BgpSettings + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku + VirtualNetworkListResult = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayListResult + SecurityRuleListResult = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult + NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult + Usage = Azure::Network::Mgmt::V2015_06_15::Models::Usage + AddressSpace = Azure::Network::Mgmt::V2015_06_15::Models::AddressSpace end class NetworkManagementClass - attr_reader :application_gateways, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :network_interfaces, :network_security_groups, :security_rules, :public_ipaddresses, :route_tables, :routes, :usages, :virtual_networks, :subnets, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :configurable, :base_url, :options, :model_classes + attr_reader :network_security_groups, :security_rules, :route_tables, :routes, :usages, :virtual_networks, :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, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -158,22 +158,22 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @application_gateways = @client_0.application_gateways - @express_route_circuit_authorizations = @client_0.express_route_circuit_authorizations - @express_route_circuit_peerings = @client_0.express_route_circuit_peerings - @express_route_circuits = @client_0.express_route_circuits - @express_route_service_providers = @client_0.express_route_service_providers - @load_balancers = @client_0.load_balancers - @network_interfaces = @client_0.network_interfaces @network_security_groups = @client_0.network_security_groups @security_rules = @client_0.security_rules - @public_ipaddresses = @client_0.public_ipaddresses @route_tables = @client_0.route_tables @routes = @client_0.routes @usages = @client_0.usages @virtual_networks = @client_0.virtual_networks @subnets = @client_0.subnets @virtual_network_gateways = @client_0.virtual_network_gateways + @application_gateways = @client_0.application_gateways + @network_interfaces = @client_0.network_interfaces + @public_ipaddresses = @client_0.public_ipaddresses + @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 @virtual_network_gateway_connections = @client_0.virtual_network_gateway_connections @local_network_gateways = @client_0.local_network_gateways @@ -194,203 +194,119 @@ def method_missing(method, *args) end class ModelClasses - def express_route_circuits_stats_list_result - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsStatsListResult - end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitListResult - end - def sub_resource - Azure::Network::Mgmt::V2015_06_15::Models::SubResource - end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderBandwidthsOffered - end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressListResult - end - def application_gateway_list_result - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayListResult - end - def application_gateway_backend_address - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress - end - def resource - Azure::Network::Mgmt::V2015_06_15::Models::Resource - end - def connection_reset_shared_key - Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey - end def dns_name_availability_result Azure::Network::Mgmt::V2015_06_15::Models::DnsNameAvailabilityResult end - def network_interface_dns_settings - Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings - end - def network_security_group_list_result - Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult - end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult - end def authorization_list_result Azure::Network::Mgmt::V2015_06_15::Models::AuthorizationListResult end - def bgp_settings - Azure::Network::Mgmt::V2015_06_15::Models::BgpSettings + def express_route_circuit_sku + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig + def route_list_result + Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult end - def vpn_client_configuration - Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult end - def express_route_circuit_stats - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult end - def virtual_network_list_result - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderBandwidthsOffered end - def security_rule_list_result - Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult end - def address_space - Azure::Network::Mgmt::V2015_06_15::Models::AddressSpace + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult + def application_gateway_sku + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku + end + def dhcp_options + Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions end def usages_list_result Azure::Network::Mgmt::V2015_06_15::Models::UsagesListResult end - def express_route_circuit_sku - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitSku - end - def usage_name - Azure::Network::Mgmt::V2015_06_15::Models::UsageName + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringConfig end def express_route_circuit_service_provider_properties Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitServiceProviderProperties end - def route_table_list_result - Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult - end - def network_interface_list_result - Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult - end - def connection_shared_key - Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey - end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable - end - def connection_shared_key_result - Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult - end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsArpTableListResult - end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings - end def express_route_circuit_routes_table Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitRoutesTable end - def dhcp_options - Azure::Network::Mgmt::V2015_06_15::Models::DhcpOptions + def express_route_circuit_list_result + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitListResult end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsRoutesTableListResult + def usage_name + Azure::Network::Mgmt::V2015_06_15::Models::UsageName end - def usage - Azure::Network::Mgmt::V2015_06_15::Models::Usage + def vpn_client_parameters + Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters end - def application_gateway_sku - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySku + def express_route_circuit_stats + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitStats + end + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitArpTable + end + def route_table_list_result + Azure::Network::Mgmt::V2015_06_15::Models::RouteTableListResult end def local_network_gateway_list_result Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGatewayListResult end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionListResult + def application_gateway_backend_address + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddress end - def load_balancer_list_result - Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancerListResult + def public_ipaddress_list_result + Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressListResult end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddressDnsSettings end - def azure_async_operation_result - Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult + def network_interface_list_result + Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceListResult end - def route_list_result - Azure::Network::Mgmt::V2015_06_15::Models::RouteListResult + def network_interface_dns_settings + Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceDnsSettings end - def error - Azure::Network::Mgmt::V2015_06_15::Models::Error + def resource + Azure::Network::Mgmt::V2015_06_15::Models::Resource end def subnet_list_result Azure::Network::Mgmt::V2015_06_15::Models::SubnetListResult end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProviderListResult - end - def vpn_client_parameters - Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters - end - def error_details - Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails - end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration - end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate - end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration - end - def application_gateway_frontend_port - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort - end - def backend_address_pool - Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeeringListResult end - def inbound_nat_rule - Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule + def vpn_client_configuration + Azure::Network::Mgmt::V2015_06_15::Models::VpnClientConfiguration end def security_rule Azure::Network::Mgmt::V2015_06_15::Models::SecurityRule 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 - end - def route - Azure::Network::Mgmt::V2015_06_15::Models::Route - end - def route_table - Azure::Network::Mgmt::V2015_06_15::Models::RouteTable - end - def public_ipaddress - Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress + def application_gateway_backend_http_settings + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings end def ipconfiguration Azure::Network::Mgmt::V2015_06_15::Models::IPConfiguration end - def subnet - Azure::Network::Mgmt::V2015_06_15::Models::Subnet + def public_ipaddress + Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress end - def network_interface_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterfaceIPConfiguration + def frontend_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration end - def application_gateway_backend_address_pool - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayIPConfiguration end - def application_gateway_backend_http_settings - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendHttpSettings + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendIPConfiguration end def application_gateway_http_listener Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayHttpListener @@ -398,11 +314,14 @@ def application_gateway_http_listener def application_gateway_path_rule Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayPathRule 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 application_gateway_request_routing_rule - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRule + def inbound_nat_rule + Azure::Network::Mgmt::V2015_06_15::Models::InboundNatRule end def application_gateway_url_path_map Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayUrlPathMap @@ -410,11 +329,29 @@ def application_gateway_url_path_map def application_gateway Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGateway end + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySslCertificate + end + def route + Azure::Network::Mgmt::V2015_06_15::Models::Route + end + def application_gateway_frontend_port + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayFrontendPort + end + def subnet + Azure::Network::Mgmt::V2015_06_15::Models::Subnet + end def express_route_circuit_authorization Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization end - def express_route_circuit_peering - Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering + def route_table + Azure::Network::Mgmt::V2015_06_15::Models::RouteTable + 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 end def express_route_circuit Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit @@ -422,9 +359,6 @@ def express_route_circuit def express_route_service_provider Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteServiceProvider end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2015_06_15::Models::FrontendIPConfiguration - end def load_balancing_rule Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancingRule end @@ -440,6 +374,18 @@ def outbound_nat_rule def load_balancer Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer end + def transport_protocol + Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol + end + def express_route_circuit_peering + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering + end + def application_gateway_request_routing_rule + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRule + end + def security_rule_protocol + Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol + end def virtual_network Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork end @@ -461,39 +407,39 @@ def local_network_gateway def virtual_network_gateway_connection Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection end + def security_rule_direction + Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection + end + def application_gateway_backend_address_pool + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayBackendAddressPool + end + def backend_address_pool + Azure::Network::Mgmt::V2015_06_15::Models::BackendAddressPool + end + def application_gateway_cookie_based_affinity + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayCookieBasedAffinity + end def application_gateway_sku_name Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewaySkuName end def application_gateway_tier Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayTier end - def ipallocation_method - Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod - end - def transport_protocol - Azure::Network::Mgmt::V2015_06_15::Models::TransportProtocol - end - def security_rule_protocol - Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleProtocol - end def security_rule_access Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleAccess end - def security_rule_direction - Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleDirection - end - def route_next_hop_type - Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType - end def application_gateway_protocol Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayProtocol end - def application_gateway_cookie_based_affinity - Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayCookieBasedAffinity + def ipallocation_method + Azure::Network::Mgmt::V2015_06_15::Models::IPAllocationMethod end def application_gateway_request_routing_rule_type Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayRequestRoutingRuleType end + def route_next_hop_type + Azure::Network::Mgmt::V2015_06_15::Models::RouteNextHopType + end def application_gateway_operational_state Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayOperationalState end @@ -539,14 +485,68 @@ def virtual_network_gateway_sku_name def virtual_network_gateway_sku_tier Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySkuTier end + def error + Azure::Network::Mgmt::V2015_06_15::Models::Error + end def processor_architecture Azure::Network::Mgmt::V2015_06_15::Models::ProcessorArchitecture end + def virtual_network_gateway_connection_status + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionStatus + end def virtual_network_gateway_connection_type Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionType end - def virtual_network_gateway_connection_status - Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnectionStatus + def express_route_circuits_stats_list_result + Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitsStatsListResult + end + def connection_shared_key_result + Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKeyResult + end + def load_balancer_list_result + Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancerListResult + end + def connection_shared_key + Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey + end + def connection_reset_shared_key + Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey + end + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayListResult + end + def error_details + Azure::Network::Mgmt::V2015_06_15::Models::ErrorDetails + end + def azure_async_operation_result + Azure::Network::Mgmt::V2015_06_15::Models::AzureAsyncOperationResult + end + def sub_resource + Azure::Network::Mgmt::V2015_06_15::Models::SubResource + end + def bgp_settings + Azure::Network::Mgmt::V2015_06_15::Models::BgpSettings + end + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewaySku + end + def virtual_network_list_result + Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkListResult + end + def application_gateway_list_result + Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGatewayListResult + end + def security_rule_list_result + Azure::Network::Mgmt::V2015_06_15::Models::SecurityRuleListResult + end + def network_security_group_list_result + Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroupListResult + end + def usage + Azure::Network::Mgmt::V2015_06_15::Models::Usage + end + def address_space + Azure::Network::Mgmt::V2015_06_15::Models::AddressSpace 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 bbc74d6759..b85968cb11 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 @@ -7,19 +7,19 @@ module Azure::Profiles::V2017_03_09 module Policy module Mgmt - PolicyAssignments = Azure::Policy::Mgmt::V2015_10_01_preview::PolicyAssignments PolicyDefinitions = Azure::Policy::Mgmt::V2015_10_01_preview::PolicyDefinitions + PolicyAssignments = Azure::Policy::Mgmt::V2015_10_01_preview::PolicyAssignments module Models - PolicyAssignment = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment PolicyDefinition = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinition PolicyAssignmentListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignmentListResult PolicyDefinitionListResult = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyDefinitionListResult PolicyType = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType + PolicyAssignment = Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment end class PolicyManagementClass - attr_reader :policy_assignments, :policy_definitions, :configurable, :base_url, :options, :model_classes + attr_reader :policy_definitions, :policy_assignments, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -29,8 +29,8 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @policy_assignments = @client_0.policy_assignments @policy_definitions = @client_0.policy_definitions + @policy_assignments = @client_0.policy_assignments @model_classes = ModelClasses.new end @@ -49,9 +49,6 @@ def method_missing(method, *args) end class ModelClasses - 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 @@ -64,6 +61,9 @@ def policy_definition_list_result def policy_type Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyType end + def policy_assignment + Azure::Policy::Mgmt::V2015_10_01_preview::Models::PolicyAssignment + end end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/resources_profile_module.rb index 855dd74068..e64d93f47d 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 @@ -10,61 +10,61 @@ module Mgmt Deployments = Azure::Resources::Mgmt::V2016_02_01::Deployments Providers = Azure::Resources::Mgmt::V2016_02_01::Providers ResourceGroups = Azure::Resources::Mgmt::V2016_02_01::ResourceGroups - Resources = Azure::Resources::Mgmt::V2016_02_01::Resources Tags = Azure::Resources::Mgmt::V2016_02_01::Tags + Resources = Azure::Resources::Mgmt::V2016_02_01::Resources DeploymentOperations = Azure::Resources::Mgmt::V2016_02_01::DeploymentOperations module Models + Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan + ResourceIdentityType = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType Sku = Azure::Resources::Mgmt::V2016_02_01::Models::Sku - DeploymentExtendedFilter = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter + Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter Identity = Azure::Resources::Mgmt::V2016_02_01::Models::Identity - ResourceGroupFilter = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter TemplateLink = Azure::Resources::Mgmt::V2016_02_01::Models::TemplateLink - DebugSetting = Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting - ResourceListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceListResult + ParametersLink = Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink Deployment = Azure::Resources::Mgmt::V2016_02_01::Models::Deployment ResourceGroupProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupProperties ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceManagementErrorWithDetails ResourceGroup = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroup AliasType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasType - ResourceGroupListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult Provider = Azure::Resources::Mgmt::V2016_02_01::Models::Provider + ResourceGroupListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult ResourcesMoveInfo = Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo - Dependency = Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended ExportTemplateRequest = Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest - DeploymentValidateResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult + DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended TagCount = Azure::Resources::Mgmt::V2016_02_01::Models::TagCount - DeploymentListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult + ProviderListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ProviderListResult TagValue = Azure::Resources::Mgmt::V2016_02_01::Models::TagValue - Plan = Azure::Resources::Mgmt::V2016_02_01::Models::Plan + ResourceGroupFilter = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter TagDetails = Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails - ParametersLink = Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink + DeploymentProperties = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties TagsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult - DeploymentExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult + AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType TargetResource = Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource - ProviderResourceType = Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType + BasicDependency = Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency HttpMessage = Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage - DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended + DeploymentValidateResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult DeploymentOperationProperties = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationProperties - ProviderListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ProviderListResult + DeploymentExtendedFilter = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter DeploymentOperation = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperation - DeploymentProperties = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties + DeploymentExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult DeploymentOperationsListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult - BasicDependency = Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency - ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties - GenericResourceFilter = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter Resource = Azure::Resources::Mgmt::V2016_02_01::Models::Resource - DeploymentExtended = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended - SubResource = Azure::Resources::Mgmt::V2016_02_01::Models::SubResource - AliasPathType = Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType + ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties + DebugSetting = Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting + DeploymentListResult = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult + ProviderResourceType = Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType ResourceGroupExportResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult GenericResource = Azure::Resources::Mgmt::V2016_02_01::Models::GenericResource DeploymentMode = Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode - ResourceIdentityType = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType + SubResource = Azure::Resources::Mgmt::V2016_02_01::Models::SubResource + ResourceListResult = Azure::Resources::Mgmt::V2016_02_01::Models::ResourceListResult end class ResourcesManagementClass - attr_reader :deployments, :providers, :resource_groups, :resources, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :providers, :resource_groups, :tags, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -77,8 +77,8 @@ def initialize(configurable, base_url=nil, options=nil) @deployments = @client_0.deployments @providers = @client_0.providers @resource_groups = @client_0.resource_groups - @resources = @client_0.resources @tags = @client_0.tags + @resources = @client_0.resources @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new @@ -98,26 +98,29 @@ def method_missing(method, *args) end class ModelClasses + def plan + Azure::Resources::Mgmt::V2016_02_01::Models::Plan + end + def resource_identity_type + Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType + end def sku Azure::Resources::Mgmt::V2016_02_01::Models::Sku end - def deployment_extended_filter - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter + def dependency + Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + end + def generic_resource_filter + Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter end def identity Azure::Resources::Mgmt::V2016_02_01::Models::Identity end - def resource_group_filter - Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter - end def template_link Azure::Resources::Mgmt::V2016_02_01::Models::TemplateLink end - def debug_setting - Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting - end - def resource_list_result - Azure::Resources::Mgmt::V2016_02_01::Models::ResourceListResult + def parameters_link + Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink end def deployment Azure::Resources::Mgmt::V2016_02_01::Models::Deployment @@ -134,95 +137,89 @@ def resource_group def alias_type Azure::Resources::Mgmt::V2016_02_01::Models::AliasType end - def resource_group_list_result - Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult - end def provider Azure::Resources::Mgmt::V2016_02_01::Models::Provider end + def resource_group_list_result + Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupListResult + end def resources_move_info Azure::Resources::Mgmt::V2016_02_01::Models::ResourcesMoveInfo end - def dependency - Azure::Resources::Mgmt::V2016_02_01::Models::Dependency + def deployment_properties_extended + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended end def export_template_request Azure::Resources::Mgmt::V2016_02_01::Models::ExportTemplateRequest end - def deployment_validate_result - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult + def deployment_extended + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended end def tag_count Azure::Resources::Mgmt::V2016_02_01::Models::TagCount end - def deployment_list_result - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult + def provider_list_result + Azure::Resources::Mgmt::V2016_02_01::Models::ProviderListResult end def tag_value Azure::Resources::Mgmt::V2016_02_01::Models::TagValue end - def plan - Azure::Resources::Mgmt::V2016_02_01::Models::Plan + def resource_group_filter + Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupFilter end def tag_details Azure::Resources::Mgmt::V2016_02_01::Models::TagDetails end - def parameters_link - Azure::Resources::Mgmt::V2016_02_01::Models::ParametersLink + def deployment_properties + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties end def tags_list_result Azure::Resources::Mgmt::V2016_02_01::Models::TagsListResult end - def deployment_export_result - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult + def alias_path_type + Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType end def target_resource Azure::Resources::Mgmt::V2016_02_01::Models::TargetResource end - def provider_resource_type - Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType + def basic_dependency + Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency end def http_message Azure::Resources::Mgmt::V2016_02_01::Models::HttpMessage end - def deployment_properties_extended - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentPropertiesExtended + def deployment_validate_result + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentValidateResult end def deployment_operation_properties Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationProperties end - def provider_list_result - Azure::Resources::Mgmt::V2016_02_01::Models::ProviderListResult + def deployment_extended_filter + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtendedFilter end def deployment_operation Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperation end - def deployment_properties - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentProperties + def deployment_export_result + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExportResult end def deployment_operations_list_result Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentOperationsListResult end - def basic_dependency - Azure::Resources::Mgmt::V2016_02_01::Models::BasicDependency + def resource + Azure::Resources::Mgmt::V2016_02_01::Models::Resource end def resource_provider_operation_display_properties Azure::Resources::Mgmt::V2016_02_01::Models::ResourceProviderOperationDisplayProperties end - def generic_resource_filter - Azure::Resources::Mgmt::V2016_02_01::Models::GenericResourceFilter - end - def resource - Azure::Resources::Mgmt::V2016_02_01::Models::Resource - end - def deployment_extended - Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentExtended + def debug_setting + Azure::Resources::Mgmt::V2016_02_01::Models::DebugSetting end - def sub_resource - Azure::Resources::Mgmt::V2016_02_01::Models::SubResource + def deployment_list_result + Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentListResult end - def alias_path_type - Azure::Resources::Mgmt::V2016_02_01::Models::AliasPathType + def provider_resource_type + Azure::Resources::Mgmt::V2016_02_01::Models::ProviderResourceType end def resource_group_export_result Azure::Resources::Mgmt::V2016_02_01::Models::ResourceGroupExportResult @@ -233,8 +230,11 @@ def generic_resource def deployment_mode Azure::Resources::Mgmt::V2016_02_01::Models::DeploymentMode end - def resource_identity_type - Azure::Resources::Mgmt::V2016_02_01::Models::ResourceIdentityType + def sub_resource + Azure::Resources::Mgmt::V2016_02_01::Models::SubResource + end + def resource_list_result + Azure::Resources::Mgmt::V2016_02_01::Models::ResourceListResult end end end diff --git a/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb b/azure_sdk/lib/v2017_03_09/modules/storage_profile_module.rb index 7b84bfc0bc..6d6dfaacf3 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 @@ -11,34 +11,34 @@ module Mgmt UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations module Models - StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters - StorageAccountKey = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey - Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku - StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult - EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService - StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult - Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints - StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain - UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName - StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters - Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices UsageListResult = Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult - CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult - Resource = Azure::Storage::Mgmt::V2016_01_01::Models::Resource - StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason - SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName + Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku + UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind - ProvisioningState = Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState - AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + 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 + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason + ProvisioningState = Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState + CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult + 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 + Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption end class StorageManagementClass @@ -72,89 +72,89 @@ def method_missing(method, *args) end class ModelClasses - def storage_account_check_name_availability_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters + def storage_account_regenerate_key_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters end - def storage_account_key - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey + def endpoints + Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints + end + def custom_domain + Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain + end + def encryption_services + Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices + 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 storage_account_list_result - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult + def usage_name + Azure::Storage::Mgmt::V2016_01_01::Models::UsageName end - def encryption_service - Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService + def sku_tier + Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - def storage_account_list_keys_result - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult + def storage_account + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount end - def encryption - Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + def kind + Azure::Storage::Mgmt::V2016_01_01::Models::Kind end - def storage_account_regenerate_key_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + def access_tier + Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier end - def endpoints - Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints + def key_permission + Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission end - def storage_account_update_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters + def account_status + Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end - def custom_domain - Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain + def storage_account_list_keys_result + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult end - def usage_name - Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end def storage_account_create_parameters Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters end - def usage - Azure::Storage::Mgmt::V2016_01_01::Models::Usage - 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 check_name_availability_result - Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult + def storage_account_update_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters end def resource Azure::Storage::Mgmt::V2016_01_01::Models::Resource end - def storage_account - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount - end def reason Azure::Storage::Mgmt::V2016_01_01::Models::Reason end + def provisioning_state + Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState + end + def check_name_availability_result + Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult + end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end - def sku_tier - Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - end - def access_tier - Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + def storage_account_check_name_availability_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters end - def kind - Azure::Storage::Mgmt::V2016_01_01::Models::Kind + def storage_account_key + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey end - def provisioning_state - Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState + def usage + Azure::Storage::Mgmt::V2016_01_01::Models::Usage end - def account_status - Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + def storage_account_list_result + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult end - def key_permission - Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + def encryption_service + Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService end - def usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def encryption + Azure::Storage::Mgmt::V2016_01_01::Models::Encryption 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 b67c33ef3c..ac2a226d0b 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 - Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations module Models - TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + 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 - OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult - Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription - OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult + Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end class SubscriptionsManagementClass - attr_reader :operations, :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes + attr_reader :subscriptions, :tenants, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -37,9 +37,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @subscriptions = @client_0.subscriptions @tenants = @client_0.tenants + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -58,39 +58,39 @@ def method_missing(method, *args) end class ModelClasses - def tenant_id_description - Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - end def location Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location end + def 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 - def operation_display - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay - end def subscription_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult end - def operation - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation - end def subscription Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription end - def operation_list_result - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult - end def location_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult end + def operation + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation + end def subscription_state Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState 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 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 778531386d..ac8f77afcf 100644 --- a/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/compute_profile_module.rb @@ -7,14 +7,6 @@ module Azure::Profiles::V2018_03_01 module Compute module Mgmt - AvailabilitySets = Azure::Compute::Mgmt::V2017_03_30::AvailabilitySets - VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineExtensionImages - VirtualMachineExtensions = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineExtensions - VirtualMachines = Azure::Compute::Mgmt::V2017_03_30::VirtualMachines - VirtualMachineImages = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineImages - UsageOperations = Azure::Compute::Mgmt::V2017_03_30::UsageOperations - VirtualMachineSizes = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineSizes - Images = Azure::Compute::Mgmt::V2017_03_30::Images ResourceSkus = Azure::Compute::Mgmt::V2017_03_30::ResourceSkus VirtualMachineScaleSets = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineScaleSets VirtualMachineScaleSetExtensions = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineScaleSetExtensions @@ -23,31 +15,16 @@ module Mgmt Disks = Azure::Compute::Mgmt::V2017_03_30::Disks Snapshots = Azure::Compute::Mgmt::V2017_03_30::Snapshots VirtualMachineRunCommands = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineRunCommands + AvailabilitySets = Azure::Compute::Mgmt::V2017_03_30::AvailabilitySets + VirtualMachineExtensionImages = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineExtensionImages + VirtualMachineExtensions = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineExtensions + VirtualMachines = Azure::Compute::Mgmt::V2017_03_30::VirtualMachines + VirtualMachineImages = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineImages + UsageOperations = Azure::Compute::Mgmt::V2017_03_30::UsageOperations + VirtualMachineSizes = Azure::Compute::Mgmt::V2017_03_30::VirtualMachineSizes + Images = Azure::Compute::Mgmt::V2017_03_30::Images module Models - VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetManagedDiskParameters - VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetOSDisk - SubResource = Azure::Compute::Mgmt::V2017_03_30::Models::SubResource - VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateOSDisk - EncryptionSettings = Azure::Compute::Mgmt::V2017_03_30::Models::EncryptionSettings - AvailabilitySetListResult = Azure::Compute::Mgmt::V2017_03_30::Models::AvailabilitySetListResult - ImageListResult = Azure::Compute::Mgmt::V2017_03_30::Models::ImageListResult - VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineSizeListResult - VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetIdentity - RunCommandListResult = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandListResult - ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCapacity - RunCommandDocumentBase = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandDocumentBase - ResourceSkuCosts = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCosts - VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineExtensionsListResult - ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCapabilities - OSDiskImage = Azure::Compute::Mgmt::V2017_03_30::Models::OSDiskImage - ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuRestrictions - RunCommandInput = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandInput - ResourceSku = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSku - Usage = Azure::Compute::Mgmt::V2017_03_30::Models::Usage - ResourceSkusResult = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkusResult - VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureParameters - VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetOSProfile Plan = Azure::Compute::Mgmt::V2017_03_30::Models::Plan VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateOSProfile SnapshotList = Azure::Compute::Mgmt::V2017_03_30::Models::SnapshotList @@ -194,10 +171,33 @@ module Models DiskCreateOption = Azure::Compute::Mgmt::V2017_03_30::Models::DiskCreateOption AccessLevel = Azure::Compute::Mgmt::V2017_03_30::Models::AccessLevel InstanceViewTypes = Azure::Compute::Mgmt::V2017_03_30::Models::InstanceViewTypes + VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetManagedDiskParameters + VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetOSDisk + SubResource = Azure::Compute::Mgmt::V2017_03_30::Models::SubResource + VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateOSDisk + EncryptionSettings = Azure::Compute::Mgmt::V2017_03_30::Models::EncryptionSettings + AvailabilitySetListResult = Azure::Compute::Mgmt::V2017_03_30::Models::AvailabilitySetListResult + ImageListResult = Azure::Compute::Mgmt::V2017_03_30::Models::ImageListResult + VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineSizeListResult + VirtualMachineScaleSetIdentity = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetIdentity + RunCommandListResult = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandListResult + ResourceSkuCapacity = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCapacity + RunCommandDocumentBase = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandDocumentBase + ResourceSkuCosts = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCosts + VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineExtensionsListResult + ResourceSkuCapabilities = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCapabilities + OSDiskImage = Azure::Compute::Mgmt::V2017_03_30::Models::OSDiskImage + ResourceSkuRestrictions = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuRestrictions + RunCommandInput = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandInput + ResourceSku = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSku + Usage = Azure::Compute::Mgmt::V2017_03_30::Models::Usage + ResourceSkusResult = Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkusResult + VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureParameters + VirtualMachineScaleSetOSProfile = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetOSProfile end class ComputeManagementClass - attr_reader :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :resource_skus, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :disks, :snapshots, :virtual_machine_run_commands, :configurable, :base_url, :options, :model_classes + attr_reader :resource_skus, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :disks, :snapshots, :virtual_machine_run_commands, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machines, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -207,14 +207,6 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @availability_sets = @client_0.availability_sets - @virtual_machine_extension_images = @client_0.virtual_machine_extension_images - @virtual_machine_extensions = @client_0.virtual_machine_extensions - @virtual_machines = @client_0.virtual_machines - @virtual_machine_images = @client_0.virtual_machine_images - @usage_operations = @client_0.usage_operations - @virtual_machine_sizes = @client_0.virtual_machine_sizes - @images = @client_0.images @resource_skus = @client_0.resource_skus @virtual_machine_scale_sets = @client_0.virtual_machine_scale_sets @virtual_machine_scale_set_extensions = @client_0.virtual_machine_scale_set_extensions @@ -223,6 +215,14 @@ def initialize(configurable, base_url=nil, options=nil) @disks = @client_0.disks @snapshots = @client_0.snapshots @virtual_machine_run_commands = @client_0.virtual_machine_run_commands + @availability_sets = @client_0.availability_sets + @virtual_machine_extension_images = @client_0.virtual_machine_extension_images + @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 + @images = @client_0.images @model_classes = ModelClasses.new end @@ -241,75 +241,6 @@ def method_missing(method, *args) end class ModelClasses - def virtual_machine_scale_set_managed_disk_parameters - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetManagedDiskParameters - end - def virtual_machine_scale_set_osdisk - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetOSDisk - end - def sub_resource - Azure::Compute::Mgmt::V2017_03_30::Models::SubResource - end - def virtual_machine_scale_set_update_osdisk - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateOSDisk - end - def encryption_settings - Azure::Compute::Mgmt::V2017_03_30::Models::EncryptionSettings - end - def availability_set_list_result - Azure::Compute::Mgmt::V2017_03_30::Models::AvailabilitySetListResult - end - def image_list_result - Azure::Compute::Mgmt::V2017_03_30::Models::ImageListResult - end - def virtual_machine_size_list_result - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineSizeListResult - end - def virtual_machine_scale_set_identity - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetIdentity - end - def run_command_list_result - Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandListResult - end - def resource_sku_capacity - Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCapacity - end - def run_command_document_base - Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandDocumentBase - end - def resource_sku_costs - Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCosts - end - def virtual_machine_extensions_list_result - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineExtensionsListResult - end - def resource_sku_capabilities - Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCapabilities - end - def osdisk_image - Azure::Compute::Mgmt::V2017_03_30::Models::OSDiskImage - end - def resource_sku_restrictions - Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuRestrictions - end - def run_command_input - Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandInput - end - def resource_sku - Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSku - end - def usage - Azure::Compute::Mgmt::V2017_03_30::Models::Usage - end - def resource_skus_result - Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkusResult - end - def virtual_machine_capture_parameters - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureParameters - end - def virtual_machine_scale_set_osprofile - Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetOSProfile - end def plan Azure::Compute::Mgmt::V2017_03_30::Models::Plan end @@ -748,6 +679,75 @@ def access_level def instance_view_types Azure::Compute::Mgmt::V2017_03_30::Models::InstanceViewTypes end + def virtual_machine_scale_set_managed_disk_parameters + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetManagedDiskParameters + end + def virtual_machine_scale_set_osdisk + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetOSDisk + end + def sub_resource + Azure::Compute::Mgmt::V2017_03_30::Models::SubResource + end + def virtual_machine_scale_set_update_osdisk + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateOSDisk + end + def encryption_settings + Azure::Compute::Mgmt::V2017_03_30::Models::EncryptionSettings + end + def availability_set_list_result + Azure::Compute::Mgmt::V2017_03_30::Models::AvailabilitySetListResult + end + def image_list_result + Azure::Compute::Mgmt::V2017_03_30::Models::ImageListResult + end + def virtual_machine_size_list_result + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineSizeListResult + end + def virtual_machine_scale_set_identity + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetIdentity + end + def run_command_list_result + Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandListResult + end + def resource_sku_capacity + Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCapacity + end + def run_command_document_base + Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandDocumentBase + end + def resource_sku_costs + Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCosts + end + def virtual_machine_extensions_list_result + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineExtensionsListResult + end + def resource_sku_capabilities + Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuCapabilities + end + def osdisk_image + Azure::Compute::Mgmt::V2017_03_30::Models::OSDiskImage + end + def resource_sku_restrictions + Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkuRestrictions + end + def run_command_input + Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandInput + end + def resource_sku + Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSku + end + def usage + Azure::Compute::Mgmt::V2017_03_30::Models::Usage + end + def resource_skus_result + Azure::Compute::Mgmt::V2017_03_30::Models::ResourceSkusResult + end + def virtual_machine_capture_parameters + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureParameters + end + def virtual_machine_scale_set_osprofile + Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetOSProfile + 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 14cfdd76c9..b8bf0dd519 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 @@ -18,7 +18,6 @@ module Models MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord - Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource 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 @@ -33,6 +32,7 @@ module Models OperationStatus = Azure::Dns::Mgmt::V2016_04_01::Models::OperationStatus HttpStatusCode = Azure::Dns::Mgmt::V2016_04_01::Models::HttpStatusCode RecordType = Azure::Dns::Mgmt::V2016_04_01::Models::RecordType + Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource end class DnsManagementClass @@ -87,9 +87,6 @@ def ptr_record def srv_record Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord end - def resource - Azure::Dns::Mgmt::V2016_04_01::Models::Resource - end def cname_record Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord end @@ -132,6 +129,9 @@ def http_status_code def record_type Azure::Dns::Mgmt::V2016_04_01::Models::RecordType end + def resource + Azure::Dns::Mgmt::V2016_04_01::Models::Resource + 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 37308f7249..29fe081b6c 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 @@ -9,6 +9,7 @@ module Azure::Profiles::V2018_03_01 module KeyVault module Models + Action = Azure::KeyVault::V2016_10_01::Models::Action KeyOperationsParameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters KeySignParameters = Azure::KeyVault::V2016_10_01::Models::KeySignParameters JsonWebKey = Azure::KeyVault::V2016_10_01::Models::JsonWebKey @@ -38,13 +39,12 @@ module Models CertificateUpdateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateUpdateParameters SasDefinitionItem = Azure::KeyVault::V2016_10_01::Models::SasDefinitionItem CertificateMergeParameters = Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters - Error = Azure::KeyVault::V2016_10_01::Models::Error CertificateIssuerSetParameters = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerSetParameters IssuerCredentials = Azure::KeyVault::V2016_10_01::Models::IssuerCredentials CertificateIssuerUpdateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerUpdateParameters OrganizationDetails = Azure::KeyVault::V2016_10_01::Models::OrganizationDetails + Error = Azure::KeyVault::V2016_10_01::Models::Error CertificateOperationUpdateParameter = Azure::KeyVault::V2016_10_01::Models::CertificateOperationUpdateParameter - IssuerBundle = Azure::KeyVault::V2016_10_01::Models::IssuerBundle KeyOperationResult = Azure::KeyVault::V2016_10_01::Models::KeyOperationResult Contacts = Azure::KeyVault::V2016_10_01::Models::Contacts KeyVerifyResult = Azure::KeyVault::V2016_10_01::Models::KeyVerifyResult @@ -54,6 +54,7 @@ module Models CertificateIssuerItem = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerItem SecretListResult = Azure::KeyVault::V2016_10_01::Models::SecretListResult X509CertificateProperties = Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties + IssuerBundle = Azure::KeyVault::V2016_10_01::Models::IssuerBundle DeletedSecretListResult = Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult IssuerParameters = Azure::KeyVault::V2016_10_01::Models::IssuerParameters CertificateListResult = Azure::KeyVault::V2016_10_01::Models::CertificateListResult @@ -75,24 +76,23 @@ module Models StorageAccountCreateParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountCreateParameters CertificateOperation = Azure::KeyVault::V2016_10_01::Models::CertificateOperation StorageAccountUpdateParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters - Action = Azure::KeyVault::V2016_10_01::Models::Action StorageAccountRegenerteKeyParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters KeyCreateParameters = Azure::KeyVault::V2016_10_01::Models::KeyCreateParameters StorageAccountItem = Azure::KeyVault::V2016_10_01::Models::StorageAccountItem KeyAttributes = Azure::KeyVault::V2016_10_01::Models::KeyAttributes DeletedKeyBundle = Azure::KeyVault::V2016_10_01::Models::DeletedKeyBundle DeletedKeyItem = Azure::KeyVault::V2016_10_01::Models::DeletedKeyItem - SecretAttributes = Azure::KeyVault::V2016_10_01::Models::SecretAttributes DeletedSecretBundle = Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle DeletedSecretItem = Azure::KeyVault::V2016_10_01::Models::DeletedSecretItem + SecretAttributes = Azure::KeyVault::V2016_10_01::Models::SecretAttributes CertificateAttributes = Azure::KeyVault::V2016_10_01::Models::CertificateAttributes - DeletedCertificateBundle = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle DeletedCertificateItem = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateItem JsonWebKeyType = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyType + DeletedCertificateBundle = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle JsonWebKeyCurveName = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyCurveName - DeletionRecoveryLevel = Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel KeyUsageType = Azure::KeyVault::V2016_10_01::Models::KeyUsageType ActionType = Azure::KeyVault::V2016_10_01::Models::ActionType + DeletionRecoveryLevel = Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel JsonWebKeyOperation = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyOperation JsonWebKeyEncryptionAlgorithm = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyEncryptionAlgorithm JsonWebKeySignatureAlgorithm = Azure::KeyVault::V2016_10_01::Models::JsonWebKeySignatureAlgorithm @@ -127,6 +127,9 @@ def method_missing(method, *args) end class ModelClasses + def action + Azure::KeyVault::V2016_10_01::Models::Action + end def key_operations_parameters Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters end @@ -214,9 +217,6 @@ def sas_definition_item def certificate_merge_parameters Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters end - def error - Azure::KeyVault::V2016_10_01::Models::Error - end def certificate_issuer_set_parameters Azure::KeyVault::V2016_10_01::Models::CertificateIssuerSetParameters end @@ -229,12 +229,12 @@ def certificate_issuer_update_parameters def organization_details Azure::KeyVault::V2016_10_01::Models::OrganizationDetails end + def error + Azure::KeyVault::V2016_10_01::Models::Error + end def certificate_operation_update_parameter Azure::KeyVault::V2016_10_01::Models::CertificateOperationUpdateParameter end - def issuer_bundle - Azure::KeyVault::V2016_10_01::Models::IssuerBundle - end def key_operation_result Azure::KeyVault::V2016_10_01::Models::KeyOperationResult end @@ -262,6 +262,9 @@ def secret_list_result def x509_certificate_properties Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties end + def issuer_bundle + Azure::KeyVault::V2016_10_01::Models::IssuerBundle + end def deleted_secret_list_result Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult end @@ -325,9 +328,6 @@ def certificate_operation def storage_account_update_parameters Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters end - def action - Azure::KeyVault::V2016_10_01::Models::Action - end def storage_account_regenerte_key_parameters Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters end @@ -346,39 +346,39 @@ def deleted_key_bundle def deleted_key_item Azure::KeyVault::V2016_10_01::Models::DeletedKeyItem end - def secret_attributes - Azure::KeyVault::V2016_10_01::Models::SecretAttributes - end def deleted_secret_bundle Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle end def deleted_secret_item Azure::KeyVault::V2016_10_01::Models::DeletedSecretItem end + def secret_attributes + Azure::KeyVault::V2016_10_01::Models::SecretAttributes + end def certificate_attributes Azure::KeyVault::V2016_10_01::Models::CertificateAttributes end - def deleted_certificate_bundle - Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle - end def deleted_certificate_item Azure::KeyVault::V2016_10_01::Models::DeletedCertificateItem end def json_web_key_type Azure::KeyVault::V2016_10_01::Models::JsonWebKeyType end + def deleted_certificate_bundle + Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle + end def json_web_key_curve_name Azure::KeyVault::V2016_10_01::Models::JsonWebKeyCurveName end - def deletion_recovery_level - Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel - end def key_usage_type Azure::KeyVault::V2016_10_01::Models::KeyUsageType end def action_type Azure::KeyVault::V2016_10_01::Models::ActionType end + def deletion_recovery_level + Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel + end def json_web_key_operation Azure::KeyVault::V2016_10_01::Models::JsonWebKeyOperation end @@ -395,20 +395,23 @@ module Mgmt Operations = Azure::KeyVault::Mgmt::V2016_10_01::Operations module Models + AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode + Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions + Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku + Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource + Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason + OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult - Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties - Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCheckNameAvailabilityParameters VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyParameters CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult - Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - OperationDisplay = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay VaultPatchProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties LogSpecification = Azure::KeyVault::Mgmt::V2016_10_01::Models::LogSpecification VaultPatchParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchParameters @@ -417,15 +420,12 @@ module Models Operation = Azure::KeyVault::Mgmt::V2016_10_01::Models::Operation DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties OperationListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult - Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName - KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions - CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions + KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions - CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode - Reason = Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason - AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyUpdateKind + CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end class KeyVaultManagementClass @@ -459,24 +459,39 @@ def method_missing(method, *args) end class ModelClasses + 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 permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions + end + def sku + Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku + end + def resource + Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource + end + def reason + Azure::KeyVault::Mgmt::V2016_10_01::Models::Reason + end + def operation_display + Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay + end def deleted_vault Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault end def vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult end - def permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions - end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult end def vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties end - def resource - Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource - end def vault_access_policy_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultAccessPolicyProperties end @@ -495,12 +510,6 @@ def vault_access_policy_parameters def check_name_availability_result Azure::KeyVault::Mgmt::V2016_10_01::Models::CheckNameAvailabilityResult end - def sku - Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku - end - def operation_display - Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationDisplay - end def vault_patch_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultPatchProperties end @@ -525,32 +534,23 @@ def deleted_vault_properties def operation_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::OperationListResult end - def vault - Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault - end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName end - def key_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions + def vault + Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault end def secret_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions end - def certificate_permissions - Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions + def key_permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions end def storage_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions end - def create_mode - Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode - 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 + def certificate_permissions + Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions 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 d108315fbd..a6095942bd 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,21 +7,7 @@ module Azure::Profiles::V2018_03_01 module Network module Mgmt - ApplicationGateways = Azure::Network::Mgmt::V2017_10_01::ApplicationGateways - ApplicationSecurityGroups = Azure::Network::Mgmt::V2017_10_01::ApplicationSecurityGroups - AvailableEndpointServices = Azure::Network::Mgmt::V2017_10_01::AvailableEndpointServices - ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2017_10_01::ExpressRouteCircuitAuthorizations - ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2017_10_01::ExpressRouteCircuitPeerings - ExpressRouteCircuits = Azure::Network::Mgmt::V2017_10_01::ExpressRouteCircuits - ExpressRouteServiceProviders = Azure::Network::Mgmt::V2017_10_01::ExpressRouteServiceProviders - LoadBalancers = Azure::Network::Mgmt::V2017_10_01::LoadBalancers - LoadBalancerBackendAddressPools = Azure::Network::Mgmt::V2017_10_01::LoadBalancerBackendAddressPools - LoadBalancerFrontendIPConfigurations = Azure::Network::Mgmt::V2017_10_01::LoadBalancerFrontendIPConfigurations - InboundNatRules = Azure::Network::Mgmt::V2017_10_01::InboundNatRules - LoadBalancerLoadBalancingRules = Azure::Network::Mgmt::V2017_10_01::LoadBalancerLoadBalancingRules - LoadBalancerNetworkInterfaces = Azure::Network::Mgmt::V2017_10_01::LoadBalancerNetworkInterfaces LoadBalancerProbes = Azure::Network::Mgmt::V2017_10_01::LoadBalancerProbes - NetworkInterfaces = Azure::Network::Mgmt::V2017_10_01::NetworkInterfaces NetworkInterfaceIPConfigurations = Azure::Network::Mgmt::V2017_10_01::NetworkInterfaceIPConfigurations NetworkInterfaceLoadBalancers = Azure::Network::Mgmt::V2017_10_01::NetworkInterfaceLoadBalancers NetworkSecurityGroups = Azure::Network::Mgmt::V2017_10_01::NetworkSecurityGroups @@ -30,8 +16,6 @@ module Mgmt NetworkWatchers = Azure::Network::Mgmt::V2017_10_01::NetworkWatchers PacketCaptures = Azure::Network::Mgmt::V2017_10_01::PacketCaptures ConnectionMonitors = Azure::Network::Mgmt::V2017_10_01::ConnectionMonitors - Operations = Azure::Network::Mgmt::V2017_10_01::Operations - PublicIPAddresses = Azure::Network::Mgmt::V2017_10_01::PublicIPAddresses RouteFilters = Azure::Network::Mgmt::V2017_10_01::RouteFilters RouteFilterRules = Azure::Network::Mgmt::V2017_10_01::RouteFilterRules RouteTables = Azure::Network::Mgmt::V2017_10_01::RouteTables @@ -42,8 +26,24 @@ module Mgmt Subnets = Azure::Network::Mgmt::V2017_10_01::Subnets VirtualNetworkPeerings = Azure::Network::Mgmt::V2017_10_01::VirtualNetworkPeerings VirtualNetworkGateways = Azure::Network::Mgmt::V2017_10_01::VirtualNetworkGateways - VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2017_10_01::VirtualNetworkGatewayConnections + NetworkInterfaces = Azure::Network::Mgmt::V2017_10_01::NetworkInterfaces + PublicIPAddresses = Azure::Network::Mgmt::V2017_10_01::PublicIPAddresses LocalNetworkGateways = Azure::Network::Mgmt::V2017_10_01::LocalNetworkGateways + VirtualNetworkGatewayConnections = Azure::Network::Mgmt::V2017_10_01::VirtualNetworkGatewayConnections + Operations = Azure::Network::Mgmt::V2017_10_01::Operations + ApplicationGateways = Azure::Network::Mgmt::V2017_10_01::ApplicationGateways + ApplicationSecurityGroups = Azure::Network::Mgmt::V2017_10_01::ApplicationSecurityGroups + AvailableEndpointServices = Azure::Network::Mgmt::V2017_10_01::AvailableEndpointServices + ExpressRouteCircuitAuthorizations = Azure::Network::Mgmt::V2017_10_01::ExpressRouteCircuitAuthorizations + ExpressRouteCircuitPeerings = Azure::Network::Mgmt::V2017_10_01::ExpressRouteCircuitPeerings + ExpressRouteCircuits = Azure::Network::Mgmt::V2017_10_01::ExpressRouteCircuits + ExpressRouteServiceProviders = Azure::Network::Mgmt::V2017_10_01::ExpressRouteServiceProviders + LoadBalancers = Azure::Network::Mgmt::V2017_10_01::LoadBalancers + LoadBalancerBackendAddressPools = Azure::Network::Mgmt::V2017_10_01::LoadBalancerBackendAddressPools + LoadBalancerFrontendIPConfigurations = Azure::Network::Mgmt::V2017_10_01::LoadBalancerFrontendIPConfigurations + InboundNatRules = Azure::Network::Mgmt::V2017_10_01::InboundNatRules + LoadBalancerLoadBalancingRules = Azure::Network::Mgmt::V2017_10_01::LoadBalancerLoadBalancingRules + LoadBalancerNetworkInterfaces = Azure::Network::Mgmt::V2017_10_01::LoadBalancerNetworkInterfaces module Models IpTag = Azure::Network::Mgmt::V2017_03_30::Models::IpTag @@ -54,61 +54,8 @@ module Models NetworkInterfaceTapConfiguration = Azure::Network::Mgmt::V2017_03_30::Models::NetworkInterfaceTapConfiguration VirtualNetworkTap = Azure::Network::Mgmt::V2017_03_30::Models::VirtualNetworkTap ServiceEndpointPolicyDefinition = Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicyDefinition - ServiceEndpointPolicy = Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicy IPConfigurationProfile = Azure::Network::Mgmt::V2017_03_30::Models::IPConfigurationProfile - TopologyAssociation = Azure::Network::Mgmt::V2017_10_01::Models::TopologyAssociation - SubResource = Azure::Network::Mgmt::V2017_10_01::Models::SubResource - TopologyResource = Azure::Network::Mgmt::V2017_10_01::Models::TopologyResource - OperationListResult = Azure::Network::Mgmt::V2017_10_01::Models::OperationListResult - Operation = Azure::Network::Mgmt::V2017_10_01::Models::Operation - NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceDnsSettings - OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2017_10_01::Models::OperationPropertiesFormatServiceSpecification - VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkConnectionGatewayReference - LoadBalancerListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerListResult - ConnectionSharedKey = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionSharedKey - InboundNatRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRuleListResult - PublicIPAddressSku = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressSku - LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerBackendAddressPoolListResult - ConnectionResetSharedKey = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey - LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult - IpsecPolicy = Azure::Network::Mgmt::V2017_10_01::Models::IpsecPolicy - LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult - GatewayRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult - LoadBalancerProbeListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerProbeListResult - BgpPeerStatusListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerStatusListResult - NetworkInterfaceListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceListResult - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListResult - ErrorDetails = Azure::Network::Mgmt::V2017_10_01::Models::ErrorDetails - ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthHttpSettings - Error = Azure::Network::Mgmt::V2017_10_01::Models::Error - ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealth - AzureAsyncOperationResult = Azure::Network::Mgmt::V2017_10_01::Models::AzureAsyncOperationResult - ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicy - NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceIPConfigurationListResult - GatewayRoute = Azure::Network::Mgmt::V2017_10_01::Models::GatewayRoute - NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceLoadBalancerListResult - BgpSettings = Azure::Network::Mgmt::V2017_10_01::Models::BgpSettings - EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroupAssociation - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySku - EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityRule - ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbeHealthResponseMatch - EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroup - VirtualNetworkUsageName = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkUsageName - EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroupListResult - VirtualNetworkListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkListResult - EffectiveRoute = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRoute - ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration - EffectiveRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteListResult - ApplicationGatewayListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayListResult - SecurityRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult - ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup - NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroupListResult - ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult - LogSpecification = Azure::Network::Mgmt::V2017_10_01::Models::LogSpecification - AddressSpace = Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace - NetworkWatcherListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult - Resource = Azure::Network::Mgmt::V2017_10_01::Models::Resource - TopologyParameters = Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters + ServiceEndpointPolicy = Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicy 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 @@ -116,7 +63,6 @@ module Models MetricSpecification = Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification AuthorizationListResult = Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationListResult Topology = Azure::Network::Mgmt::V2017_10_01::Models::Topology - UsageName = Azure::Network::Mgmt::V2017_10_01::Models::UsageName VerificationIPFlowParameters = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters BgpServiceCommunityListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult VerificationIPFlowResult = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult @@ -138,15 +84,12 @@ module Models SecurityGroupViewResult = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewResult RouteFilterRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRuleListResult PacketCaptureStorageLocation = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureStorageLocation - PublicIPAddressListResult = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressListResult PacketCaptureFilter = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureFilter VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListConnectionsResult PacketCaptureParameters = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters - ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2017_10_01::Models::ServiceEndpointPropertiesFormat PacketCapture = Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListResult PacketCaptureResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendAddress PacketCaptureListResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureListResult ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServer PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureQueryStatusResult @@ -180,155 +123,133 @@ module Models ConnectivityInformation = Azure::Network::Mgmt::V2017_10_01::Models::ConnectivityInformation VpnDeviceScriptParameters = Azure::Network::Mgmt::V2017_10_01::Models::VpnDeviceScriptParameters AzureReachabilityReportLocation = Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportLocation - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressDnsSettings AzureReachabilityReportParameters = Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportParameters ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayConnectionDraining + UsageName = Azure::Network::Mgmt::V2017_10_01::Models::UsageName AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportLatencyInfo - VpnClientParameters = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientParameters AzureReachabilityReportItem = Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportItem VirtualNetworkUsage = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkUsage + VpnClientParameters = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientParameters AzureReachabilityReport = Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReport - ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRule AvailableProvidersListParameters = Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListParameters TagsObject = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject + ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRule AvailableProvidersListCity = Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListCity - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitStats AvailableProvidersListState = Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListState ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitArpTable + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitStats AvailableProvidersListCountry = Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListCountry - RouteTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteTableListResult AvailableProvidersList = Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersList LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGatewayListResult + RouteTableListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteTableListResult ConnectionMonitorSource = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorSource - ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthPool ConnectionMonitorDestination = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorDestination ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallDisabledRuleGroup ConnectionMonitorParameters = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorParameters - Usage = Azure::Network::Mgmt::V2017_10_01::Models::Usage ConnectionMonitor = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitor ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitRoutesTableSummary + ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthPool ConnectionMonitorResult = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorResult - TunnelConnectionHealth = Azure::Network::Mgmt::V2017_10_01::Models::TunnelConnectionHealth - ConnectionMonitorListResult = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorListResult + Resource = Azure::Network::Mgmt::V2017_10_01::Models::Resource SubnetListResult = Azure::Network::Mgmt::V2017_10_01::Models::SubnetListResult - ConnectionStateSnapshot = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStateSnapshot + TunnelConnectionHealth = Azure::Network::Mgmt::V2017_10_01::Models::TunnelConnectionHealth RouteFilterListResult = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorQueryResult - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringListResult - OperationDisplay = Azure::Network::Mgmt::V2017_10_01::Models::OperationDisplay + ConnectionStateSnapshot = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStateSnapshot + ConnectionMonitorListResult = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorListResult VpnClientConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientConfiguration - Availability = Azure::Network::Mgmt::V2017_10_01::Models::Availability - BackendAddressPool = Azure::Network::Mgmt::V2017_10_01::Models::BackendAddressPool - InboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRule - ApplicationSecurityGroup = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroup - SecurityRule = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRule - NetworkInterface = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterface - NetworkSecurityGroup = Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroup - Route = Azure::Network::Mgmt::V2017_10_01::Models::Route - RouteTable = Azure::Network::Mgmt::V2017_10_01::Models::RouteTable - PublicIPAddress = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddress - IPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::IPConfiguration - ResourceNavigationLink = Azure::Network::Mgmt::V2017_10_01::Models::ResourceNavigationLink - Subnet = Azure::Network::Mgmt::V2017_10_01::Models::Subnet - NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceIPConfiguration - ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendAddressPool + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringListResult ApplicationGatewayBackendHttpSettings = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHttpSettings - ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration + Availability = Azure::Network::Mgmt::V2017_10_01::Models::Availability ApplicationGatewayAuthenticationCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate - ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate + ApplicationGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration ApplicationGatewayFrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration - ApplicationGatewayFrontendPort = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort + ApplicationGatewaySslCertificate = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate 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 ApplicationGatewayRedirectConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration - ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap + ApplicationGatewayRequestRoutingRule = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule ApplicationGateway = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway + ApplicationGatewayUrlPathMap = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap + AddressSpace = Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace ApplicationGatewayFirewallRuleSet = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet - ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions + TopologyParameters = Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters ApplicationGatewaySslPredefinedPolicy = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy EndpointServiceResult = Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult - ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization + ApplicationGatewayAvailableSslOptions = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions RouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule ExpressRouteCircuitPeering = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering - RouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter + ExpressRouteCircuitAuthorization = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization ExpressRouteCircuit = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit ExpressRouteServiceProvider = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider - FrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration - LoadBalancingRule = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule + RouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter Probe = Azure::Network::Mgmt::V2017_10_01::Models::Probe InboundNatPool = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool - OutboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule + LoadBalancingRule = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule LoadBalancer = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer NetworkWatcher = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher - PatchRouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule + OutboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule PatchRouteFilter = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter BgpServiceCommunity = Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity - VirtualNetworkPeering = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering + PatchRouteFilterRule = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule VirtualNetwork = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork VirtualNetworkGatewayIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration - VpnClientRootCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate + VirtualNetworkPeering = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering VpnClientRevokedCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate VirtualNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway - LocalNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway + VpnClientRootCertificate = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate VirtualNetworkGatewayConnection = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection VirtualNetworkGatewayConnectionListEntity = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity - TransportProtocol = Azure::Network::Mgmt::V2017_10_01::Models::TransportProtocol - IPAllocationMethod = Azure::Network::Mgmt::V2017_10_01::Models::IPAllocationMethod - IPVersion = Azure::Network::Mgmt::V2017_10_01::Models::IPVersion - SecurityRuleProtocol = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleProtocol - SecurityRuleAccess = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAccess - SecurityRuleDirection = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleDirection - RouteNextHopType = Azure::Network::Mgmt::V2017_10_01::Models::RouteNextHopType - PublicIPAddressSkuName = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressSkuName - ApplicationGatewayProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + LocalNetworkGateway = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway ApplicationGatewayCookieBasedAffinity = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity ApplicationGatewayBackendHealthServerHealth = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth - ApplicationGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName + IPVersion = Azure::Network::Mgmt::V2017_10_01::Models::IPVersion ApplicationGatewayTier = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier ApplicationGatewaySslProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslProtocol + ApplicationGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName + ApplicationGatewayProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCipherSuite ApplicationGatewaySslPolicyType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyType ApplicationGatewaySslPolicyName = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicyName - ApplicationGatewaySslCipherSuite = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCipherSuite + ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayOperationalState ApplicationGatewayRequestRoutingRuleType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRuleType ApplicationGatewayRedirectType = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectType - ApplicationGatewayOperationalState = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayOperationalState + ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState ApplicationGatewayFirewallMode = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallMode AuthorizationUseStatus = Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationUseStatus - ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringState Access = Azure::Network::Mgmt::V2017_10_01::Models::Access ExpressRouteCircuitPeeringType = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringType - ExpressRouteCircuitPeeringState = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringState + ServiceProviderProvisioningState = Azure::Network::Mgmt::V2017_10_01::Models::ServiceProviderProvisioningState ExpressRouteCircuitSkuTier = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSkuTier ExpressRouteCircuitSkuFamily = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSkuFamily - ServiceProviderProvisioningState = Azure::Network::Mgmt::V2017_10_01::Models::ServiceProviderProvisioningState + ProbeProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ProbeProtocol LoadBalancerSkuName = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerSkuName LoadDistribution = Azure::Network::Mgmt::V2017_10_01::Models::LoadDistribution - ProbeProtocol = Azure::Network::Mgmt::V2017_10_01::Models::ProbeProtocol + EffectiveRouteSource = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteSource NetworkOperationStatus = Azure::Network::Mgmt::V2017_10_01::Models::NetworkOperationStatus EffectiveSecurityRuleProtocol = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveSecurityRuleProtocol - EffectiveRouteSource = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteSource + 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 - AssociationType = Azure::Network::Mgmt::V2017_10_01::Models::AssociationType + 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 NextHopType = Azure::Network::Mgmt::V2017_10_01::Models::NextHopType - 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 - Severity = Azure::Network::Mgmt::V2017_10_01::Models::Severity + ConnectionState = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState 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 - EvaluationState = Azure::Network::Mgmt::V2017_10_01::Models::EvaluationState - VirtualNetworkPeeringState = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeeringState VirtualNetworkGatewayType = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayType + EvaluationState = Azure::Network::Mgmt::V2017_10_01::Models::EvaluationState + Error = Azure::Network::Mgmt::V2017_10_01::Models::Error + VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuTier VpnType = Azure::Network::Mgmt::V2017_10_01::Models::VpnType VirtualNetworkGatewaySkuName = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuName - VirtualNetworkGatewaySkuTier = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuTier + VirtualNetworkPeeringState = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeeringState VpnClientProtocol = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientProtocol BgpPeerState = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerState ProcessorArchitecture = Azure::Network::Mgmt::V2017_10_01::Models::ProcessorArchitecture @@ -341,62 +262,141 @@ module Models IkeIntegrity = Azure::Network::Mgmt::V2017_10_01::Models::IkeIntegrity DhGroup = Azure::Network::Mgmt::V2017_10_01::Models::DhGroup PfsGroup = Azure::Network::Mgmt::V2017_10_01::Models::PfsGroup - end - - class NetworkManagementClass - attr_reader :application_gateways, :application_security_groups, :available_endpoint_services, :express_route_circuit_authorizations, :express_route_circuit_peerings, :express_route_circuits, :express_route_service_providers, :load_balancers, :load_balancer_backend_address_pools, :load_balancer_frontend_ipconfigurations, :inbound_nat_rules, :load_balancer_load_balancing_rules, :load_balancer_network_interfaces, :load_balancer_probes, :network_interfaces, :network_interface_ipconfigurations, :network_interface_load_balancers, :network_security_groups, :security_rules, :default_security_rules, :network_watchers, :packet_captures, :connection_monitors, :operations, :public_ipaddresses, :route_filters, :route_filter_rules, :route_tables, :routes, :bgp_service_communities, :usages, :virtual_networks, :subnets, :virtual_network_peerings, :virtual_network_gateways, :virtual_network_gateway_connections, :local_network_gateways, :configurable, :base_url, :options, :model_classes - - def initialize(configurable, base_url=nil, options=nil) - @configurable, @base_url, @options = configurable, base_url, options - - @client_0 = Azure::Network::Mgmt::V2017_03_30::NetworkManagementClient.new(configurable.credentials, base_url, options) - if(@client_0.respond_to?(:subscription_id)) - @client_0.subscription_id = configurable.subscription_id - end - add_telemetry(@client_0) - - @client_1 = Azure::Network::Mgmt::V2017_10_01::NetworkManagementClient.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) - @application_gateways = @client_1.application_gateways - @application_security_groups = @client_1.application_security_groups - @available_endpoint_services = @client_1.available_endpoint_services - @express_route_circuit_authorizations = @client_1.express_route_circuit_authorizations - @express_route_circuit_peerings = @client_1.express_route_circuit_peerings - @express_route_circuits = @client_1.express_route_circuits - @express_route_service_providers = @client_1.express_route_service_providers - @load_balancers = @client_1.load_balancers - @load_balancer_backend_address_pools = @client_1.load_balancer_backend_address_pools - @load_balancer_frontend_ipconfigurations = @client_1.load_balancer_frontend_ipconfigurations - @inbound_nat_rules = @client_1.inbound_nat_rules - @load_balancer_load_balancing_rules = @client_1.load_balancer_load_balancing_rules - @load_balancer_network_interfaces = @client_1.load_balancer_network_interfaces - @load_balancer_probes = @client_1.load_balancer_probes - @network_interfaces = @client_1.network_interfaces - @network_interface_ipconfigurations = @client_1.network_interface_ipconfigurations - @network_interface_load_balancers = @client_1.network_interface_load_balancers - @network_security_groups = @client_1.network_security_groups - @security_rules = @client_1.security_rules - @default_security_rules = @client_1.default_security_rules - @network_watchers = @client_1.network_watchers - @packet_captures = @client_1.packet_captures - @connection_monitors = @client_1.connection_monitors - @operations = @client_1.operations - @public_ipaddresses = @client_1.public_ipaddresses - @route_filters = @client_1.route_filters - @route_filter_rules = @client_1.route_filter_rules - @route_tables = @client_1.route_tables - @routes = @client_1.routes + Severity = Azure::Network::Mgmt::V2017_10_01::Models::Severity + Protocol = Azure::Network::Mgmt::V2017_10_01::Models::Protocol + 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 + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressDnsSettings + NetworkInterfaceListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceListResult + NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceDnsSettings + NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceIPConfigurationListResult + ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2017_10_01::Models::ServiceEndpointPropertiesFormat + ApplicationSecurityGroup = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroup + ResourceNavigationLink = Azure::Network::Mgmt::V2017_10_01::Models::ResourceNavigationLink + SecurityRule = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRule + OperationDisplay = Azure::Network::Mgmt::V2017_10_01::Models::OperationDisplay + IPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::IPConfiguration + Operation = Azure::Network::Mgmt::V2017_10_01::Models::Operation + PublicIPAddress = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddress + OperationListResult = Azure::Network::Mgmt::V2017_10_01::Models::OperationListResult + ApplicationGatewayBackendAddressPool = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendAddressPool + BackendAddressPool = Azure::Network::Mgmt::V2017_10_01::Models::BackendAddressPool + InboundNatRule = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRule + NetworkInterfaceIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceIPConfiguration + NetworkInterface = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterface + NetworkSecurityGroup = Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroup + Route = Azure::Network::Mgmt::V2017_10_01::Models::Route + RouteTable = Azure::Network::Mgmt::V2017_10_01::Models::RouteTable + LogSpecification = Azure::Network::Mgmt::V2017_10_01::Models::LogSpecification + Subnet = Azure::Network::Mgmt::V2017_10_01::Models::Subnet + SecurityRuleProtocol = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleProtocol + FrontendIPConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration + SecurityRuleAccess = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAccess + IPAllocationMethod = Azure::Network::Mgmt::V2017_10_01::Models::IPAllocationMethod + PublicIPAddressSkuName = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressSkuName + TransportProtocol = Azure::Network::Mgmt::V2017_10_01::Models::TransportProtocol + RouteNextHopType = Azure::Network::Mgmt::V2017_10_01::Models::RouteNextHopType + SecurityRuleDirection = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleDirection + TopologyAssociation = Azure::Network::Mgmt::V2017_10_01::Models::TopologyAssociation + TopologyResource = Azure::Network::Mgmt::V2017_10_01::Models::TopologyResource + OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2017_10_01::Models::OperationPropertiesFormatServiceSpecification + VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkConnectionGatewayReference + LoadBalancerListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerListResult + ConnectionSharedKey = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionSharedKey + InboundNatRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRuleListResult + LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerBackendAddressPoolListResult + ConnectionResetSharedKey = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey + LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult + IpsecPolicy = Azure::Network::Mgmt::V2017_10_01::Models::IpsecPolicy + LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult + LoadBalancerProbeListResult = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerProbeListResult + BgpPeerStatusListResult = Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerStatusListResult + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListResult + ErrorDetails = Azure::Network::Mgmt::V2017_10_01::Models::ErrorDetails + ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthHttpSettings + ApplicationGatewayBackendHealth = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealth + AzureAsyncOperationResult = Azure::Network::Mgmt::V2017_10_01::Models::AzureAsyncOperationResult + ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicy + GatewayRoute = Azure::Network::Mgmt::V2017_10_01::Models::GatewayRoute + SubResource = Azure::Network::Mgmt::V2017_10_01::Models::SubResource + NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceLoadBalancerListResult + EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroupAssociation + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySku + BgpSettings = Azure::Network::Mgmt::V2017_10_01::Models::BgpSettings + EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityRule + ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbeHealthResponseMatch + EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroup + VirtualNetworkUsageName = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkUsageName + EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroupListResult + VirtualNetworkListResult = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkListResult + EffectiveRoute = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRoute + ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration + EffectiveRouteListResult = Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteListResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayListResult + SecurityRuleListResult = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult + ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup + Usage = Azure::Network::Mgmt::V2017_10_01::Models::Usage + ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroupListResult + NetworkWatcherListResult = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult + end + + class NetworkManagementClass + attr_reader :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, :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, :configurable, :base_url, :options, :model_classes + + def initialize(configurable, base_url=nil, options=nil) + @configurable, @base_url, @options = configurable, base_url, options + + @client_0 = Azure::Network::Mgmt::V2017_03_30::NetworkManagementClient.new(configurable.credentials, base_url, options) + if(@client_0.respond_to?(:subscription_id)) + @client_0.subscription_id = configurable.subscription_id + end + add_telemetry(@client_0) + + @client_1 = Azure::Network::Mgmt::V2017_10_01::NetworkManagementClient.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) + @load_balancer_probes = @client_1.load_balancer_probes + @network_interface_ipconfigurations = @client_1.network_interface_ipconfigurations + @network_interface_load_balancers = @client_1.network_interface_load_balancers + @network_security_groups = @client_1.network_security_groups + @security_rules = @client_1.security_rules + @default_security_rules = @client_1.default_security_rules + @network_watchers = @client_1.network_watchers + @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 @subnets = @client_1.subnets @virtual_network_peerings = @client_1.virtual_network_peerings @virtual_network_gateways = @client_1.virtual_network_gateways - @virtual_network_gateway_connections = @client_1.virtual_network_gateway_connections + @network_interfaces = @client_1.network_interfaces + @public_ipaddresses = @client_1.public_ipaddresses @local_network_gateways = @client_1.local_network_gateways + @virtual_network_gateway_connections = @client_1.virtual_network_gateway_connections + @operations = @client_1.operations + @application_gateways = @client_1.application_gateways + @application_security_groups = @client_1.application_security_groups + @available_endpoint_services = @client_1.available_endpoint_services + @express_route_circuit_authorizations = @client_1.express_route_circuit_authorizations + @express_route_circuit_peerings = @client_1.express_route_circuit_peerings + @express_route_circuits = @client_1.express_route_circuits + @express_route_service_providers = @client_1.express_route_service_providers + @load_balancers = @client_1.load_balancers + @load_balancer_backend_address_pools = @client_1.load_balancer_backend_address_pools + @load_balancer_frontend_ipconfigurations = @client_1.load_balancer_frontend_ipconfigurations + @inbound_nat_rules = @client_1.inbound_nat_rules + @load_balancer_load_balancing_rules = @client_1.load_balancer_load_balancing_rules + @load_balancer_network_interfaces = @client_1.load_balancer_network_interfaces @model_classes = ModelClasses.new end @@ -441,273 +441,105 @@ def virtual_network_tap def service_endpoint_policy_definition Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicyDefinition end - def service_endpoint_policy - Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicy - end def ipconfiguration_profile Azure::Network::Mgmt::V2017_03_30::Models::IPConfigurationProfile end - def topology_association - Azure::Network::Mgmt::V2017_10_01::Models::TopologyAssociation + def service_endpoint_policy + Azure::Network::Mgmt::V2017_03_30::Models::ServiceEndpointPolicy end - def sub_resource - Azure::Network::Mgmt::V2017_10_01::Models::SubResource + def application_security_group_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult end - def topology_resource - Azure::Network::Mgmt::V2017_10_01::Models::TopologyResource + def dns_name_availability_result + Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult end - def operation_list_result - Azure::Network::Mgmt::V2017_10_01::Models::OperationListResult + def dimension + Azure::Network::Mgmt::V2017_10_01::Models::Dimension end - def operation - Azure::Network::Mgmt::V2017_10_01::Models::Operation + def endpoint_services_list_result + Azure::Network::Mgmt::V2017_10_01::Models::EndpointServicesListResult end - def network_interface_dns_settings - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceDnsSettings + def metric_specification + Azure::Network::Mgmt::V2017_10_01::Models::MetricSpecification end - def operation_properties_format_service_specification - Azure::Network::Mgmt::V2017_10_01::Models::OperationPropertiesFormatServiceSpecification + def authorization_list_result + Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationListResult end - def virtual_network_connection_gateway_reference - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkConnectionGatewayReference + def topology + Azure::Network::Mgmt::V2017_10_01::Models::Topology end - def load_balancer_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerListResult + def verification_ipflow_parameters + Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters end - def connection_shared_key - Azure::Network::Mgmt::V2017_10_01::Models::ConnectionSharedKey + def bgp_service_community_list_result + Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunityListResult end - def inbound_nat_rule_list_result - Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRuleListResult + def verification_ipflow_result + Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult end - def public_ipaddress_sku - Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressSku + def ipv6_express_route_circuit_peering_config + Azure::Network::Mgmt::V2017_10_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end - def load_balancer_backend_address_pool_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerBackendAddressPoolListResult + def next_hop_parameters + Azure::Network::Mgmt::V2017_10_01::Models::NextHopParameters end - def connection_reset_shared_key - Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey + def express_route_circuit_sku + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitSku end - def load_balancer_frontend_ipconfiguration_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult + def next_hop_result + Azure::Network::Mgmt::V2017_10_01::Models::NextHopResult end - def ipsec_policy - Azure::Network::Mgmt::V2017_10_01::Models::IpsecPolicy + def route_list_result + Azure::Network::Mgmt::V2017_10_01::Models::RouteListResult end - def load_balancer_load_balancing_rule_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult + def security_group_view_parameters + Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters end - def gateway_route_list_result - Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsArpTableListResult end - def load_balancer_probe_list_result - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerProbeListResult + def network_interface_association + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation end - def bgp_peer_status_list_result - Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerStatusListResult + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableListResult end - def network_interface_list_result - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceListResult + def subnet_association + Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListResult + def express_route_circuits_routes_table_summary_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end - def error_details - Azure::Network::Mgmt::V2017_10_01::Models::ErrorDetails + def security_rule_associations + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations end - def application_gateway_backend_health_http_settings - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthHttpSettings + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderBandwidthsOffered end - def error - Azure::Network::Mgmt::V2017_10_01::Models::Error + def security_group_network_interface + Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface end - def application_gateway_backend_health - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealth + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderListResult end - def azure_async_operation_result - Azure::Network::Mgmt::V2017_10_01::Models::AzureAsyncOperationResult + def security_group_view_result + Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewResult end - def application_gateway_ssl_policy - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicy + def route_filter_rule_list_result + Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRuleListResult end - def network_interface_ipconfiguration_list_result - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceIPConfigurationListResult + def packet_capture_storage_location + Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureStorageLocation end - def gateway_route - Azure::Network::Mgmt::V2017_10_01::Models::GatewayRoute + def packet_capture_filter + Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureFilter end - def network_interface_load_balancer_list_result - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceLoadBalancerListResult - end - def bgp_settings - Azure::Network::Mgmt::V2017_10_01::Models::BgpSettings - end - def effective_network_security_group_association - Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroupAssociation - end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySku - end - def effective_network_security_rule - Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityRule - end - def application_gateway_probe_health_response_match - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbeHealthResponseMatch - end - def effective_network_security_group - Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroup - end - def virtual_network_usage_name - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkUsageName - end - def effective_network_security_group_list_result - Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroupListResult - end - def virtual_network_list_result - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkListResult - end - def effective_route - Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRoute - end - def application_gateway_web_application_firewall_configuration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration - end - def effective_route_list_result - Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteListResult - end - def application_gateway_list_result - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayListResult - end - def security_rule_list_result - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult - end - def application_gateway_firewall_rule_group - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup - end - def network_security_group_list_result - Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroupListResult - end - def application_gateway_available_waf_rule_sets_result - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult - end - def log_specification - Azure::Network::Mgmt::V2017_10_01::Models::LogSpecification - end - def address_space - Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace - end - def network_watcher_list_result - Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult - end - def resource - Azure::Network::Mgmt::V2017_10_01::Models::Resource - end - def topology_parameters - Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters - end - def application_security_group_list_result - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroupListResult - end - def dns_name_availability_result - Azure::Network::Mgmt::V2017_10_01::Models::DnsNameAvailabilityResult - 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 authorization_list_result - Azure::Network::Mgmt::V2017_10_01::Models::AuthorizationListResult - end - def topology - Azure::Network::Mgmt::V2017_10_01::Models::Topology - end - def usage_name - Azure::Network::Mgmt::V2017_10_01::Models::UsageName - 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 verification_ipflow_result - Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowResult - end - def ipv6_express_route_circuit_peering_config - Azure::Network::Mgmt::V2017_10_01::Models::Ipv6ExpressRouteCircuitPeeringConfig - end - 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_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 - def network_interface_association - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceAssociation - end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableListResult - end - def subnet_association - Azure::Network::Mgmt::V2017_10_01::Models::SubnetAssociation - end - def express_route_circuits_routes_table_summary_list_result - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult - end - def security_rule_associations - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAssociations - end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderBandwidthsOffered - end - def security_group_network_interface - Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupNetworkInterface - end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProviderListResult - end - def security_group_view_result - Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewResult - end - def route_filter_rule_list_result - Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRuleListResult - end - def packet_capture_storage_location - Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureStorageLocation - end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressListResult - end - def packet_capture_filter - Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureFilter - end - def virtual_network_gateway_list_connections_result - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListConnectionsResult + def virtual_network_gateway_list_connections_result + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListConnectionsResult end def packet_capture_parameters Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureParameters end - def service_endpoint_properties_format - Azure::Network::Mgmt::V2017_10_01::Models::ServiceEndpointPropertiesFormat - end def packet_capture Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture end @@ -717,9 +549,6 @@ def virtual_network_gateway_connection_list_result def packet_capture_result Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureResult end - def application_gateway_backend_address - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendAddress - end def packet_capture_list_result Azure::Network::Mgmt::V2017_10_01::Models::PacketCaptureListResult end @@ -819,69 +648,66 @@ def vpn_device_script_parameters def azure_reachability_report_location Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportLocation end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressDnsSettings - end def azure_reachability_report_parameters Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportParameters end def application_gateway_connection_draining Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayConnectionDraining end + def usage_name + Azure::Network::Mgmt::V2017_10_01::Models::UsageName + end def azure_reachability_report_latency_info Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportLatencyInfo end - def vpn_client_parameters - Azure::Network::Mgmt::V2017_10_01::Models::VpnClientParameters - end def azure_reachability_report_item Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportItem end def virtual_network_usage Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkUsage end + def vpn_client_parameters + Azure::Network::Mgmt::V2017_10_01::Models::VpnClientParameters + end def azure_reachability_report Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReport end - def application_gateway_firewall_rule - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRule - end def available_providers_list_parameters Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListParameters end def tags_object Azure::Network::Mgmt::V2017_10_01::Models::TagsObject end + def application_gateway_firewall_rule + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRule + end def available_providers_list_city Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListCity end - def express_route_circuit_stats - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitStats - end def available_providers_list_state Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListState end def express_route_circuit_arp_table Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitArpTable end + def express_route_circuit_stats + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitStats + end def available_providers_list_country Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListCountry end - def route_table_list_result - Azure::Network::Mgmt::V2017_10_01::Models::RouteTableListResult - end def available_providers_list Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersList end def local_network_gateway_list_result Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGatewayListResult end + def route_table_list_result + Azure::Network::Mgmt::V2017_10_01::Models::RouteTableListResult + end def connection_monitor_source Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorSource end - def application_gateway_backend_health_pool - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthPool - end def connection_monitor_destination Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorDestination end @@ -891,29 +717,26 @@ def application_gateway_firewall_disabled_rule_group def connection_monitor_parameters Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorParameters end - def usage - Azure::Network::Mgmt::V2017_10_01::Models::Usage - end def connection_monitor Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitor end def express_route_circuit_routes_table_summary Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitRoutesTableSummary end + def application_gateway_backend_health_pool + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthPool + end def connection_monitor_result Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorResult end - def tunnel_connection_health - Azure::Network::Mgmt::V2017_10_01::Models::TunnelConnectionHealth - end - def connection_monitor_list_result - Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorListResult + def resource + Azure::Network::Mgmt::V2017_10_01::Models::Resource end def subnet_list_result Azure::Network::Mgmt::V2017_10_01::Models::SubnetListResult end - def connection_state_snapshot - Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStateSnapshot + def tunnel_connection_health + Azure::Network::Mgmt::V2017_10_01::Models::TunnelConnectionHealth end def route_filter_list_result Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterListResult @@ -921,104 +744,68 @@ def route_filter_list_result def connection_monitor_query_result Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorQueryResult end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringListResult + def connection_state_snapshot + Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStateSnapshot end - def operation_display - Azure::Network::Mgmt::V2017_10_01::Models::OperationDisplay + def connection_monitor_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitorListResult end def vpn_client_configuration Azure::Network::Mgmt::V2017_10_01::Models::VpnClientConfiguration end + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeeringListResult + end + def application_gateway_backend_http_settings + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHttpSettings + end def availability Azure::Network::Mgmt::V2017_10_01::Models::Availability end - def backend_address_pool - Azure::Network::Mgmt::V2017_10_01::Models::BackendAddressPool + def application_gateway_authentication_certificate + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate end - def inbound_nat_rule - Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRule + def application_gateway_ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration end - def application_security_group - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroup + def application_gateway_frontend_ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration end - def security_rule - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRule + def application_gateway_ssl_certificate + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate end - def network_interface - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterface + def application_gateway_http_listener + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayHttpListener end - def network_security_group - Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroup + def application_gateway_frontend_port + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendPort end - def route - Azure::Network::Mgmt::V2017_10_01::Models::Route - end - def route_table - Azure::Network::Mgmt::V2017_10_01::Models::RouteTable - end - def public_ipaddress - Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddress - end - def ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::IPConfiguration - end - def resource_navigation_link - Azure::Network::Mgmt::V2017_10_01::Models::ResourceNavigationLink - end - def subnet - Azure::Network::Mgmt::V2017_10_01::Models::Subnet - end - def network_interface_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceIPConfiguration - end - def application_gateway_backend_address_pool - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendAddressPool - end - def application_gateway_backend_http_settings - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHttpSettings - end - def application_gateway_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayIPConfiguration - end - def application_gateway_authentication_certificate - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAuthenticationCertificate - end - def application_gateway_ssl_certificate - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslCertificate - end - def application_gateway_frontend_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFrontendIPConfiguration - 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 application_gateway_redirect_configuration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration end def application_gateway_request_routing_rule Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRequestRoutingRule end - def application_gateway_redirect_configuration - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayRedirectConfiguration + def application_gateway + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway end def application_gateway_url_path_map Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayUrlPathMap end - def application_gateway - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway + def address_space + Azure::Network::Mgmt::V2017_10_01::Models::AddressSpace end def application_gateway_firewall_rule_set Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleSet end - def application_gateway_available_ssl_options - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions + def topology_parameters + Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters end def application_gateway_ssl_predefined_policy Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPredefinedPolicy @@ -1026,8 +813,8 @@ def application_gateway_ssl_predefined_policy def endpoint_service_result Azure::Network::Mgmt::V2017_10_01::Models::EndpointServiceResult end - def express_route_circuit_authorization - Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization + def application_gateway_available_ssl_options + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableSslOptions end def route_filter_rule Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule @@ -1035,8 +822,8 @@ def route_filter_rule def express_route_circuit_peering Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering end - def route_filter - Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter + def express_route_circuit_authorization + Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization end def express_route_circuit Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit @@ -1044,11 +831,8 @@ def express_route_circuit def express_route_service_provider Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteServiceProvider end - def frontend_ipconfiguration - Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration - end - def load_balancing_rule - Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule + def route_filter + Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter end def probe Azure::Network::Mgmt::V2017_10_01::Models::Probe @@ -1056,8 +840,8 @@ def probe def inbound_nat_pool Azure::Network::Mgmt::V2017_10_01::Models::InboundNatPool end - def outbound_nat_rule - Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule + def load_balancing_rule + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancingRule end def load_balancer Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer @@ -1065,8 +849,8 @@ def load_balancer def network_watcher Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher end - def patch_route_filter_rule - Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule + def outbound_nat_rule + Azure::Network::Mgmt::V2017_10_01::Models::OutboundNatRule end def patch_route_filter Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter @@ -1074,8 +858,8 @@ def patch_route_filter def bgp_service_community Azure::Network::Mgmt::V2017_10_01::Models::BgpServiceCommunity end - def virtual_network_peering - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering + def patch_route_filter_rule + Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule end def virtual_network Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork @@ -1083,8 +867,8 @@ def virtual_network def virtual_network_gateway_ipconfiguration Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayIPConfiguration end - def vpn_client_root_certificate - Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate + def virtual_network_peering + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering end def vpn_client_revoked_certificate Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRevokedCertificate @@ -1092,8 +876,8 @@ def vpn_client_revoked_certificate def virtual_network_gateway Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway end - def local_network_gateway - Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway + def vpn_client_root_certificate + Azure::Network::Mgmt::V2017_10_01::Models::VpnClientRootCertificate end def virtual_network_gateway_connection Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection @@ -1101,32 +885,8 @@ def virtual_network_gateway_connection def virtual_network_gateway_connection_list_entity Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnectionListEntity end - def transport_protocol - Azure::Network::Mgmt::V2017_10_01::Models::TransportProtocol - end - def ipallocation_method - Azure::Network::Mgmt::V2017_10_01::Models::IPAllocationMethod - end - def ipversion - Azure::Network::Mgmt::V2017_10_01::Models::IPVersion - end - def security_rule_protocol - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleProtocol - end - def security_rule_access - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAccess - end - def security_rule_direction - Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleDirection - end - def route_next_hop_type - Azure::Network::Mgmt::V2017_10_01::Models::RouteNextHopType - end - def public_ipaddress_sku_name - Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressSkuName - end - def application_gateway_protocol - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + def local_network_gateway + Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway end def application_gateway_cookie_based_affinity Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayCookieBasedAffinity @@ -1134,8 +894,8 @@ def application_gateway_cookie_based_affinity def application_gateway_backend_health_server_health Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthServerHealth end - def application_gateway_sku_name - Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySkuName + def ipversion + Azure::Network::Mgmt::V2017_10_01::Models::IPVersion end def application_gateway_tier Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayTier @@ -1143,14 +903,23 @@ def application_gateway_tier 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_protocol + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProtocol + end + 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_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 @@ -1158,8 +927,8 @@ def application_gateway_request_routing_rule_type 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 @@ -1167,8 +936,8 @@ def application_gateway_firewall_mode 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 @@ -1176,8 +945,8 @@ def access 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 @@ -1185,8 +954,8 @@ def express_route_circuit_sku_tier 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 @@ -1194,8 +963,8 @@ def load_balancer_sku_name 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 @@ -1203,8 +972,8 @@ def network_operation_status 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 @@ -1212,20 +981,17 @@ def effective_route_state 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 end - def protocol - Azure::Network::Mgmt::V2017_10_01::Models::Protocol - end def next_hop_type Azure::Network::Mgmt::V2017_10_01::Models::NextHopType 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,11 +999,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 - end - def severity - Azure::Network::Mgmt::V2017_10_01::Models::Severity + def connection_state + Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState end def issue_type Azure::Network::Mgmt::V2017_10_01::Models::IssueType @@ -1245,17 +1008,17 @@ def issue_type def connection_status Azure::Network::Mgmt::V2017_10_01::Models::ConnectionStatus end - def connection_state - Azure::Network::Mgmt::V2017_10_01::Models::ConnectionState + def virtual_network_gateway_type + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayType end def evaluation_state Azure::Network::Mgmt::V2017_10_01::Models::EvaluationState end - def virtual_network_peering_state - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeeringState + def error + Azure::Network::Mgmt::V2017_10_01::Models::Error end - def virtual_network_gateway_type - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayType + def virtual_network_gateway_sku_tier + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuTier end def vpn_type Azure::Network::Mgmt::V2017_10_01::Models::VpnType @@ -1263,8 +1026,8 @@ def vpn_type def virtual_network_gateway_sku_name Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuName end - def virtual_network_gateway_sku_tier - Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySkuTier + def virtual_network_peering_state + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeeringState end def vpn_client_protocol Azure::Network::Mgmt::V2017_10_01::Models::VpnClientProtocol @@ -1302,6 +1065,243 @@ def dh_group def pfs_group Azure::Network::Mgmt::V2017_10_01::Models::PfsGroup end + def severity + Azure::Network::Mgmt::V2017_10_01::Models::Severity + end + def protocol + Azure::Network::Mgmt::V2017_10_01::Models::Protocol + end + def application_gateway_backend_address + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendAddress + end + def public_ipaddress_sku + Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressSku + end + def public_ipaddress_list_result + Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressListResult + end + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressDnsSettings + end + def network_interface_list_result + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceListResult + end + def network_interface_dns_settings + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceDnsSettings + end + def network_interface_ipconfiguration_list_result + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceIPConfigurationListResult + end + def service_endpoint_properties_format + Azure::Network::Mgmt::V2017_10_01::Models::ServiceEndpointPropertiesFormat + end + def application_security_group + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroup + end + def resource_navigation_link + Azure::Network::Mgmt::V2017_10_01::Models::ResourceNavigationLink + end + def security_rule + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRule + end + def operation_display + Azure::Network::Mgmt::V2017_10_01::Models::OperationDisplay + end + def ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::IPConfiguration + end + def operation + Azure::Network::Mgmt::V2017_10_01::Models::Operation + end + def public_ipaddress + Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddress + end + def operation_list_result + Azure::Network::Mgmt::V2017_10_01::Models::OperationListResult + end + def application_gateway_backend_address_pool + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendAddressPool + end + def backend_address_pool + Azure::Network::Mgmt::V2017_10_01::Models::BackendAddressPool + end + def inbound_nat_rule + Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRule + end + def network_interface_ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceIPConfiguration + end + def network_interface + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterface + end + def network_security_group + Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroup + end + def route + Azure::Network::Mgmt::V2017_10_01::Models::Route + end + def route_table + Azure::Network::Mgmt::V2017_10_01::Models::RouteTable + end + def log_specification + Azure::Network::Mgmt::V2017_10_01::Models::LogSpecification + end + def subnet + Azure::Network::Mgmt::V2017_10_01::Models::Subnet + end + def security_rule_protocol + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleProtocol + end + def frontend_ipconfiguration + Azure::Network::Mgmt::V2017_10_01::Models::FrontendIPConfiguration + end + def security_rule_access + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleAccess + end + def ipallocation_method + Azure::Network::Mgmt::V2017_10_01::Models::IPAllocationMethod + end + def public_ipaddress_sku_name + Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddressSkuName + end + def transport_protocol + Azure::Network::Mgmt::V2017_10_01::Models::TransportProtocol + end + def route_next_hop_type + Azure::Network::Mgmt::V2017_10_01::Models::RouteNextHopType + end + def security_rule_direction + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleDirection + end + def topology_association + Azure::Network::Mgmt::V2017_10_01::Models::TopologyAssociation + end + def topology_resource + Azure::Network::Mgmt::V2017_10_01::Models::TopologyResource + end + def operation_properties_format_service_specification + Azure::Network::Mgmt::V2017_10_01::Models::OperationPropertiesFormatServiceSpecification + end + def virtual_network_connection_gateway_reference + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkConnectionGatewayReference + end + def load_balancer_list_result + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerListResult + end + def connection_shared_key + Azure::Network::Mgmt::V2017_10_01::Models::ConnectionSharedKey + end + def inbound_nat_rule_list_result + Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRuleListResult + end + def load_balancer_backend_address_pool_list_result + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerBackendAddressPoolListResult + end + def connection_reset_shared_key + Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey + end + def load_balancer_frontend_ipconfiguration_list_result + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerFrontendIPConfigurationListResult + end + def ipsec_policy + Azure::Network::Mgmt::V2017_10_01::Models::IpsecPolicy + end + def load_balancer_load_balancing_rule_list_result + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerLoadBalancingRuleListResult + end + def gateway_route_list_result + Azure::Network::Mgmt::V2017_10_01::Models::GatewayRouteListResult + end + def load_balancer_probe_list_result + Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancerProbeListResult + end + def bgp_peer_status_list_result + Azure::Network::Mgmt::V2017_10_01::Models::BgpPeerStatusListResult + end + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayListResult + end + def error_details + Azure::Network::Mgmt::V2017_10_01::Models::ErrorDetails + end + def application_gateway_backend_health_http_settings + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealthHttpSettings + end + def application_gateway_backend_health + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayBackendHealth + end + def azure_async_operation_result + Azure::Network::Mgmt::V2017_10_01::Models::AzureAsyncOperationResult + end + def application_gateway_ssl_policy + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewaySslPolicy + end + def gateway_route + Azure::Network::Mgmt::V2017_10_01::Models::GatewayRoute + end + def sub_resource + Azure::Network::Mgmt::V2017_10_01::Models::SubResource + end + def network_interface_load_balancer_list_result + Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterfaceLoadBalancerListResult + end + def effective_network_security_group_association + Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroupAssociation + end + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewaySku + end + def bgp_settings + Azure::Network::Mgmt::V2017_10_01::Models::BgpSettings + end + def effective_network_security_rule + Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityRule + end + def application_gateway_probe_health_response_match + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayProbeHealthResponseMatch + end + def effective_network_security_group + Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroup + end + def virtual_network_usage_name + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkUsageName + end + def effective_network_security_group_list_result + Azure::Network::Mgmt::V2017_10_01::Models::EffectiveNetworkSecurityGroupListResult + end + def virtual_network_list_result + Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkListResult + end + def effective_route + Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRoute + end + def application_gateway_web_application_firewall_configuration + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration + end + def effective_route_list_result + Azure::Network::Mgmt::V2017_10_01::Models::EffectiveRouteListResult + end + def application_gateway_list_result + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayListResult + end + def security_rule_list_result + Azure::Network::Mgmt::V2017_10_01::Models::SecurityRuleListResult + end + def application_gateway_firewall_rule_group + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayFirewallRuleGroup + end + def usage + Azure::Network::Mgmt::V2017_10_01::Models::Usage + end + def application_gateway_available_waf_rule_sets_result + Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + end + def network_security_group_list_result + Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroupListResult + end + def network_watcher_list_result + Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcherListResult + end end end end diff --git a/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb b/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb index ce036fadcb..44bb0aa0bf 100644 --- a/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb +++ b/azure_sdk/lib/v2018_03_01/modules/policy_profile_module.rb @@ -11,12 +11,12 @@ module Mgmt PolicyAssignments = Azure::Policy::Mgmt::V2016_12_01::PolicyAssignments module Models - PolicyAssignment = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition PolicyAssignmentListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult PolicyDefinitionListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult PolicyType = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyType PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode + PolicyAssignment = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment end class PolicyManagementClass @@ -50,9 +50,6 @@ def method_missing(method, *args) end class ModelClasses - def policy_assignment - Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment - end def policy_definition Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition end @@ -68,6 +65,9 @@ def policy_type def policy_mode Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode end + def policy_assignment + Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment + end 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 5d392db3cf..35864396ad 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 @@ -9,20 +9,21 @@ module Resources module Mgmt Deployments = Azure::Resources::Mgmt::V2018_02_01::Deployments Providers = Azure::Resources::Mgmt::V2018_02_01::Providers - Resources = Azure::Resources::Mgmt::V2018_02_01::Resources ResourceGroups = Azure::Resources::Mgmt::V2018_02_01::ResourceGroups Tags = Azure::Resources::Mgmt::V2018_02_01::Tags + Resources = Azure::Resources::Mgmt::V2018_02_01::Resources DeploymentOperations = Azure::Resources::Mgmt::V2018_02_01::DeploymentOperations module Models Plan = Azure::Resources::Mgmt::V2018_02_01::Models::Plan + ResourceIdentityType = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceIdentityType Sku = Azure::Resources::Mgmt::V2018_02_01::Models::Sku + Dependency = Azure::Resources::Mgmt::V2018_02_01::Models::Dependency GenericResourceFilter = Azure::Resources::Mgmt::V2018_02_01::Models::GenericResourceFilter Identity = Azure::Resources::Mgmt::V2018_02_01::Models::Identity TemplateLink = Azure::Resources::Mgmt::V2018_02_01::Models::TemplateLink ParametersLink = Azure::Resources::Mgmt::V2018_02_01::Models::ParametersLink OnErrorDeployment = Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeployment - ResourceListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceListResult Deployment = Azure::Resources::Mgmt::V2018_02_01::Models::Deployment ResourceGroupProperties = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupProperties ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceManagementErrorWithDetails @@ -31,7 +32,6 @@ module Models ResourceGroupPatchable = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupPatchable Provider = Azure::Resources::Mgmt::V2018_02_01::Models::Provider ResourceGroupListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupListResult - Dependency = Azure::Resources::Mgmt::V2018_02_01::Models::Dependency ResourcesMoveInfo = Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentPropertiesExtended ExportTemplateRequest = Azure::Resources::Mgmt::V2018_02_01::Models::ExportTemplateRequest @@ -58,17 +58,17 @@ module Models 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 - SubResource = Azure::Resources::Mgmt::V2018_02_01::Models::SubResource ProviderResourceType = Azure::Resources::Mgmt::V2018_02_01::Models::ProviderResourceType ResourceGroupExportResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupExportResult GenericResource = Azure::Resources::Mgmt::V2018_02_01::Models::GenericResource DeploymentMode = Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentMode OnErrorDeploymentType = Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentType - ResourceIdentityType = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceIdentityType + SubResource = Azure::Resources::Mgmt::V2018_02_01::Models::SubResource + ResourceListResult = Azure::Resources::Mgmt::V2018_02_01::Models::ResourceListResult end class ResourcesManagementClass - attr_reader :deployments, :providers, :resources, :resource_groups, :tags, :deployment_operations, :configurable, :base_url, :options, :model_classes + attr_reader :deployments, :providers, :resource_groups, :tags, :resources, :deployment_operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -80,9 +80,9 @@ def initialize(configurable, base_url=nil, options=nil) add_telemetry(@client_0) @deployments = @client_0.deployments @providers = @client_0.providers - @resources = @client_0.resources @resource_groups = @client_0.resource_groups @tags = @client_0.tags + @resources = @client_0.resources @deployment_operations = @client_0.deployment_operations @model_classes = ModelClasses.new @@ -105,9 +105,15 @@ class ModelClasses def plan Azure::Resources::Mgmt::V2018_02_01::Models::Plan end + def resource_identity_type + Azure::Resources::Mgmt::V2018_02_01::Models::ResourceIdentityType + end def sku Azure::Resources::Mgmt::V2018_02_01::Models::Sku end + def dependency + Azure::Resources::Mgmt::V2018_02_01::Models::Dependency + end def generic_resource_filter Azure::Resources::Mgmt::V2018_02_01::Models::GenericResourceFilter end @@ -123,9 +129,6 @@ def parameters_link def on_error_deployment Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeployment end - def resource_list_result - Azure::Resources::Mgmt::V2018_02_01::Models::ResourceListResult - end def deployment Azure::Resources::Mgmt::V2018_02_01::Models::Deployment end @@ -150,9 +153,6 @@ def provider def resource_group_list_result Azure::Resources::Mgmt::V2018_02_01::Models::ResourceGroupListResult end - def dependency - Azure::Resources::Mgmt::V2018_02_01::Models::Dependency - end def resources_move_info Azure::Resources::Mgmt::V2018_02_01::Models::ResourcesMoveInfo end @@ -231,9 +231,6 @@ def resource def deployment_list_result Azure::Resources::Mgmt::V2018_02_01::Models::DeploymentListResult end - def sub_resource - Azure::Resources::Mgmt::V2018_02_01::Models::SubResource - end def provider_resource_type Azure::Resources::Mgmt::V2018_02_01::Models::ProviderResourceType end @@ -249,8 +246,11 @@ def deployment_mode def on_error_deployment_type Azure::Resources::Mgmt::V2018_02_01::Models::OnErrorDeploymentType end - def resource_identity_type - Azure::Resources::Mgmt::V2018_02_01::Models::ResourceIdentityType + def sub_resource + Azure::Resources::Mgmt::V2018_02_01::Models::SubResource + end + def resource_list_result + Azure::Resources::Mgmt::V2018_02_01::Models::ResourceListResult end end 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 3fab44e57f..ab3865cd83 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 @@ -11,34 +11,34 @@ module Mgmt UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations module Models - StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters - StorageAccountKey = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey - Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku - StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult - EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService - StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult - Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints - StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain - UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName - StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters - Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices UsageListResult = Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult - CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult - Resource = Azure::Storage::Mgmt::V2016_01_01::Models::Resource - StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount - Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason - SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName + Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku + UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind - ProvisioningState = Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState - AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + 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 + Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason + ProvisioningState = Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState + CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult + 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 + Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption end class StorageManagementClass @@ -72,89 +72,89 @@ def method_missing(method, *args) end class ModelClasses - def storage_account_check_name_availability_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters + def storage_account_regenerate_key_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters end - def storage_account_key - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey + def endpoints + Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints + end + def custom_domain + Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain + end + def encryption_services + Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices + 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 storage_account_list_result - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult + def usage_name + Azure::Storage::Mgmt::V2016_01_01::Models::UsageName end - def encryption_service - Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService + def sku_tier + Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier end - def storage_account_list_keys_result - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult + def storage_account + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount end - def encryption - Azure::Storage::Mgmt::V2016_01_01::Models::Encryption + def kind + Azure::Storage::Mgmt::V2016_01_01::Models::Kind end - def storage_account_regenerate_key_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters + def access_tier + Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier end - def endpoints - Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints + def key_permission + Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission end - def storage_account_update_parameters - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters + def account_status + Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus end - def custom_domain - Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain + def storage_account_list_keys_result + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult end - def usage_name - Azure::Storage::Mgmt::V2016_01_01::Models::UsageName + def usage_unit + Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit end def storage_account_create_parameters Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters end - def usage - Azure::Storage::Mgmt::V2016_01_01::Models::Usage - 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 check_name_availability_result - Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult + def storage_account_update_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters end def resource Azure::Storage::Mgmt::V2016_01_01::Models::Resource end - def storage_account - Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount - end def reason Azure::Storage::Mgmt::V2016_01_01::Models::Reason end + def provisioning_state + Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState + end + def check_name_availability_result + Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult + end def sku_name Azure::Storage::Mgmt::V2016_01_01::Models::SkuName end - def sku_tier - Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier - end - def access_tier - Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier + def storage_account_check_name_availability_parameters + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters end - def kind - Azure::Storage::Mgmt::V2016_01_01::Models::Kind + def storage_account_key + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey end - def provisioning_state - Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState + def usage + Azure::Storage::Mgmt::V2016_01_01::Models::Usage end - def account_status - Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus + def storage_account_list_result + Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult end - def key_permission - Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission + def encryption_service + Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService end - def usage_unit - Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit + def encryption + Azure::Storage::Mgmt::V2016_01_01::Models::Encryption 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 3a8fbae856..047d6392bb 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 - Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations Subscriptions = Azure::Subscriptions::Mgmt::V2016_06_01::Subscriptions Tenants = Azure::Subscriptions::Mgmt::V2016_06_01::Tenants + Operations = Azure::Subscriptions::Mgmt::V2016_06_01::Operations module Models - TenantIdDescription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription Location = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location + 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 - OperationDisplay = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay SubscriptionListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult - Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation Subscription = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription - OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult LocationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult + Operation = Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation SubscriptionState = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState + OperationListResult = Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult SpendingLimit = Azure::Subscriptions::Mgmt::V2016_06_01::Models::SpendingLimit end class SubscriptionsManagementClass - attr_reader :operations, :subscriptions, :tenants, :configurable, :base_url, :options, :model_classes + attr_reader :subscriptions, :tenants, :operations, :configurable, :base_url, :options, :model_classes def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -37,9 +37,9 @@ def initialize(configurable, base_url=nil, options=nil) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) - @operations = @client_0.operations @subscriptions = @client_0.subscriptions @tenants = @client_0.tenants + @operations = @client_0.operations @model_classes = ModelClasses.new end @@ -58,39 +58,39 @@ def method_missing(method, *args) end class ModelClasses - def tenant_id_description - Azure::Subscriptions::Mgmt::V2016_06_01::Models::TenantIdDescription - end def location Azure::Subscriptions::Mgmt::V2016_06_01::Models::Location end + def 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 - def operation_display - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationDisplay - end def subscription_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionListResult end - def operation - Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation - end def subscription Azure::Subscriptions::Mgmt::V2016_06_01::Models::Subscription end - def operation_list_result - Azure::Subscriptions::Mgmt::V2016_06_01::Models::OperationListResult - end def location_list_result Azure::Subscriptions::Mgmt::V2016_06_01::Models::LocationListResult end + def operation + Azure::Subscriptions::Mgmt::V2016_06_01::Models::Operation + end def subscription_state Azure::Subscriptions::Mgmt::V2016_06_01::Models::SubscriptionState 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 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 e71982c8ba..02682dae3a 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,72 +7,54 @@ 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 - Provider = Azure::Web::Mgmt::V2016_03_01::Provider Recommendations = Azure::Web::Mgmt::V2016_03_01::Recommendations ResourceHealthMetadataOperations = Azure::Web::Mgmt::V2016_03_01::ResourceHealthMetadataOperations BillingMeters = Azure::Web::Mgmt::V2016_03_01::BillingMeters WebApps = Azure::Web::Mgmt::V2016_08_01::WebApps - AppServiceEnvironments = Azure::Web::Mgmt::V2016_09_01::AppServiceEnvironments AppServicePlans = Azure::Web::Mgmt::V2016_09_01::AppServicePlans + AppServiceEnvironments = Azure::Web::Mgmt::V2016_09_01::AppServiceEnvironments module Models - DefaultErrorResponseErrorDetailsItem = Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponseErrorDetailsItem - DefaultErrorResponseError = Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponseError - CertificateCollection = Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection - DefaultErrorResponse = Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponse - CsmOperationDisplay = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay Dimension = Azure::Web::Mgmt::V2016_03_01::Models::Dimension - ValidateResponse = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponse - MetricAvailability = Azure::Web::Mgmt::V2016_03_01::Models::MetricAvailability - MetricSpecification = Azure::Web::Mgmt::V2016_03_01::Models::MetricSpecification - ServiceSpecification = Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification - SourceControlCollection = Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection - CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties - ResourceNameAvailabilityRequest = Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailabilityRequest - CsmOperationDescription = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription - PremierAddOnOfferCollection = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOfferCollection - CsmOperationCollection = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection - ApplicationStack = Azure::Web::Mgmt::V2016_03_01::Models::ApplicationStack - StackMajorVersion = Azure::Web::Mgmt::V2016_03_01::Models::StackMajorVersion - DeploymentLocations = Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations 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 - 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 Solution = Azure::Web::Mgmt::V2016_03_01::Models::Solution - DetectorAbnormalTimePeriod = Azure::Web::Mgmt::V2016_03_01::Models::DetectorAbnormalTimePeriod + DeletedSite = Azure::Web::Mgmt::V2016_03_01::Models::DeletedSite ResourceNameAvailability = Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailability AbnormalTimePeriod = Azure::Web::Mgmt::V2016_03_01::Models::AbnormalTimePeriod + ValidateResponseError = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponseError HostingEnvironmentDeploymentInfo = Azure::Web::Mgmt::V2016_03_01::Models::HostingEnvironmentDeploymentInfo - DiagnosticMetricSample = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSample + DetectorAbnormalTimePeriod = Azure::Web::Mgmt::V2016_03_01::Models::DetectorAbnormalTimePeriod DiagnosticMetricSet = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSet DataSource = Azure::Web::Mgmt::V2016_03_01::Models::DataSource - ResponseMetaData = Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData + DiagnosticMetricSample = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSample AnalysisData = Azure::Web::Mgmt::V2016_03_01::Models::AnalysisData CsmMoveResourceEnvelope = Azure::Web::Mgmt::V2016_03_01::Models::CsmMoveResourceEnvelope - DataTableResponseColumn = Azure::Web::Mgmt::V2016_03_01::Models::DataTableResponseColumn + ResponseMetaData = Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData AppServiceEnvironment = Azure::Web::Mgmt::V2016_03_01::Models::AppServiceEnvironment DataTableResponseObject = Azure::Web::Mgmt::V2016_03_01::Models::DataTableResponseObject - ValidateRequest = Azure::Web::Mgmt::V2016_03_01::Models::ValidateRequest DetectorInfo = Azure::Web::Mgmt::V2016_03_01::Models::DetectorInfo - Rendering = Azure::Web::Mgmt::V2016_03_01::Models::Rendering + DataTableResponseColumn = Azure::Web::Mgmt::V2016_03_01::Models::DataTableResponseColumn DiagnosticData = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticData + ValidateRequest = Azure::Web::Mgmt::V2016_03_01::Models::ValidateRequest BillingMeterCollection = Azure::Web::Mgmt::V2016_03_01::Models::BillingMeterCollection + Rendering = Azure::Web::Mgmt::V2016_03_01::Models::Rendering DetectorResponseCollection = Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection ResourceHealthMetadataCollection = Azure::Web::Mgmt::V2016_03_01::Models::ResourceHealthMetadataCollection - SkuInfos = Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos DiagnosticAnalysisCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysisCollection + SkuInfos = Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos RecommendationCollection = Azure::Web::Mgmt::V2016_03_01::Models::RecommendationCollection DiagnosticCategoryCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection - DiagnosticDetectorCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection ApplicationStackCollection = Azure::Web::Mgmt::V2016_03_01::Models::ApplicationStackCollection + DiagnosticDetectorCollection = Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection StackMinorVersion = Azure::Web::Mgmt::V2016_03_01::Models::StackMinorVersion - Certificate = Azure::Web::Mgmt::V2016_03_01::Models::Certificate CertificatePatchResource = Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource DetectorDefinition = Azure::Web::Mgmt::V2016_03_01::Models::DetectorDefinition AnalysisDefinition = Azure::Web::Mgmt::V2016_03_01::Models::AnalysisDefinition @@ -87,21 +69,41 @@ module Models 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 - VnetParameters = Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters VnetValidationTestFailure = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationTestFailure VnetValidationFailureDetails = Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails + VnetParameters = Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters KeyVaultSecretStatus = Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus - IssueType = Azure::Web::Mgmt::V2016_03_01::Models::IssueType - SolutionType = Azure::Web::Mgmt::V2016_03_01::Models::SolutionType + ServiceSpecification = Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification + Certificate = Azure::Web::Mgmt::V2016_03_01::Models::Certificate RenderingType = Azure::Web::Mgmt::V2016_03_01::Models::RenderingType ResourceScopeType = Azure::Web::Mgmt::V2016_03_01::Models::ResourceScopeType NotificationLevel = Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel - Channels = Azure::Web::Mgmt::V2016_03_01::Models::Channels + SolutionType = Azure::Web::Mgmt::V2016_03_01::Models::SolutionType AppServicePlanRestrictions = Azure::Web::Mgmt::V2016_03_01::Models::AppServicePlanRestrictions InAvailabilityReasonType = Azure::Web::Mgmt::V2016_03_01::Models::InAvailabilityReasonType CheckNameResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes + Channels = Azure::Web::Mgmt::V2016_03_01::Models::Channels ValidateResourceTypes = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResourceTypes SkuName = Azure::Web::Mgmt::V2016_03_01::Models::SkuName + IssueType = Azure::Web::Mgmt::V2016_03_01::Models::IssueType + DefaultErrorResponseErrorDetailsItem = Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponseErrorDetailsItem + DefaultErrorResponseError = Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponseError + CertificateCollection = Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection + DefaultErrorResponse = Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponse + CsmOperationDisplay = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay + ValidateResponse = Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponse + MetricAvailability = Azure::Web::Mgmt::V2016_03_01::Models::MetricAvailability + SourceControlCollection = Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection + CsmOperationDescriptionProperties = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties + ResourceNameAvailabilityRequest = Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailabilityRequest + CsmOperationDescription = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription + PremierAddOnOfferCollection = Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOfferCollection + CsmOperationCollection = Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection + ApplicationStack = Azure::Web::Mgmt::V2016_03_01::Models::ApplicationStack + StackMajorVersion = Azure::Web::Mgmt::V2016_03_01::Models::StackMajorVersion + DeploymentLocations = Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations + 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 ApplicationLogsConfig = Azure::Web::Mgmt::V2016_08_01::Models::ApplicationLogsConfig DatabaseBackupSetting = Azure::Web::Mgmt::V2016_08_01::Models::DatabaseBackupSetting @@ -113,7 +115,6 @@ module Models CsmPublishingProfileOptions = Azure::Web::Mgmt::V2016_08_01::Models::CsmPublishingProfileOptions WebAppInstanceCollection = Azure::Web::Mgmt::V2016_08_01::Models::WebAppInstanceCollection PublicCertificateCollection = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection - IdentifierCollection = Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection TriggeredWebJobCollection = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobCollection EnabledConfig = Azure::Web::Mgmt::V2016_08_01::Models::EnabledConfig TriggeredJobHistoryCollection = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistoryCollection @@ -146,7 +147,6 @@ module Models ConnectionStringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::ConnectionStringDictionary ContinuousWebJob = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJob CustomHostnameAnalysisResult = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult - Deployment = Azure::Web::Mgmt::V2016_08_01::Models::Deployment FunctionEnvelope = Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelope FunctionSecrets = Azure::Web::Mgmt::V2016_08_01::Models::FunctionSecrets HostNameBinding = Azure::Web::Mgmt::V2016_08_01::Models::HostNameBinding @@ -175,28 +175,24 @@ module Models SiteSourceControl = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl SlotConfigNamesResource = Azure::Web::Mgmt::V2016_08_01::Models::SlotConfigNamesResource SlotDifference = Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference - Snapshot = Azure::Web::Mgmt::V2016_08_01::Models::Snapshot StorageMigrationOptions = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions StorageMigrationResponse = Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationResponse StringDictionary = Azure::Web::Mgmt::V2016_08_01::Models::StringDictionary TriggeredJobRun = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobRun TriggeredJobHistory = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredJobHistory TriggeredWebJob = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob - WebJob = Azure::Web::Mgmt::V2016_08_01::Models::WebJob LogLevel = Azure::Web::Mgmt::V2016_08_01::Models::LogLevel BackupItemStatus = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus + WebJob = Azure::Web::Mgmt::V2016_08_01::Models::WebJob DatabaseType = Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType - FrequencyUnit = Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit BackupRestoreOperationType = Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType - ContinuousWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus - WebJobType = Azure::Web::Mgmt::V2016_08_01::Models::WebJobType PublishingProfileFormat = Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat - DnsVerificationTestResult = Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + ContinuousWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus AzureResourceType = Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType CustomHostNameDnsRecordType = Azure::Web::Mgmt::V2016_08_01::Models::CustomHostNameDnsRecordType HostNameType = Azure::Web::Mgmt::V2016_08_01::Models::HostNameType - MSDeployLogEntryType = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType - MSDeployProvisioningState = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + WebJobType = Azure::Web::Mgmt::V2016_08_01::Models::WebJobType + FrequencyUnit = Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit MySqlMigrationType = Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType PublicCertificateLocation = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateLocation UnauthenticatedClientAction = Azure::Web::Mgmt::V2016_08_01::Models::UnauthenticatedClientAction @@ -204,72 +200,43 @@ module Models CloneAbilityResult = Azure::Web::Mgmt::V2016_08_01::Models::CloneAbilityResult SiteExtensionType = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionType TriggeredWebJobStatus = Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus - HostingEnvironmentProfile = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile - VirtualIPMapping = Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping - IpSecurityRestriction = Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction - VirtualNetworkProfile = Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile - ApiDefinitionInfo = Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo - StampCapacity = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity - CorsSettings = Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings - NameValuePair = Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair - AutoHealCustomAction = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction - AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection - AutoHealActions = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions - HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics - SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger - SlotSwapStatus = Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus - SkuCapacity = Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity - CloningInfo = Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo - SkuDescription = Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription - AddressResponse = Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse - SkuInfoCollection = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection - WorkerPool = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool - NetworkAccessControlEntry = Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry - ResourceCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection - WorkerPoolCollection = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection - HybridConnectionCollection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection - Resource = Azure::Web::Mgmt::V2016_09_01::Models::Resource - ErrorEntity = Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity + DnsVerificationTestResult = Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + IdentifierCollection = Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection + MSDeployProvisioningState = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + MSDeployLogEntryType = Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType + VirtualDirectory = Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory + HandlerMapping = Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping + ConnStringInfo = Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo + SiteConfig = Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig ResourceMetricProperty = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty - SnapshotRecoveryTarget = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget - MetricAvailabilily = Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily - ResourceMetricAvailability = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability + 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 - CsmUsageQuotaCollection = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection - StatusCodesBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger - LocalizableString = Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString - RequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger ResourceMetricCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricCollection - AutoHealTriggers = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers - ManagedServiceIdentity = Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity - AutoHealRules = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules - SkuInfo = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo - SiteLimits = Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits - UsageCollection = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection - RampUpRule = Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule + 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 - Experiments = Azure::Web::Mgmt::V2016_09_01::Models::Experiments ResourceMetricName = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName - VirtualDirectory = Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory - ResourceMetricDefinitionCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection - VirtualApplication = Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication - Capability = Azure::Web::Mgmt::V2016_09_01::Models::Capability - HandlerMapping = Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping - Operation = Azure::Web::Mgmt::V2016_09_01::Models::Operation + SlotSwapStatus = Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus + OperationStatus = Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus + CorsSettings = Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings + AutoHealTriggers = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers + Experiments = Azure::Web::Mgmt::V2016_09_01::Models::Experiments SiteMachineKey = Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey - CsmUsageQuota = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota - ConnStringInfo = Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo - StampCapacityCollection = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection - SiteConfig = Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig - ProxyOnlyResource = Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource HostNameSslState = Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState - WebAppCollection = Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection - ResourceMetricValue = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue - AppServiceEnvironmentResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource - AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource - MetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition - Usage = Azure::Web::Mgmt::V2016_09_01::Models::Usage - WorkerPoolResource = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource + SkuDescription = Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription + WorkerPool = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool + ProxyOnlyResource = Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource + AutoHealActions = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions + VirtualApplication = Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication + Capability = Azure::Web::Mgmt::V2016_09_01::Models::Capability + StampCapacity = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity + SiteLimits = Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits + IpSecurityRestriction = Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction + NameValuePair = Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair VnetRoute = Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute VnetInfo = Azure::Web::Mgmt::V2016_09_01::Models::VnetInfo VnetGateway = Azure::Web::Mgmt::V2016_09_01::Models::VnetGateway @@ -277,19 +244,11 @@ module Models SnapshotRecoveryRequest = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryRequest ResourceMetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinition PushSettings = Azure::Web::Mgmt::V2016_09_01::Models::PushSettings - Identifier = Azure::Web::Mgmt::V2016_09_01::Models::Identifier HybridConnectionKey = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey HybridConnection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnection Site = Azure::Web::Mgmt::V2016_09_01::Models::Site AppServicePlan = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan - AppServicePlanPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource - HybridConnectionLimits = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits - ProvisioningState = Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState - HostingEnvironmentStatus = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus - InternalLoadBalancingMode = Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode - ComputeModeOptions = Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions - WorkerSizeOptions = Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions - AccessControlEntryAction = Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction + Resource = Azure::Web::Mgmt::V2016_09_01::Models::Resource RouteType = Azure::Web::Mgmt::V2016_09_01::Models::RouteType ManagedServiceIdentityType = Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentityType AutoHealActionType = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActionType @@ -299,15 +258,56 @@ module Models SiteLoadBalancing = Azure::Web::Mgmt::V2016_09_01::Models::SiteLoadBalancing SupportedTlsVersions = Azure::Web::Mgmt::V2016_09_01::Models::SupportedTlsVersions SslState = Azure::Web::Mgmt::V2016_09_01::Models::SslState + Operation = Azure::Web::Mgmt::V2016_09_01::Models::Operation HostType = Azure::Web::Mgmt::V2016_09_01::Models::HostType UsageState = Azure::Web::Mgmt::V2016_09_01::Models::UsageState SiteAvailabilityState = Azure::Web::Mgmt::V2016_09_01::Models::SiteAvailabilityState + HostingEnvironmentStatus = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus + InternalLoadBalancingMode = Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode + ComputeModeOptions = Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions + WorkerSizeOptions = Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions + AccessControlEntryAction = Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction StatusOptions = Azure::Web::Mgmt::V2016_09_01::Models::StatusOptions - OperationStatus = Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus + ProvisioningState = Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState + AppServiceEnvironmentCollection = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection + HostingEnvironmentDiagnostics = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics + AddressResponse = Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse + SkuInfoCollection = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection + ResourceCollection = Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection + ManagedServiceIdentity = Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity + HybridConnectionCollection = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection + MetricAvailabilily = Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily + SkuInfo = Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo + UsageCollection = Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection + StampCapacityCollection = Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection + AppServiceEnvironmentResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource + AppServiceEnvironmentPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource + MetricDefinition = Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition + WorkerPoolResource = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource + WorkerPoolCollection = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection + AppServicePlanPatchResource = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource + HybridConnectionLimits = Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits + HostingEnvironmentProfile = Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile + SnapshotRecoveryTarget = Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget + ResourceMetricAvailability = Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability + LocalizableString = Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString + CloningInfo = Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo + CsmUsageQuota = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota + ApiDefinitionInfo = Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo + CsmUsageQuotaCollection = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection + AutoHealCustomAction = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction + ErrorEntity = Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity + SlowRequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger + StatusCodesBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger + RequestsBasedTrigger = Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + AutoHealRules = Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules + Usage = Azure::Web::Mgmt::V2016_09_01::Models::Usage + RampUpRule = Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule + Identifier = Azure::Web::Mgmt::V2016_09_01::Models::Identifier end class WebManagementClass - attr_reader :certificates, :deleted_web_apps, :diagnostics, :provider, :recommendations, :resource_health_metadata_operations, :billing_meters, :web_apps, :app_service_environments, :app_service_plans, :configurable, :base_url, :options, :model_classes + 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 def initialize(configurable, base_url=nil, options=nil) @configurable, @base_url, @options = configurable, base_url, options @@ -317,10 +317,10 @@ 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 - @provider = @client_0.provider @recommendations = @client_0.recommendations @resource_health_metadata_operations = @client_0.resource_health_metadata_operations @billing_meters = @client_0.billing_meters @@ -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_environments = @client_2.app_service_environments @app_service_plans = @client_2.app_service_plans + @app_service_environments = @client_2.app_service_environments @model_classes = ModelClasses.new end @@ -361,86 +361,29 @@ def method_missing(method, *args) end class ModelClasses - def default_error_response_error_details_item - Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponseErrorDetailsItem - end - def default_error_response_error - Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponseError - end - def certificate_collection - Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection - end - def default_error_response - Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponse - end - def csm_operation_display - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay - end def dimension Azure::Web::Mgmt::V2016_03_01::Models::Dimension end - def validate_response - Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponse - end - def metric_availability - Azure::Web::Mgmt::V2016_03_01::Models::MetricAvailability + 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 service_specification - Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification - end - def source_control_collection - Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection - end - def csm_operation_description_properties - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties - end - def resource_name_availability_request - Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailabilityRequest - end - def csm_operation_description - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription - end - def premier_add_on_offer_collection - Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOfferCollection - end - def csm_operation_collection - Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection - end - def application_stack - Azure::Web::Mgmt::V2016_03_01::Models::ApplicationStack - end - def stack_major_version - Azure::Web::Mgmt::V2016_03_01::Models::StackMajorVersion - end - def deployment_locations - Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations - end - def name_identifier - Azure::Web::Mgmt::V2016_03_01::Models::NameIdentifier - end def 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 deleted_site - Azure::Web::Mgmt::V2016_03_01::Models::DeletedSite - end def deleted_web_app_collection Azure::Web::Mgmt::V2016_03_01::Models::DeletedWebAppCollection end - def validate_response_error - Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponseError - end def solution Azure::Web::Mgmt::V2016_03_01::Models::Solution end - def detector_abnormal_time_period - Azure::Web::Mgmt::V2016_03_01::Models::DetectorAbnormalTimePeriod + def deleted_site + Azure::Web::Mgmt::V2016_03_01::Models::DeletedSite end def resource_name_availability Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailability @@ -448,11 +391,14 @@ def resource_name_availability def abnormal_time_period Azure::Web::Mgmt::V2016_03_01::Models::AbnormalTimePeriod end + def validate_response_error + Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponseError + end def hosting_environment_deployment_info Azure::Web::Mgmt::V2016_03_01::Models::HostingEnvironmentDeploymentInfo end - def diagnostic_metric_sample - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSample + def detector_abnormal_time_period + Azure::Web::Mgmt::V2016_03_01::Models::DetectorAbnormalTimePeriod end def diagnostic_metric_set Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSet @@ -460,8 +406,8 @@ def diagnostic_metric_set def data_source Azure::Web::Mgmt::V2016_03_01::Models::DataSource end - def response_meta_data - Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData + def diagnostic_metric_sample + Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticMetricSample end def analysis_data Azure::Web::Mgmt::V2016_03_01::Models::AnalysisData @@ -469,8 +415,8 @@ def analysis_data def csm_move_resource_envelope Azure::Web::Mgmt::V2016_03_01::Models::CsmMoveResourceEnvelope end - def data_table_response_column - Azure::Web::Mgmt::V2016_03_01::Models::DataTableResponseColumn + def response_meta_data + Azure::Web::Mgmt::V2016_03_01::Models::ResponseMetaData end def app_service_environment Azure::Web::Mgmt::V2016_03_01::Models::AppServiceEnvironment @@ -478,51 +424,51 @@ def app_service_environment def data_table_response_object Azure::Web::Mgmt::V2016_03_01::Models::DataTableResponseObject end - def validate_request - Azure::Web::Mgmt::V2016_03_01::Models::ValidateRequest - end def detector_info Azure::Web::Mgmt::V2016_03_01::Models::DetectorInfo end - def rendering - Azure::Web::Mgmt::V2016_03_01::Models::Rendering + def data_table_response_column + Azure::Web::Mgmt::V2016_03_01::Models::DataTableResponseColumn end def diagnostic_data Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticData end + def validate_request + Azure::Web::Mgmt::V2016_03_01::Models::ValidateRequest + end def billing_meter_collection Azure::Web::Mgmt::V2016_03_01::Models::BillingMeterCollection end + def rendering + Azure::Web::Mgmt::V2016_03_01::Models::Rendering + end def detector_response_collection Azure::Web::Mgmt::V2016_03_01::Models::DetectorResponseCollection end def resource_health_metadata_collection Azure::Web::Mgmt::V2016_03_01::Models::ResourceHealthMetadataCollection end - def sku_infos - Azure::Web::Mgmt::V2016_03_01::Models::SkuInfos - end def diagnostic_analysis_collection Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticAnalysisCollection end + 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_category_collection Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticCategoryCollection end - def diagnostic_detector_collection - Azure::Web::Mgmt::V2016_03_01::Models::DiagnosticDetectorCollection - end def application_stack_collection Azure::Web::Mgmt::V2016_03_01::Models::ApplicationStackCollection end + 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 certificate - Azure::Web::Mgmt::V2016_03_01::Models::Certificate - end def certificate_patch_resource Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource end @@ -565,23 +511,23 @@ def premier_add_on_offer def source_control Azure::Web::Mgmt::V2016_03_01::Models::SourceControl end - def vnet_parameters - Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters - end def vnet_validation_test_failure Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationTestFailure end def vnet_validation_failure_details Azure::Web::Mgmt::V2016_03_01::Models::VnetValidationFailureDetails end + def vnet_parameters + Azure::Web::Mgmt::V2016_03_01::Models::VnetParameters + end def key_vault_secret_status Azure::Web::Mgmt::V2016_03_01::Models::KeyVaultSecretStatus end - def issue_type - Azure::Web::Mgmt::V2016_03_01::Models::IssueType + def service_specification + Azure::Web::Mgmt::V2016_03_01::Models::ServiceSpecification end - def solution_type - Azure::Web::Mgmt::V2016_03_01::Models::SolutionType + def certificate + Azure::Web::Mgmt::V2016_03_01::Models::Certificate end def rendering_type Azure::Web::Mgmt::V2016_03_01::Models::RenderingType @@ -592,8 +538,8 @@ def resource_scope_type def notification_level Azure::Web::Mgmt::V2016_03_01::Models::NotificationLevel end - def channels - Azure::Web::Mgmt::V2016_03_01::Models::Channels + def solution_type + Azure::Web::Mgmt::V2016_03_01::Models::SolutionType end def app_service_plan_restrictions Azure::Web::Mgmt::V2016_03_01::Models::AppServicePlanRestrictions @@ -604,12 +550,72 @@ def in_availability_reason_type def check_name_resource_types Azure::Web::Mgmt::V2016_03_01::Models::CheckNameResourceTypes end + def channels + Azure::Web::Mgmt::V2016_03_01::Models::Channels + end def validate_resource_types Azure::Web::Mgmt::V2016_03_01::Models::ValidateResourceTypes end def sku_name Azure::Web::Mgmt::V2016_03_01::Models::SkuName end + def issue_type + Azure::Web::Mgmt::V2016_03_01::Models::IssueType + end + def default_error_response_error_details_item + Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponseErrorDetailsItem + end + def default_error_response_error + Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponseError + end + def certificate_collection + Azure::Web::Mgmt::V2016_03_01::Models::CertificateCollection + end + def default_error_response + Azure::Web::Mgmt::V2016_03_01::Models::DefaultErrorResponse + end + def csm_operation_display + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDisplay + end + def validate_response + Azure::Web::Mgmt::V2016_03_01::Models::ValidateResponse + end + def metric_availability + Azure::Web::Mgmt::V2016_03_01::Models::MetricAvailability + end + def source_control_collection + Azure::Web::Mgmt::V2016_03_01::Models::SourceControlCollection + end + def csm_operation_description_properties + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescriptionProperties + end + def resource_name_availability_request + Azure::Web::Mgmt::V2016_03_01::Models::ResourceNameAvailabilityRequest + end + def csm_operation_description + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationDescription + end + def premier_add_on_offer_collection + Azure::Web::Mgmt::V2016_03_01::Models::PremierAddOnOfferCollection + end + def csm_operation_collection + Azure::Web::Mgmt::V2016_03_01::Models::CsmOperationCollection + end + def application_stack + Azure::Web::Mgmt::V2016_03_01::Models::ApplicationStack + end + def stack_major_version + Azure::Web::Mgmt::V2016_03_01::Models::StackMajorVersion + end + def deployment_locations + Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations + end + def deployment + Azure::Web::Mgmt::V2016_08_01::Models::Deployment + end + def snapshot + Azure::Web::Mgmt::V2016_08_01::Models::Snapshot + end def azure_table_storage_application_logs_config Azure::Web::Mgmt::V2016_08_01::Models::AzureTableStorageApplicationLogsConfig end @@ -643,9 +649,6 @@ def web_app_instance_collection def public_certificate_collection Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection end - def identifier_collection - Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection - end def triggered_web_job_collection Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobCollection end @@ -742,9 +745,6 @@ def continuous_web_job def custom_hostname_analysis_result Azure::Web::Mgmt::V2016_08_01::Models::CustomHostnameAnalysisResult end - def deployment - Azure::Web::Mgmt::V2016_08_01::Models::Deployment - end def function_envelope Azure::Web::Mgmt::V2016_08_01::Models::FunctionEnvelope end @@ -829,9 +829,6 @@ def slot_config_names_resource def slot_difference Azure::Web::Mgmt::V2016_08_01::Models::SlotDifference end - def snapshot - Azure::Web::Mgmt::V2016_08_01::Models::Snapshot - end def storage_migration_options Azure::Web::Mgmt::V2016_08_01::Models::StorageMigrationOptions end @@ -850,35 +847,26 @@ def triggered_job_history def triggered_web_job Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJob end - def web_job - Azure::Web::Mgmt::V2016_08_01::Models::WebJob - end def log_level Azure::Web::Mgmt::V2016_08_01::Models::LogLevel end def backup_item_status Azure::Web::Mgmt::V2016_08_01::Models::BackupItemStatus end + def web_job + Azure::Web::Mgmt::V2016_08_01::Models::WebJob + end def database_type Azure::Web::Mgmt::V2016_08_01::Models::DatabaseType end - def frequency_unit - Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit - end def backup_restore_operation_type Azure::Web::Mgmt::V2016_08_01::Models::BackupRestoreOperationType end - def continuous_web_job_status - Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus - end - def web_job_type - Azure::Web::Mgmt::V2016_08_01::Models::WebJobType - end def publishing_profile_format Azure::Web::Mgmt::V2016_08_01::Models::PublishingProfileFormat end - def dns_verification_test_result - Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult + def continuous_web_job_status + Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobStatus end def azure_resource_type Azure::Web::Mgmt::V2016_08_01::Models::AzureResourceType @@ -889,11 +877,11 @@ def custom_host_name_dns_record_type def host_name_type Azure::Web::Mgmt::V2016_08_01::Models::HostNameType end - def msdeploy_log_entry_type - Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType + def web_job_type + Azure::Web::Mgmt::V2016_08_01::Models::WebJobType end - def msdeploy_provisioning_state - Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState + def frequency_unit + Azure::Web::Mgmt::V2016_08_01::Models::FrequencyUnit end def my_sql_migration_type Azure::Web::Mgmt::V2016_08_01::Models::MySqlMigrationType @@ -916,203 +904,116 @@ def site_extension_type def triggered_web_job_status Azure::Web::Mgmt::V2016_08_01::Models::TriggeredWebJobStatus end - def hosting_environment_profile - Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile - end - def virtual_ipmapping - Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping - end - def ip_security_restriction - Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction - end - def virtual_network_profile - Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile - end - def api_definition_info - Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo + def dns_verification_test_result + Azure::Web::Mgmt::V2016_08_01::Models::DnsVerificationTestResult end - def stamp_capacity - Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity + def identifier_collection + Azure::Web::Mgmt::V2016_08_01::Models::IdentifierCollection end - def cors_settings - Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings + def msdeploy_provisioning_state + Azure::Web::Mgmt::V2016_08_01::Models::MSDeployProvisioningState end - def name_value_pair - Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair + def msdeploy_log_entry_type + Azure::Web::Mgmt::V2016_08_01::Models::MSDeployLogEntryType end - def auto_heal_custom_action - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction + def virtual_directory + Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory end - def app_service_environment_collection - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection + def handler_mapping + Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping end - def auto_heal_actions - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions + def conn_string_info + Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo end - def hosting_environment_diagnostics - Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics + def site_config + Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig end - def slow_requests_based_trigger - Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger + def resource_metric_property + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty end - def slot_swap_status - Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus + def resource_metric_value + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue end def sku_capacity Azure::Web::Mgmt::V2016_09_01::Models::SkuCapacity end - def cloning_info - Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo - end - def sku_description - Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription - end - def address_response - Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse - end - def sku_info_collection - Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection - end - def worker_pool - Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool - end - def network_access_control_entry - Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry - end - def resource_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection - end - def worker_pool_collection - Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection - end - def hybrid_connection_collection - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection - end - def resource - Azure::Web::Mgmt::V2016_09_01::Models::Resource - end - def error_entity - Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity - end - def resource_metric_property - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricProperty - end - def snapshot_recovery_target - Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget - end - def metric_availabilily - Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily - end - def resource_metric_availability - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability - end - def resource_metric - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetric - end - def csm_usage_quota_collection - Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection - end - def status_codes_based_trigger - Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger - end - def localizable_string - Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString - end - def requests_based_trigger - Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + 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 auto_heal_triggers - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers - end - def managed_service_identity - Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity - end - def auto_heal_rules - Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules + def virtual_network_profile + Azure::Web::Mgmt::V2016_09_01::Models::VirtualNetworkProfile end - def sku_info - Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo + def resource_metric_definition_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection end - def site_limits - Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits + def virtual_ipmapping + Azure::Web::Mgmt::V2016_09_01::Models::VirtualIPMapping end - def usage_collection - Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection + def web_app_collection + Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection end - def ramp_up_rule - Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule + def network_access_control_entry + Azure::Web::Mgmt::V2016_09_01::Models::NetworkAccessControlEntry end def app_service_plan_collection Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanCollection end - def experiments - Azure::Web::Mgmt::V2016_09_01::Models::Experiments - end def resource_metric_name Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricName end - def virtual_directory - Azure::Web::Mgmt::V2016_09_01::Models::VirtualDirectory - end - def resource_metric_definition_collection - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricDefinitionCollection + def slot_swap_status + Azure::Web::Mgmt::V2016_09_01::Models::SlotSwapStatus end - def virtual_application - Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication + def operation_status + Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus end - def capability - Azure::Web::Mgmt::V2016_09_01::Models::Capability + def cors_settings + Azure::Web::Mgmt::V2016_09_01::Models::CorsSettings end - def handler_mapping - Azure::Web::Mgmt::V2016_09_01::Models::HandlerMapping + def auto_heal_triggers + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealTriggers end - def operation - Azure::Web::Mgmt::V2016_09_01::Models::Operation + def experiments + Azure::Web::Mgmt::V2016_09_01::Models::Experiments end def site_machine_key Azure::Web::Mgmt::V2016_09_01::Models::SiteMachineKey end - def csm_usage_quota - Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota - end - def conn_string_info - Azure::Web::Mgmt::V2016_09_01::Models::ConnStringInfo + def host_name_ssl_state + Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState end - def stamp_capacity_collection - Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection + def sku_description + Azure::Web::Mgmt::V2016_09_01::Models::SkuDescription end - def site_config - Azure::Web::Mgmt::V2016_09_01::Models::SiteConfig + def worker_pool + Azure::Web::Mgmt::V2016_09_01::Models::WorkerPool end def proxy_only_resource Azure::Web::Mgmt::V2016_09_01::Models::ProxyOnlyResource end - def host_name_ssl_state - Azure::Web::Mgmt::V2016_09_01::Models::HostNameSslState - end - def web_app_collection - Azure::Web::Mgmt::V2016_09_01::Models::WebAppCollection + def auto_heal_actions + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealActions end - def resource_metric_value - Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricValue + def virtual_application + Azure::Web::Mgmt::V2016_09_01::Models::VirtualApplication end - def app_service_environment_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource + def capability + Azure::Web::Mgmt::V2016_09_01::Models::Capability end - def app_service_environment_patch_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource + def stamp_capacity + Azure::Web::Mgmt::V2016_09_01::Models::StampCapacity end - def metric_definition - Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition + def site_limits + Azure::Web::Mgmt::V2016_09_01::Models::SiteLimits end - def usage - Azure::Web::Mgmt::V2016_09_01::Models::Usage + def ip_security_restriction + Azure::Web::Mgmt::V2016_09_01::Models::IpSecurityRestriction end - def worker_pool_resource - Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource + def name_value_pair + Azure::Web::Mgmt::V2016_09_01::Models::NameValuePair end def vnet_route Azure::Web::Mgmt::V2016_09_01::Models::VnetRoute @@ -1135,9 +1036,6 @@ def resource_metric_definition def push_settings Azure::Web::Mgmt::V2016_09_01::Models::PushSettings end - def identifier - Azure::Web::Mgmt::V2016_09_01::Models::Identifier - end def hybrid_connection_key Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionKey end @@ -1150,29 +1048,8 @@ def site def app_service_plan Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan end - def app_service_plan_patch_resource - Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource - end - def hybrid_connection_limits - Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits - end - def provisioning_state - Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState - end - def hosting_environment_status - Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus - end - def internal_load_balancing_mode - Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode - end - def compute_mode_options - Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions - end - def worker_size_options - Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions - end - def access_control_entry_action - Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction + def resource + Azure::Web::Mgmt::V2016_09_01::Models::Resource end def route_type Azure::Web::Mgmt::V2016_09_01::Models::RouteType @@ -1201,6 +1078,9 @@ def supported_tls_versions def ssl_state Azure::Web::Mgmt::V2016_09_01::Models::SslState end + def operation + Azure::Web::Mgmt::V2016_09_01::Models::Operation + end def host_type Azure::Web::Mgmt::V2016_09_01::Models::HostType end @@ -1210,11 +1090,131 @@ def usage_state def site_availability_state Azure::Web::Mgmt::V2016_09_01::Models::SiteAvailabilityState end + def hosting_environment_status + Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentStatus + end + def internal_load_balancing_mode + Azure::Web::Mgmt::V2016_09_01::Models::InternalLoadBalancingMode + end + def compute_mode_options + Azure::Web::Mgmt::V2016_09_01::Models::ComputeModeOptions + end + def worker_size_options + Azure::Web::Mgmt::V2016_09_01::Models::WorkerSizeOptions + end + def access_control_entry_action + Azure::Web::Mgmt::V2016_09_01::Models::AccessControlEntryAction + end def status_options Azure::Web::Mgmt::V2016_09_01::Models::StatusOptions end - def operation_status - Azure::Web::Mgmt::V2016_09_01::Models::OperationStatus + def provisioning_state + Azure::Web::Mgmt::V2016_09_01::Models::ProvisioningState + end + def app_service_environment_collection + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentCollection + end + def hosting_environment_diagnostics + Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentDiagnostics + end + def address_response + Azure::Web::Mgmt::V2016_09_01::Models::AddressResponse + end + def sku_info_collection + Azure::Web::Mgmt::V2016_09_01::Models::SkuInfoCollection + end + def resource_collection + Azure::Web::Mgmt::V2016_09_01::Models::ResourceCollection + end + def managed_service_identity + Azure::Web::Mgmt::V2016_09_01::Models::ManagedServiceIdentity + end + def hybrid_connection_collection + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionCollection + end + def metric_availabilily + Azure::Web::Mgmt::V2016_09_01::Models::MetricAvailabilily + end + def sku_info + Azure::Web::Mgmt::V2016_09_01::Models::SkuInfo + end + def usage_collection + Azure::Web::Mgmt::V2016_09_01::Models::UsageCollection + end + def stamp_capacity_collection + Azure::Web::Mgmt::V2016_09_01::Models::StampCapacityCollection + end + def app_service_environment_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource + end + def app_service_environment_patch_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource + end + def metric_definition + Azure::Web::Mgmt::V2016_09_01::Models::MetricDefinition + end + def worker_pool_resource + Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource + end + def worker_pool_collection + Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolCollection + end + def app_service_plan_patch_resource + Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource + end + def hybrid_connection_limits + Azure::Web::Mgmt::V2016_09_01::Models::HybridConnectionLimits + end + def hosting_environment_profile + Azure::Web::Mgmt::V2016_09_01::Models::HostingEnvironmentProfile + end + def snapshot_recovery_target + Azure::Web::Mgmt::V2016_09_01::Models::SnapshotRecoveryTarget + end + def resource_metric_availability + Azure::Web::Mgmt::V2016_09_01::Models::ResourceMetricAvailability + end + def localizable_string + Azure::Web::Mgmt::V2016_09_01::Models::LocalizableString + end + def cloning_info + Azure::Web::Mgmt::V2016_09_01::Models::CloningInfo + end + def csm_usage_quota + Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuota + end + def api_definition_info + Azure::Web::Mgmt::V2016_09_01::Models::ApiDefinitionInfo + end + def csm_usage_quota_collection + Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection + end + def auto_heal_custom_action + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealCustomAction + end + def error_entity + Azure::Web::Mgmt::V2016_09_01::Models::ErrorEntity + end + def slow_requests_based_trigger + Azure::Web::Mgmt::V2016_09_01::Models::SlowRequestsBasedTrigger + end + def status_codes_based_trigger + Azure::Web::Mgmt::V2016_09_01::Models::StatusCodesBasedTrigger + end + def requests_based_trigger + Azure::Web::Mgmt::V2016_09_01::Models::RequestsBasedTrigger + end + def auto_heal_rules + Azure::Web::Mgmt::V2016_09_01::Models::AutoHealRules + end + def usage + Azure::Web::Mgmt::V2016_09_01::Models::Usage + end + def ramp_up_rule + Azure::Web::Mgmt::V2016_09_01::Models::RampUpRule + end + def identifier + Azure::Web::Mgmt::V2016_09_01::Models::Identifier end end end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/arm_templates.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/arm_templates.rb index 2569425ec9..11869277f1 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/arm_templates.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/arm_templates.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -62,8 +62,8 @@ def list(resource_group_name, lab_name, artifact_source_name, expand:nil, filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, artifact_source_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value! end # @@ -84,7 +84,7 @@ def list_with_http_info(resource_group_name, lab_name, artifact_source_name, exp # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -93,7 +93,6 @@ def list_async(resource_group_name, lab_name, artifact_source_name, expand:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -152,8 +151,8 @@ def list_async(resource_group_name, lab_name, artifact_source_name, expand:nil, # # @return [ArmTemplate] operation results. # - def get(resource_group_name, lab_name, artifact_source_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -171,8 +170,8 @@ def get(resource_group_name, lab_name, artifact_source_name, name, expand:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, artifact_source_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value! end # @@ -189,7 +188,7 @@ def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, artifact_source_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, artifact_source_name, 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, 'lab_name is nil' if lab_name.nil? @@ -199,7 +198,6 @@ def get_async(resource_group_name, lab_name, artifact_source_name, name, expand: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -254,8 +252,8 @@ def get_async(resource_group_name, lab_name, artifact_source_name, name, expand: # # @return [ResponseWithContinuationArmTemplate] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -269,8 +267,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -283,12 +281,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -351,12 +348,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationArmTemplate] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, artifact_source_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb index 63d30dd9f4..96b579b6ea 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -60,8 +60,8 @@ def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, t # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -89,7 +89,6 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -147,8 +146,8 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o # # @return [ArtifactSource] operation results. # - def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -165,8 +164,8 @@ def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! end # @@ -182,7 +181,7 @@ def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? @@ -191,7 +190,6 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -248,8 +246,8 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni # # @return [ArtifactSource] operation results. # - def create_or_update(resource_group_name, lab_name, name, artifact_source, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, artifact_source, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value! response.body unless response.nil? end @@ -265,8 +263,8 @@ def create_or_update(resource_group_name, lab_name, name, artifact_source, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers:nil) - create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value! end # @@ -281,7 +279,7 @@ def create_or_update_with_http_info(resource_group_name, lab_name, name, artifac # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, artifact_source, 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, 'lab_name is nil' if lab_name.nil? @@ -291,12 +289,13 @@ def create_or_update_async(resource_group_name, lab_name, name, artifact_source, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource.mapper() request_content = @client.serialize(request_mapper, artifact_source) @@ -363,8 +362,8 @@ def create_or_update_async(resource_group_name, lab_name, name, artifact_source, # will be added to the HTTP request. # # - def delete(resource_group_name, lab_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -379,8 +378,8 @@ def delete(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -394,7 +393,7 @@ def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -403,7 +402,6 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +449,8 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [ArtifactSource] operation results. # - def update(resource_group_name, lab_name, name, artifact_source, custom_headers:nil) - response = update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:custom_headers).value! + def update(resource_group_name, lab_name, name, artifact_source, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value! response.body unless response.nil? end @@ -469,8 +467,8 @@ def update(resource_group_name, lab_name, name, artifact_source, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers:nil) - update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers = nil) + update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value! end # @@ -486,7 +484,7 @@ def update_with_http_info(resource_group_name, lab_name, name, artifact_source, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:nil) + def update_async(resource_group_name, lab_name, name, artifact_source, 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, 'lab_name is nil' if lab_name.nil? @@ -496,12 +494,13 @@ def update_async(resource_group_name, lab_name, name, artifact_source, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment.mapper() request_content = @client.serialize(request_mapper, artifact_source) @@ -558,8 +557,8 @@ def update_async(resource_group_name, lab_name, name, artifact_source, custom_he # # @return [ResponseWithContinuationArtifactSource] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -573,8 +572,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -587,12 +586,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -654,12 +652,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationArtifactSource] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifacts.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifacts.rb index cb33906656..7967ecb857 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifacts.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifacts.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -62,8 +62,8 @@ def list(resource_group_name, lab_name, artifact_source_name, expand:nil, filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, artifact_source_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value! end # @@ -84,7 +84,7 @@ def list_with_http_info(resource_group_name, lab_name, artifact_source_name, exp # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -93,7 +93,6 @@ def list_async(resource_group_name, lab_name, artifact_source_name, expand:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -152,8 +151,8 @@ def list_async(resource_group_name, lab_name, artifact_source_name, expand:nil, # # @return [Artifact] operation results. # - def get(resource_group_name, lab_name, artifact_source_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -171,8 +170,8 @@ def get(resource_group_name, lab_name, artifact_source_name, name, expand:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, artifact_source_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value! end # @@ -189,7 +188,7 @@ def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, artifact_source_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, artifact_source_name, 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, 'lab_name is nil' if lab_name.nil? @@ -199,7 +198,6 @@ def get_async(resource_group_name, lab_name, artifact_source_name, name, expand: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -259,8 +257,8 @@ def get_async(resource_group_name, lab_name, artifact_source_name, name, expand: # # @return [ArmTemplateInfo] operation results. # - def generate_arm_template(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers:nil) - response = generate_arm_template_async(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers:custom_headers).value! + def generate_arm_template(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers = nil) + response = generate_arm_template_async(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers).value! response.body unless response.nil? end @@ -279,8 +277,8 @@ def generate_arm_template(resource_group_name, lab_name, artifact_source_name, n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generate_arm_template_with_http_info(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers:nil) - generate_arm_template_async(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers:custom_headers).value! + def generate_arm_template_with_http_info(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers = nil) + generate_arm_template_async(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers).value! end # @@ -298,7 +296,7 @@ def generate_arm_template_with_http_info(resource_group_name, lab_name, artifact # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generate_arm_template_async(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers:nil) + def generate_arm_template_async(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -309,12 +307,13 @@ def generate_arm_template_async(resource_group_name, lab_name, artifact_source_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateArmTemplateRequest.mapper() request_content = @client.serialize(request_mapper, generate_arm_template_request) @@ -371,8 +370,8 @@ def generate_arm_template_async(resource_group_name, lab_name, artifact_source_n # # @return [ResponseWithContinuationArtifact] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -386,8 +385,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -400,12 +399,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -468,12 +466,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationArtifact] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, artifact_source_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/costs.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/costs.rb index 22e3d3ab17..261c961a9b 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/costs.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/costs.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [LabCost] operation results. # - def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! end # @@ -69,7 +69,7 @@ def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? @@ -78,7 +78,6 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -135,8 +134,8 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni # # @return [LabCost] operation results. # - def create_or_update(resource_group_name, lab_name, name, lab_cost, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, lab_cost, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, lab_cost, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, lab_cost, custom_headers).value! response.body unless response.nil? end @@ -152,8 +151,8 @@ def create_or_update(resource_group_name, lab_name, name, lab_cost, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, lab_name, name, lab_cost, custom_headers:nil) - create_or_update_async(resource_group_name, lab_name, name, lab_cost, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, lab_name, name, lab_cost, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, lab_cost, custom_headers).value! end # @@ -168,7 +167,7 @@ def create_or_update_with_http_info(resource_group_name, lab_name, name, lab_cos # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, lab_name, name, lab_cost, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, lab_cost, 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, 'lab_name is nil' if lab_name.nil? @@ -178,12 +177,13 @@ def create_or_update_async(resource_group_name, lab_name, name, lab_cost, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabCost.mapper() request_content = @client.serialize(request_mapper, lab_cost) diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/custom_images.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/custom_images.rb index f761ba1ddf..ce9a9d148d 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/custom_images.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/custom_images.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -60,8 +60,8 @@ def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, t # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -89,7 +89,6 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -147,8 +146,8 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o # # @return [CustomImage] operation results. # - def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -165,8 +164,8 @@ def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! end # @@ -182,7 +181,7 @@ def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? @@ -191,7 +190,6 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -249,8 +247,8 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni # # @return [CustomImage] operation results. # - def create_or_update(resource_group_name, lab_name, name, custom_image, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, custom_image, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers).value! response.body unless response.nil? end @@ -265,9 +263,9 @@ def create_or_update(resource_group_name, lab_name, name, custom_image, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -292,8 +290,8 @@ def create_or_update_async(resource_group_name, lab_name, name, custom_image, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, lab_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -307,9 +305,9 @@ def delete(resource_group_name, lab_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, lab_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -336,8 +334,8 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [CustomImage] operation results. # - def begin_create_or_update(resource_group_name, lab_name, name, custom_image, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, lab_name, name, custom_image, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers).value! response.body unless response.nil? end @@ -354,8 +352,8 @@ def begin_create_or_update(resource_group_name, lab_name, name, custom_image, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, custom_image, custom_headers:nil) - begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, custom_image, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers).value! end # @@ -371,7 +369,7 @@ def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, 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, 'lab_name is nil' if lab_name.nil? @@ -381,12 +379,13 @@ def begin_create_or_update_async(resource_group_name, lab_name, name, custom_ima request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage.mapper() request_content = @client.serialize(request_mapper, custom_image) @@ -453,8 +452,8 @@ def begin_create_or_update_async(resource_group_name, lab_name, name, custom_ima # will be added to the HTTP request. # # - def begin_delete(resource_group_name, lab_name, name, custom_headers:nil) - response = begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -469,8 +468,8 @@ def begin_delete(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -484,7 +483,7 @@ def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def begin_delete_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -493,7 +492,6 @@ def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -538,8 +536,8 @@ def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [ResponseWithContinuationCustomImage] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -553,8 +551,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -567,12 +565,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -634,12 +631,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationCustomImage] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb index 07fd50d243..44314b3aef 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb @@ -23,16 +23,15 @@ class DevTestLabsClient < MsRestAzure::AzureServiceClient # @return [String] The subscription ID. attr_accessor :subscription_id - # @return [String] The preferred language for the response. + # @return [String] Gets or sets the preferred language for the response. attr_accessor :accept_language - # @return [Integer] The retry timeout in seconds for Long Running - # Operations. Default value is 30. + # @return [Integer] Gets or sets the retry timeout in seconds for Long + # Running Operations. Default value is 30. attr_accessor :long_running_operation_retry_timeout - # @return [Boolean] Whether a unique x-ms-client-request-id should be - # generated. When set to true a unique x-ms-client-request-id value is - # generated and included in each request. Default is true. + # @return [Boolean] When set to true a unique x-ms-client-request-id value + # is generated and included in each request. Default is true. attr_accessor :generate_client_request_id # @return [ProviderOperations] provider_operations @@ -193,9 +192,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -212,7 +208,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_devtestlabs' - sdk_information = "#{sdk_information}/0.17.1" + if defined? Azure::DevTestLabs::Mgmt::V2016_05_15::VERSION + sdk_information = "#{sdk_information}/#{Azure::DevTestLabs::Mgmt::V2016_05_15::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/disks.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/disks.rb index d3d2c90004..d7f18c17e9 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/disks.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/disks.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -62,8 +62,8 @@ def list(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, user_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! end # @@ -84,7 +84,7 @@ def list_with_http_info(resource_group_name, lab_name, user_name, expand:nil, fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -93,7 +93,6 @@ def list_async(resource_group_name, lab_name, user_name, expand:nil, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -152,8 +151,8 @@ def list_async(resource_group_name, lab_name, user_name, expand:nil, filter:nil, # # @return [Disk] operation results. # - def get(resource_group_name, lab_name, user_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, user_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -171,8 +170,8 @@ def get(resource_group_name, lab_name, user_name, name, expand:nil, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, user_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, user_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! end # @@ -189,7 +188,7 @@ def get_with_http_info(resource_group_name, lab_name, user_name, name, expand:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, user_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, user_name, 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, 'lab_name is nil' if lab_name.nil? @@ -199,7 +198,6 @@ def get_async(resource_group_name, lab_name, user_name, name, expand:nil, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -258,8 +256,8 @@ def get_async(resource_group_name, lab_name, user_name, name, expand:nil, custom # # @return [Disk] operation results. # - def create_or_update(resource_group_name, lab_name, user_name, name, disk, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers).value! response.body unless response.nil? end @@ -275,9 +273,9 @@ def create_or_update(resource_group_name, lab_name, user_name, name, disk, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -303,8 +301,8 @@ def create_or_update_async(resource_group_name, lab_name, user_name, name, disk, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, lab_name, user_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! nil end @@ -319,9 +317,9 @@ def delete(resource_group_name, lab_name, user_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, lab_name, user_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -348,8 +346,8 @@ def delete_async(resource_group_name, lab_name, user_name, name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def attach(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers:nil) - response = attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers:custom_headers).value! + def attach(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers = nil) + response = attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers).value! nil end @@ -366,9 +364,9 @@ def attach(resource_group_name, lab_name, user_name, name, attach_disk_propertie # @return [Concurrent::Promise] promise which provides async access to http # response. # - def attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers:nil) + def attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers = nil) # Send request - promise = begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers:custom_headers) + promise = begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -395,8 +393,8 @@ def attach_async(resource_group_name, lab_name, user_name, name, attach_disk_pro # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def detach(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers:nil) - response = detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers:custom_headers).value! + def detach(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers = nil) + response = detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers).value! nil end @@ -413,9 +411,9 @@ def detach(resource_group_name, lab_name, user_name, name, detach_disk_propertie # @return [Concurrent::Promise] promise which provides async access to http # response. # - def detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers:nil) + def detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers = nil) # Send request - promise = begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers:custom_headers) + promise = begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -443,8 +441,8 @@ def detach_async(resource_group_name, lab_name, user_name, name, detach_disk_pro # # @return [Disk] operation results. # - def begin_create_or_update(resource_group_name, lab_name, user_name, name, disk, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers).value! response.body unless response.nil? end @@ -462,8 +460,8 @@ def begin_create_or_update(resource_group_name, lab_name, user_name, name, disk, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, disk, custom_headers:nil) - begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers).value! end # @@ -480,7 +478,7 @@ def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -491,12 +489,13 @@ def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Disk.mapper() request_content = @client.serialize(request_mapper, disk) @@ -564,8 +563,8 @@ def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, # will be added to the HTTP request. # # - def begin_delete(resource_group_name, lab_name, user_name, name, custom_headers:nil) - response = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! nil end @@ -581,8 +580,8 @@ def begin_delete(resource_group_name, lab_name, user_name, name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers:nil) - begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! end # @@ -597,7 +596,7 @@ def begin_delete_with_http_info(resource_group_name, lab_name, user_name, name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers:nil) + def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -607,7 +606,6 @@ def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -656,8 +654,8 @@ def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_he # will be added to the HTTP request. # # - def begin_attach(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers:nil) - response = begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers:custom_headers).value! + def begin_attach(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers = nil) + response = begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers).value! nil end @@ -676,8 +674,8 @@ def begin_attach(resource_group_name, lab_name, user_name, name, attach_disk_pro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_attach_with_http_info(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers:nil) - begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers:custom_headers).value! + def begin_attach_with_http_info(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers = nil) + begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers).value! end # @@ -695,7 +693,7 @@ def begin_attach_with_http_info(resource_group_name, lab_name, user_name, name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers:nil) + def begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, 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, 'lab_name is nil' if lab_name.nil? @@ -706,12 +704,13 @@ def begin_attach_async(resource_group_name, lab_name, user_name, name, attach_di request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::AttachDiskProperties.mapper() request_content = @client.serialize(request_mapper, attach_disk_properties) @@ -762,8 +761,8 @@ def begin_attach_async(resource_group_name, lab_name, user_name, name, attach_di # will be added to the HTTP request. # # - def begin_detach(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers:nil) - response = begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers:custom_headers).value! + def begin_detach(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers = nil) + response = begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers).value! nil end @@ -782,8 +781,8 @@ def begin_detach(resource_group_name, lab_name, user_name, name, detach_disk_pro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_detach_with_http_info(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers:nil) - begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers:custom_headers).value! + def begin_detach_with_http_info(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers = nil) + begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers).value! end # @@ -801,7 +800,7 @@ def begin_detach_with_http_info(resource_group_name, lab_name, user_name, name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers:nil) + def begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, 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, 'lab_name is nil' if lab_name.nil? @@ -812,12 +811,13 @@ def begin_detach_async(resource_group_name, lab_name, user_name, name, detach_di request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDiskProperties.mapper() request_content = @client.serialize(request_mapper, detach_disk_properties) @@ -864,8 +864,8 @@ def begin_detach_async(resource_group_name, lab_name, user_name, name, detach_di # # @return [ResponseWithContinuationDisk] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -879,8 +879,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -893,12 +893,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -961,12 +960,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationDisk] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, user_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/environments.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/environments.rb index 351ef7e825..76b7b63592 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/environments.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/environments.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -62,8 +62,8 @@ def list(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, user_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! end # @@ -84,7 +84,7 @@ def list_with_http_info(resource_group_name, lab_name, user_name, expand:nil, fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -93,7 +93,6 @@ def list_async(resource_group_name, lab_name, user_name, expand:nil, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -152,8 +151,8 @@ def list_async(resource_group_name, lab_name, user_name, expand:nil, filter:nil, # # @return [DtlEnvironment] operation results. # - def get(resource_group_name, lab_name, user_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, user_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -171,8 +170,8 @@ def get(resource_group_name, lab_name, user_name, name, expand:nil, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, user_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, user_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! end # @@ -189,7 +188,7 @@ def get_with_http_info(resource_group_name, lab_name, user_name, name, expand:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, user_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, user_name, 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, 'lab_name is nil' if lab_name.nil? @@ -199,7 +198,6 @@ def get_async(resource_group_name, lab_name, user_name, name, expand:nil, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -259,8 +257,8 @@ def get_async(resource_group_name, lab_name, user_name, name, expand:nil, custom # # @return [DtlEnvironment] operation results. # - def create_or_update(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers).value! response.body unless response.nil? end @@ -277,9 +275,9 @@ def create_or_update(resource_group_name, lab_name, user_name, name, dtl_environ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -305,8 +303,8 @@ def create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_e # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, lab_name, user_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! nil end @@ -321,9 +319,9 @@ def delete(resource_group_name, lab_name, user_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, lab_name, user_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -352,8 +350,8 @@ def delete_async(resource_group_name, lab_name, user_name, name, custom_headers: # # @return [DtlEnvironment] operation results. # - def begin_create_or_update(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers).value! response.body unless response.nil? end @@ -372,8 +370,8 @@ def begin_create_or_update(resource_group_name, lab_name, user_name, name, dtl_e # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers:nil) - begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers).value! end # @@ -391,7 +389,7 @@ def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, 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, 'lab_name is nil' if lab_name.nil? @@ -402,12 +400,13 @@ def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DtlEnvironment.mapper() request_content = @client.serialize(request_mapper, dtl_environment) @@ -475,8 +474,8 @@ def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, # will be added to the HTTP request. # # - def begin_delete(resource_group_name, lab_name, user_name, name, custom_headers:nil) - response = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! nil end @@ -492,8 +491,8 @@ def begin_delete(resource_group_name, lab_name, user_name, name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers:nil) - begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! end # @@ -508,7 +507,7 @@ def begin_delete_with_http_info(resource_group_name, lab_name, user_name, name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers:nil) + def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -518,7 +517,6 @@ def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -563,8 +561,8 @@ def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_he # # @return [ResponseWithContinuationDtlEnvironment] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -578,8 +576,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -592,12 +590,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -660,12 +657,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationDtlEnvironment] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, user_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/formulas.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/formulas.rb index 78a55cc63b..440d4f5951 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/formulas.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/formulas.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -60,8 +60,8 @@ def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, t # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -89,7 +89,6 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -147,8 +146,8 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o # # @return [Formula] operation results. # - def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -165,8 +164,8 @@ def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! end # @@ -182,7 +181,7 @@ def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? @@ -191,7 +190,6 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -250,8 +248,8 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni # # @return [Formula] operation results. # - def create_or_update(resource_group_name, lab_name, name, formula, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, formula, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers).value! response.body unless response.nil? end @@ -267,9 +265,9 @@ def create_or_update(resource_group_name, lab_name, name, formula, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -295,8 +293,8 @@ def create_or_update_async(resource_group_name, lab_name, name, formula, custom_ # will be added to the HTTP request. # # - def delete(resource_group_name, lab_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -311,8 +309,8 @@ def delete(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -326,7 +324,7 @@ def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -335,7 +333,6 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -384,8 +381,8 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [Formula] operation results. # - def begin_create_or_update(resource_group_name, lab_name, name, formula, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, lab_name, name, formula, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers).value! response.body unless response.nil? end @@ -403,8 +400,8 @@ def begin_create_or_update(resource_group_name, lab_name, name, formula, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, formula, custom_headers:nil) - begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, formula, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers).value! end # @@ -421,7 +418,7 @@ def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, f # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, lab_name, name, formula, 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, 'lab_name is nil' if lab_name.nil? @@ -431,12 +428,13 @@ def begin_create_or_update_async(resource_group_name, lab_name, name, formula, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Formula.mapper() request_content = @client.serialize(request_mapper, formula) @@ -503,8 +501,8 @@ def begin_create_or_update_async(resource_group_name, lab_name, name, formula, c # # @return [ResponseWithContinuationFormula] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -518,8 +516,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -532,12 +530,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -599,12 +596,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationFormula] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/gallery_images.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/gallery_images.rb index 8070988996..ba3aa756f2 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/gallery_images.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/gallery_images.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -60,8 +60,8 @@ def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, t # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -89,7 +89,6 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -144,8 +143,8 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o # # @return [ResponseWithContinuationGalleryImage] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -159,8 +158,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -173,12 +172,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -240,12 +238,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationGalleryImage] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/global_schedules.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/global_schedules.rb index d23e2a8241..d764dace09 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/global_schedules.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/global_schedules.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_subscription(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_by_subscription_as_lazy(expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list_by_subscription(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_by_subscription_as_lazy(expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -56,8 +56,8 @@ def list_by_subscription(expand:nil, filter:nil, top:nil, orderby:nil, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_subscription_with_http_info(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_by_subscription_async(expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_by_subscription_with_http_info(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_by_subscription_async(expand, filter, top, orderby, custom_headers).value! end # @@ -75,13 +75,12 @@ def list_by_subscription_with_http_info(expand:nil, filter:nil, top:nil, orderby # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_async(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_by_subscription_async(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -142,8 +141,8 @@ def list_by_subscription_async(expand:nil, filter:nil, top:nil, orderby:nil, cus # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -163,8 +162,8 @@ def list_by_resource_group(resource_group_name, expand:nil, filter:nil, top:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_by_resource_group_async(resource_group_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_by_resource_group_async(resource_group_name, expand, filter, top, orderby, custom_headers).value! end # @@ -183,14 +182,13 @@ def list_by_resource_group_with_http_info(resource_group_name, expand:nil, filte # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, expand = nil, filter = nil, top = nil, orderby = 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 = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -247,8 +245,8 @@ def list_by_resource_group_async(resource_group_name, expand:nil, filter:nil, to # # @return [Schedule] operation results. # - def get(resource_group_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -264,8 +262,8 @@ def get(resource_group_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, name, expand, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, name, expand:nil, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, 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, 'name is nil' if name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -344,8 +341,8 @@ def get_async(resource_group_name, name, expand:nil, custom_headers:nil) # # @return [Schedule] operation results. # - def create_or_update(resource_group_name, name, schedule, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, schedule, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, schedule, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, schedule, custom_headers).value! response.body unless response.nil? end @@ -360,8 +357,8 @@ def create_or_update(resource_group_name, name, schedule, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, name, schedule, custom_headers:nil) - create_or_update_async(resource_group_name, name, schedule, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, name, schedule, custom_headers = nil) + create_or_update_async(resource_group_name, name, schedule, custom_headers).value! end # @@ -375,7 +372,7 @@ def create_or_update_with_http_info(resource_group_name, name, schedule, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, name, schedule, custom_headers:nil) + def create_or_update_async(resource_group_name, name, schedule, 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, 'name is nil' if name.nil? @@ -384,12 +381,13 @@ def create_or_update_async(resource_group_name, name, schedule, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule.mapper() request_content = @client.serialize(request_mapper, schedule) @@ -455,8 +453,8 @@ def create_or_update_async(resource_group_name, name, schedule, custom_headers:n # will be added to the HTTP request. # # - def delete(resource_group_name, name, custom_headers:nil) - response = delete_async(resource_group_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, name, custom_headers = nil) + response = delete_async(resource_group_name, name, custom_headers).value! nil end @@ -470,8 +468,8 @@ def delete(resource_group_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, name, custom_headers:nil) - delete_async(resource_group_name, name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, name, custom_headers = nil) + delete_async(resource_group_name, name, custom_headers).value! end # @@ -484,7 +482,7 @@ def delete_with_http_info(resource_group_name, name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, name, custom_headers:nil) + def delete_async(resource_group_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? @@ -492,7 +490,6 @@ def delete_async(resource_group_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -538,8 +535,8 @@ def delete_async(resource_group_name, name, custom_headers:nil) # # @return [Schedule] operation results. # - def update(resource_group_name, name, schedule, custom_headers:nil) - response = update_async(resource_group_name, name, schedule, custom_headers:custom_headers).value! + def update(resource_group_name, name, schedule, custom_headers = nil) + response = update_async(resource_group_name, name, schedule, custom_headers).value! response.body unless response.nil? end @@ -554,8 +551,8 @@ def update(resource_group_name, name, schedule, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, name, schedule, custom_headers:nil) - update_async(resource_group_name, name, schedule, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, name, schedule, custom_headers = nil) + update_async(resource_group_name, name, schedule, custom_headers).value! end # @@ -569,7 +566,7 @@ def update_with_http_info(resource_group_name, name, schedule, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, name, schedule, custom_headers:nil) + def update_async(resource_group_name, name, schedule, 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, 'name is nil' if name.nil? @@ -578,12 +575,13 @@ def update_async(resource_group_name, name, schedule, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment.mapper() request_content = @client.serialize(request_mapper, schedule) @@ -638,8 +636,8 @@ def update_async(resource_group_name, name, schedule, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def execute(resource_group_name, name, custom_headers:nil) - response = execute_async(resource_group_name, name, custom_headers:custom_headers).value! + def execute(resource_group_name, name, custom_headers = nil) + response = execute_async(resource_group_name, name, custom_headers).value! nil end @@ -652,9 +650,9 @@ def execute(resource_group_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def execute_async(resource_group_name, name, custom_headers:nil) + def execute_async(resource_group_name, name, custom_headers = nil) # Send request - promise = begin_execute_async(resource_group_name, name, custom_headers:custom_headers) + promise = begin_execute_async(resource_group_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -679,8 +677,8 @@ def execute_async(resource_group_name, name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def retarget(resource_group_name, name, retarget_schedule_properties, custom_headers:nil) - response = retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers:custom_headers).value! + def retarget(resource_group_name, name, retarget_schedule_properties, custom_headers = nil) + response = retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers).value! nil end @@ -695,9 +693,9 @@ def retarget(resource_group_name, name, retarget_schedule_properties, custom_hea # @return [Concurrent::Promise] promise which provides async access to http # response. # - def retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers:nil) + def retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers = nil) # Send request - promise = begin_retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers:custom_headers) + promise = begin_retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -720,8 +718,8 @@ def retarget_async(resource_group_name, name, retarget_schedule_properties, cust # will be added to the HTTP request. # # - def begin_execute(resource_group_name, name, custom_headers:nil) - response = begin_execute_async(resource_group_name, name, custom_headers:custom_headers).value! + def begin_execute(resource_group_name, name, custom_headers = nil) + response = begin_execute_async(resource_group_name, name, custom_headers).value! nil end @@ -735,8 +733,8 @@ def begin_execute(resource_group_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_execute_with_http_info(resource_group_name, name, custom_headers:nil) - begin_execute_async(resource_group_name, name, custom_headers:custom_headers).value! + def begin_execute_with_http_info(resource_group_name, name, custom_headers = nil) + begin_execute_async(resource_group_name, name, custom_headers).value! end # @@ -749,7 +747,7 @@ def begin_execute_with_http_info(resource_group_name, name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_execute_async(resource_group_name, name, custom_headers:nil) + def begin_execute_async(resource_group_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? @@ -757,7 +755,6 @@ def begin_execute_async(resource_group_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -804,8 +801,8 @@ def begin_execute_async(resource_group_name, name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_retarget(resource_group_name, name, retarget_schedule_properties, custom_headers:nil) - response = begin_retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers:custom_headers).value! + def begin_retarget(resource_group_name, name, retarget_schedule_properties, custom_headers = nil) + response = begin_retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers).value! nil end @@ -822,8 +819,8 @@ def begin_retarget(resource_group_name, name, retarget_schedule_properties, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_retarget_with_http_info(resource_group_name, name, retarget_schedule_properties, custom_headers:nil) - begin_retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers:custom_headers).value! + def begin_retarget_with_http_info(resource_group_name, name, retarget_schedule_properties, custom_headers = nil) + begin_retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers).value! end # @@ -839,7 +836,7 @@ def begin_retarget_with_http_info(resource_group_name, name, retarget_schedule_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers:nil) + def begin_retarget_async(resource_group_name, name, retarget_schedule_properties, 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, 'name is nil' if name.nil? @@ -848,12 +845,13 @@ def begin_retarget_async(resource_group_name, name, retarget_schedule_properties request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::RetargetScheduleProperties.mapper() request_content = @client.serialize(request_mapper, retarget_schedule_properties) @@ -900,8 +898,8 @@ def begin_retarget_async(resource_group_name, name, retarget_schedule_properties # # @return [ResponseWithContinuationSchedule] operation results. # - def list_by_subscription_next(next_page_link, custom_headers:nil) - response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value! + 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 @@ -915,8 +913,8 @@ def list_by_subscription_next(next_page_link, custom_headers:nil) # # @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:custom_headers).value! + 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 # @@ -929,12 +927,11 @@ def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_next_async(next_page_link, custom_headers:nil) + 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 = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -988,8 +985,8 @@ def list_by_subscription_next_async(next_page_link, custom_headers:nil) # # @return [ResponseWithContinuationSchedule] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1003,8 +1000,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1017,12 +1014,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1082,12 +1078,12 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationSchedule] which provide lazy access to pages # of the response. # - def list_by_subscription_as_lazy(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_by_subscription_async(expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_by_subscription_as_lazy(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_by_subscription_async(expand, filter, top, orderby, 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:custom_headers) + list_by_subscription_next_async(next_page_link, custom_headers) end page end @@ -1110,12 +1106,12 @@ def list_by_subscription_as_lazy(expand:nil, filter:nil, top:nil, orderby:nil, c # @return [ResponseWithContinuationSchedule] which provide lazy access to pages # of the response. # - def list_by_resource_group_as_lazy(resource_group_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/labs.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/labs.rb index 2dcfd7fd49..aa966e1f3c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/labs.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/labs.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_by_subscription(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_by_subscription_as_lazy(expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list_by_subscription(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_by_subscription_as_lazy(expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -56,8 +56,8 @@ def list_by_subscription(expand:nil, filter:nil, top:nil, orderby:nil, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_subscription_with_http_info(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_by_subscription_async(expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_by_subscription_with_http_info(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_by_subscription_async(expand, filter, top, orderby, custom_headers).value! end # @@ -75,13 +75,12 @@ def list_by_subscription_with_http_info(expand:nil, filter:nil, top:nil, orderby # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_async(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_by_subscription_async(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -142,8 +141,8 @@ def list_by_subscription_async(expand:nil, filter:nil, top:nil, orderby:nil, cus # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -163,8 +162,8 @@ def list_by_resource_group(resource_group_name, expand:nil, filter:nil, top:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_by_resource_group_async(resource_group_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_by_resource_group_async(resource_group_name, expand, filter, top, orderby, custom_headers).value! end # @@ -183,14 +182,13 @@ def list_by_resource_group_with_http_info(resource_group_name, expand:nil, filte # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, expand = nil, filter = nil, top = nil, orderby = 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 = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -247,8 +245,8 @@ def list_by_resource_group_async(resource_group_name, expand:nil, filter:nil, to # # @return [Lab] operation results. # - def get(resource_group_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -264,8 +262,8 @@ def get(resource_group_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, name, expand, custom_headers).value! end # @@ -280,7 +278,7 @@ def get_with_http_info(resource_group_name, name, expand:nil, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, 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, 'name is nil' if name.nil? @@ -288,7 +286,6 @@ def get_async(resource_group_name, name, expand:nil, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +342,8 @@ def get_async(resource_group_name, name, expand:nil, custom_headers:nil) # # @return [Lab] operation results. # - def create_or_update(resource_group_name, name, lab, custom_headers:nil) - response = create_or_update_async(resource_group_name, name, lab, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, name, lab, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, lab, custom_headers).value! response.body unless response.nil? end @@ -360,9 +357,9 @@ def create_or_update(resource_group_name, name, lab, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, name, lab, custom_headers:nil) + def create_or_update_async(resource_group_name, name, lab, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, name, lab, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, name, lab, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -386,8 +383,8 @@ def create_or_update_async(resource_group_name, name, lab, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, name, custom_headers:nil) - response = delete_async(resource_group_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, name, custom_headers = nil) + response = delete_async(resource_group_name, name, custom_headers).value! nil end @@ -400,9 +397,9 @@ def delete(resource_group_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, name, custom_headers:nil) + def delete_async(resource_group_name, name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -427,8 +424,8 @@ def delete_async(resource_group_name, name, custom_headers:nil) # # @return [Lab] operation results. # - def update(resource_group_name, name, lab, custom_headers:nil) - response = update_async(resource_group_name, name, lab, custom_headers:custom_headers).value! + def update(resource_group_name, name, lab, custom_headers = nil) + response = update_async(resource_group_name, name, lab, custom_headers).value! response.body unless response.nil? end @@ -443,8 +440,8 @@ def update(resource_group_name, name, lab, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, name, lab, custom_headers:nil) - update_async(resource_group_name, name, lab, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, name, lab, custom_headers = nil) + update_async(resource_group_name, name, lab, custom_headers).value! end # @@ -458,7 +455,7 @@ def update_with_http_info(resource_group_name, name, lab, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, name, lab, custom_headers:nil) + def update_async(resource_group_name, name, lab, 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, 'name is nil' if name.nil? @@ -467,12 +464,13 @@ def update_async(resource_group_name, name, lab, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabFragment.mapper() request_content = @client.serialize(request_mapper, lab) @@ -528,8 +526,8 @@ def update_async(resource_group_name, name, lab, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def claim_any_vm(resource_group_name, name, custom_headers:nil) - response = claim_any_vm_async(resource_group_name, name, custom_headers:custom_headers).value! + def claim_any_vm(resource_group_name, name, custom_headers = nil) + response = claim_any_vm_async(resource_group_name, name, custom_headers).value! nil end @@ -542,9 +540,9 @@ def claim_any_vm(resource_group_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def claim_any_vm_async(resource_group_name, name, custom_headers:nil) + def claim_any_vm_async(resource_group_name, name, custom_headers = nil) # Send request - promise = begin_claim_any_vm_async(resource_group_name, name, custom_headers:custom_headers) + promise = begin_claim_any_vm_async(resource_group_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -570,8 +568,8 @@ def claim_any_vm_async(resource_group_name, name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def create_environment(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers:nil) - response = create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers:custom_headers).value! + def create_environment(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers = nil) + response = create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers).value! nil end @@ -587,9 +585,9 @@ def create_environment(resource_group_name, name, lab_virtual_machine_creation_p # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers:nil) + def create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers = nil) # Send request - promise = begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers:custom_headers) + promise = begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -614,8 +612,8 @@ def create_environment_async(resource_group_name, name, lab_virtual_machine_crea # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def export_resource_usage(resource_group_name, name, export_resource_usage_parameters, custom_headers:nil) - response = export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers:custom_headers).value! + def export_resource_usage(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) + response = export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers).value! nil end @@ -630,9 +628,9 @@ def export_resource_usage(resource_group_name, name, export_resource_usage_param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers:nil) + def export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) # Send request - promise = begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers:custom_headers) + promise = begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -658,8 +656,8 @@ def export_resource_usage_async(resource_group_name, name, export_resource_usage # # @return [GenerateUploadUriResponse] operation results. # - def generate_upload_uri(resource_group_name, name, generate_upload_uri_parameter, custom_headers:nil) - response = generate_upload_uri_async(resource_group_name, name, generate_upload_uri_parameter, custom_headers:custom_headers).value! + def generate_upload_uri(resource_group_name, name, generate_upload_uri_parameter, custom_headers = nil) + response = generate_upload_uri_async(resource_group_name, name, generate_upload_uri_parameter, custom_headers).value! response.body unless response.nil? end @@ -675,8 +673,8 @@ def generate_upload_uri(resource_group_name, name, generate_upload_uri_parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generate_upload_uri_with_http_info(resource_group_name, name, generate_upload_uri_parameter, custom_headers:nil) - generate_upload_uri_async(resource_group_name, name, generate_upload_uri_parameter, custom_headers:custom_headers).value! + def generate_upload_uri_with_http_info(resource_group_name, name, generate_upload_uri_parameter, custom_headers = nil) + generate_upload_uri_async(resource_group_name, name, generate_upload_uri_parameter, custom_headers).value! end # @@ -691,7 +689,7 @@ def generate_upload_uri_with_http_info(resource_group_name, name, generate_uploa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generate_upload_uri_async(resource_group_name, name, generate_upload_uri_parameter, custom_headers:nil) + def generate_upload_uri_async(resource_group_name, name, generate_upload_uri_parameter, 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, 'name is nil' if name.nil? @@ -700,12 +698,13 @@ def generate_upload_uri_async(resource_group_name, name, generate_upload_uri_par request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::GenerateUploadUriParameter.mapper() request_content = @client.serialize(request_mapper, generate_upload_uri_parameter) @@ -762,8 +761,8 @@ def generate_upload_uri_async(resource_group_name, name, generate_upload_uri_par # # @return [Array] operation results. # - def list_vhds(resource_group_name, name, custom_headers:nil) - first_page = list_vhds_as_lazy(resource_group_name, name, custom_headers:custom_headers) + def list_vhds(resource_group_name, name, custom_headers = nil) + first_page = list_vhds_as_lazy(resource_group_name, name, custom_headers) first_page.get_all_items end @@ -777,8 +776,8 @@ def list_vhds(resource_group_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_vhds_with_http_info(resource_group_name, name, custom_headers:nil) - list_vhds_async(resource_group_name, name, custom_headers:custom_headers).value! + def list_vhds_with_http_info(resource_group_name, name, custom_headers = nil) + list_vhds_async(resource_group_name, name, custom_headers).value! end # @@ -791,7 +790,7 @@ def list_vhds_with_http_info(resource_group_name, name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_vhds_async(resource_group_name, name, custom_headers:nil) + def list_vhds_async(resource_group_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? @@ -799,7 +798,6 @@ def list_vhds_async(resource_group_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -856,8 +854,8 @@ def list_vhds_async(resource_group_name, name, custom_headers:nil) # # @return [Lab] operation results. # - def begin_create_or_update(resource_group_name, name, lab, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, name, lab, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, name, lab, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, name, lab, custom_headers).value! response.body unless response.nil? end @@ -873,8 +871,8 @@ def begin_create_or_update(resource_group_name, name, lab, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, name, lab, custom_headers:nil) - begin_create_or_update_async(resource_group_name, name, lab, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, name, lab, custom_headers = nil) + begin_create_or_update_async(resource_group_name, name, lab, custom_headers).value! end # @@ -889,7 +887,7 @@ def begin_create_or_update_with_http_info(resource_group_name, name, lab, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, name, lab, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, name, lab, 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, 'name is nil' if name.nil? @@ -898,12 +896,13 @@ def begin_create_or_update_async(resource_group_name, name, lab, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Lab.mapper() request_content = @client.serialize(request_mapper, lab) @@ -969,8 +968,8 @@ def begin_create_or_update_async(resource_group_name, name, lab, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, name, custom_headers:nil) - response = begin_delete_async(resource_group_name, name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, name, custom_headers).value! nil end @@ -984,8 +983,8 @@ def begin_delete(resource_group_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, name, custom_headers:nil) - begin_delete_async(resource_group_name, name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, name, custom_headers).value! end # @@ -998,7 +997,7 @@ def begin_delete_with_http_info(resource_group_name, name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, name, custom_headers:nil) + def begin_delete_async(resource_group_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? @@ -1006,7 +1005,6 @@ def begin_delete_async(resource_group_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1051,8 +1049,8 @@ def begin_delete_async(resource_group_name, name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_claim_any_vm(resource_group_name, name, custom_headers:nil) - response = begin_claim_any_vm_async(resource_group_name, name, custom_headers:custom_headers).value! + def begin_claim_any_vm(resource_group_name, name, custom_headers = nil) + response = begin_claim_any_vm_async(resource_group_name, name, custom_headers).value! nil end @@ -1067,8 +1065,8 @@ def begin_claim_any_vm(resource_group_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_claim_any_vm_with_http_info(resource_group_name, name, custom_headers:nil) - begin_claim_any_vm_async(resource_group_name, name, custom_headers:custom_headers).value! + def begin_claim_any_vm_with_http_info(resource_group_name, name, custom_headers = nil) + begin_claim_any_vm_async(resource_group_name, name, custom_headers).value! end # @@ -1082,7 +1080,7 @@ def begin_claim_any_vm_with_http_info(resource_group_name, name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_claim_any_vm_async(resource_group_name, name, custom_headers:nil) + def begin_claim_any_vm_async(resource_group_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? @@ -1090,7 +1088,6 @@ def begin_claim_any_vm_async(resource_group_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1138,8 +1135,8 @@ def begin_claim_any_vm_async(resource_group_name, name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_create_environment(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers:nil) - response = begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers:custom_headers).value! + def begin_create_environment(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers = nil) + response = begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers).value! nil end @@ -1157,8 +1154,8 @@ def begin_create_environment(resource_group_name, name, lab_virtual_machine_crea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_environment_with_http_info(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers:nil) - begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers:custom_headers).value! + def begin_create_environment_with_http_info(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers = nil) + begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers).value! end # @@ -1175,7 +1172,7 @@ def begin_create_environment_with_http_info(resource_group_name, name, lab_virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers:nil) + def begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, 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, 'name is nil' if name.nil? @@ -1184,12 +1181,13 @@ def begin_create_environment_async(resource_group_name, name, lab_virtual_machin request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineCreationParameter.mapper() request_content = @client.serialize(request_mapper, lab_virtual_machine_creation_parameter) @@ -1238,8 +1236,8 @@ def begin_create_environment_async(resource_group_name, name, lab_virtual_machin # will be added to the HTTP request. # # - def begin_export_resource_usage(resource_group_name, name, export_resource_usage_parameters, custom_headers:nil) - response = begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers:custom_headers).value! + def begin_export_resource_usage(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) + response = begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers).value! nil end @@ -1256,8 +1254,8 @@ def begin_export_resource_usage(resource_group_name, name, export_resource_usage # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_export_resource_usage_with_http_info(resource_group_name, name, export_resource_usage_parameters, custom_headers:nil) - begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers:custom_headers).value! + def begin_export_resource_usage_with_http_info(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) + begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers).value! end # @@ -1273,7 +1271,7 @@ def begin_export_resource_usage_with_http_info(resource_group_name, name, export # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers:nil) + def begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'name is nil' if name.nil? @@ -1282,12 +1280,13 @@ def begin_export_resource_usage_async(resource_group_name, name, export_resource request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExportResourceUsageParameters.mapper() request_content = @client.serialize(request_mapper, export_resource_usage_parameters) @@ -1334,8 +1333,8 @@ def begin_export_resource_usage_async(resource_group_name, name, export_resource # # @return [ResponseWithContinuationLab] operation results. # - def list_by_subscription_next(next_page_link, custom_headers:nil) - response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value! + 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 @@ -1349,8 +1348,8 @@ def list_by_subscription_next(next_page_link, custom_headers:nil) # # @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:custom_headers).value! + 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 # @@ -1363,12 +1362,11 @@ def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_subscription_next_async(next_page_link, custom_headers:nil) + 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 = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1422,8 +1420,8 @@ def list_by_subscription_next_async(next_page_link, custom_headers:nil) # # @return [ResponseWithContinuationLab] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1437,8 +1435,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -1451,12 +1449,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1510,8 +1507,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [ResponseWithContinuationLabVhd] operation results. # - def list_vhds_next(next_page_link, custom_headers:nil) - response = list_vhds_next_async(next_page_link, custom_headers:custom_headers).value! + def list_vhds_next(next_page_link, custom_headers = nil) + response = list_vhds_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1525,8 +1522,8 @@ def list_vhds_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_vhds_next_with_http_info(next_page_link, custom_headers:nil) - list_vhds_next_async(next_page_link, custom_headers:custom_headers).value! + def list_vhds_next_with_http_info(next_page_link, custom_headers = nil) + list_vhds_next_async(next_page_link, custom_headers).value! end # @@ -1539,12 +1536,11 @@ def list_vhds_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_vhds_next_async(next_page_link, custom_headers:nil) + def list_vhds_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1604,12 +1600,12 @@ def list_vhds_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationLab] which provide lazy access to pages of # the response. # - def list_by_subscription_as_lazy(expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_by_subscription_async(expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_by_subscription_as_lazy(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_by_subscription_async(expand, filter, top, orderby, 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:custom_headers) + list_by_subscription_next_async(next_page_link, custom_headers) end page end @@ -1632,12 +1628,12 @@ def list_by_subscription_as_lazy(expand:nil, filter:nil, top:nil, orderby:nil, c # @return [ResponseWithContinuationLab] which provide lazy access to pages of # the response. # - def list_by_resource_group_as_lazy(resource_group_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -1654,12 +1650,12 @@ def list_by_resource_group_as_lazy(resource_group_name, expand:nil, filter:nil, # @return [ResponseWithContinuationLabVhd] which provide lazy access to pages # of the response. # - def list_vhds_as_lazy(resource_group_name, name, custom_headers:nil) - response = list_vhds_async(resource_group_name, name, custom_headers:custom_headers).value! + def list_vhds_as_lazy(resource_group_name, name, custom_headers = nil) + response = list_vhds_async(resource_group_name, name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_vhds_next_async(next_page_link, custom_headers:custom_headers) + list_vhds_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb index b5df8c8cf6..2ad939814e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb @@ -28,7 +28,6 @@ class ApplicableSchedule < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicableSchedule', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicableSchedule', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,7 +80,6 @@ def self.mapper() } }, lab_vms_shutdown: { - client_side_validation: true, required: false, serialized_name: 'properties.labVmsShutdown', type: { @@ -96,7 +88,6 @@ def self.mapper() } }, lab_vms_startup: { - client_side_validation: true, required: false, serialized_name: 'properties.labVmsStartup', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb index bd9d49966f..3d7f493b33 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb @@ -28,7 +28,6 @@ class ApplicableScheduleFragment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicableScheduleFragment', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicableScheduleFragment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,7 +80,6 @@ def self.mapper() } }, lab_vms_shutdown: { - client_side_validation: true, required: false, serialized_name: 'properties.labVmsShutdown', type: { @@ -96,7 +88,6 @@ def self.mapper() } }, lab_vms_startup: { - client_side_validation: true, required: false, serialized_name: 'properties.labVmsStartup', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb index 8faa27bdd7..d06d3878ff 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb @@ -23,7 +23,6 @@ class ApplyArtifactsRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplyArtifactsRequest', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ApplyArtifactsRequest', model_properties: { artifacts: { - client_side_validation: true, required: false, serialized_name: 'artifacts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArtifactInstallPropertiesElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template.rb index 666ab5cf9c..b8689035d8 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template.rb @@ -42,7 +42,6 @@ class ArmTemplate < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArmTemplate', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ArmTemplate', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -68,7 +65,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -77,7 +73,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -85,13 +80,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.displayName', @@ -110,7 +102,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.description', @@ -119,7 +110,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.publisher', @@ -128,7 +118,6 @@ def self.mapper() } }, icon: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.icon', @@ -137,7 +126,6 @@ def self.mapper() } }, contents: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.contents', @@ -146,7 +134,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -155,14 +142,12 @@ def self.mapper() } }, parameters_value_files_info: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.parametersValueFilesInfo', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ParametersValueFileInfoElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb index 2934516e1e..bf915cb76b 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb @@ -25,7 +25,6 @@ class ArmTemplateInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArmTemplateInfo', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ArmTemplateInfo', model_properties: { template: { - client_side_validation: true, required: false, serialized_name: 'template', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb index 9415dac9ca..bb5dd86373 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb @@ -25,7 +25,6 @@ class ArmTemplateParameterProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArmTemplateParameterProperties', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ArmTemplateParameterProperties', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact.rb index 36e0d3ff38..7b1d1d2398 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact.rb @@ -43,7 +43,6 @@ class Artifact < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Artifact', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'Artifact', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +58,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +74,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -86,13 +81,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, title: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.title', @@ -111,7 +103,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.description', @@ -120,7 +111,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.publisher', @@ -129,7 +119,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.filePath', @@ -138,7 +127,6 @@ def self.mapper() } }, icon: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.icon', @@ -147,7 +135,6 @@ def self.mapper() } }, target_os_type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.targetOsType', @@ -156,7 +143,6 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.parameters', @@ -165,7 +151,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb index 62a5873d71..92e1e6ae66 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb @@ -30,7 +30,6 @@ class ArtifactDeploymentStatusProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArtifactDeploymentStatusProperties', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ArtifactDeploymentStatusProperties', model_properties: { deployment_status: { - client_side_validation: true, required: false, serialized_name: 'deploymentStatus', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, artifacts_applied: { - client_side_validation: true, required: false, serialized_name: 'artifactsApplied', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, total_artifacts: { - client_side_validation: true, required: false, serialized_name: 'totalArtifacts', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb index 8300efbd1d..837b33082f 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb @@ -31,7 +31,6 @@ class ArtifactDeploymentStatusPropertiesFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArtifactDeploymentStatusPropertiesFragment', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ArtifactDeploymentStatusPropertiesFragment', model_properties: { deployment_status: { - client_side_validation: true, required: false, serialized_name: 'deploymentStatus', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, artifacts_applied: { - client_side_validation: true, required: false, serialized_name: 'artifactsApplied', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, total_artifacts: { - client_side_validation: true, required: false, serialized_name: 'totalArtifacts', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb index 6a666ad2cd..a1b068f0b7 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb @@ -39,7 +39,6 @@ class ArtifactInstallProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArtifactInstallProperties', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ArtifactInstallProperties', model_properties: { artifact_id: { - client_side_validation: true, required: false, serialized_name: 'artifactId', type: { @@ -55,13 +53,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArtifactParameterPropertiesElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, deployment_status_message: { - client_side_validation: true, required: false, serialized_name: 'deploymentStatusMessage', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, vm_extension_status_message: { - client_side_validation: true, required: false, serialized_name: 'vmExtensionStatusMessage', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, install_time: { - client_side_validation: true, required: false, serialized_name: 'installTime', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb index 44ea9249dd..30a5a8ac86 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb @@ -39,7 +39,6 @@ class ArtifactInstallPropertiesFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArtifactInstallPropertiesFragment', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ArtifactInstallPropertiesFragment', model_properties: { artifact_id: { - client_side_validation: true, required: false, serialized_name: 'artifactId', type: { @@ -55,13 +53,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArtifactParameterPropertiesFragmentElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, deployment_status_message: { - client_side_validation: true, required: false, serialized_name: 'deploymentStatusMessage', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, vm_extension_status_message: { - client_side_validation: true, required: false, serialized_name: 'vmExtensionStatusMessage', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, install_time: { - client_side_validation: true, required: false, serialized_name: 'installTime', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb index e06a10d71a..4bdcf74b42 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb @@ -25,7 +25,6 @@ class ArtifactParameterProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArtifactParameterProperties', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ArtifactParameterProperties', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb index 2593ec3827..a6c648cc13 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb @@ -25,7 +25,6 @@ class ArtifactParameterPropertiesFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArtifactParameterPropertiesFragment', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ArtifactParameterPropertiesFragment', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb index 94619c8cb6..682e3f7400 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb @@ -57,7 +57,6 @@ class ArtifactSource < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArtifactSource', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ArtifactSource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -74,7 +72,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -83,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -92,7 +88,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -100,13 +95,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, uri: { - client_side_validation: true, required: false, serialized_name: 'properties.uri', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, source_type: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceType', type: { @@ -140,7 +130,6 @@ def self.mapper() } }, folder_path: { - client_side_validation: true, required: false, serialized_name: 'properties.folderPath', type: { @@ -148,7 +137,6 @@ def self.mapper() } }, arm_template_folder_path: { - client_side_validation: true, required: false, serialized_name: 'properties.armTemplateFolderPath', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, branch_ref: { - client_side_validation: true, required: false, serialized_name: 'properties.branchRef', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, security_token: { - client_side_validation: true, required: false, serialized_name: 'properties.securityToken', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -180,7 +165,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -189,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -197,7 +180,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb index 0c4048914e..49df60bfdc 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb @@ -54,7 +54,6 @@ class ArtifactSourceFragment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ArtifactSourceFragment', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ArtifactSourceFragment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, uri: { - client_side_validation: true, required: false, serialized_name: 'properties.uri', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, source_type: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceType', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, folder_path: { - client_side_validation: true, required: false, serialized_name: 'properties.folderPath', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, arm_template_folder_path: { - client_side_validation: true, required: false, serialized_name: 'properties.armTemplateFolderPath', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, branch_ref: { - client_side_validation: true, required: false, serialized_name: 'properties.branchRef', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, security_token: { - client_side_validation: true, required: false, serialized_name: 'properties.securityToken', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -185,7 +169,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb index 7e229be71f..4fe410128e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb @@ -23,7 +23,6 @@ class AttachDiskProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AttachDiskProperties', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'AttachDiskProperties', model_properties: { leased_by_lab_vm_id: { - client_side_validation: true, required: false, serialized_name: 'leasedByLabVmId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb index 2f1fe406b2..698db70493 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb @@ -29,7 +29,6 @@ class AttachNewDataDiskOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AttachNewDataDiskOptions', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AttachNewDataDiskOptions', model_properties: { disk_size_gi_b: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGiB', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, disk_name: { - client_side_validation: true, required: false, serialized_name: 'diskName', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, disk_type: { - client_side_validation: true, required: false, serialized_name: 'diskType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb index c2edc223b5..f5154d5108 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb @@ -22,7 +22,6 @@ class BulkCreationParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BulkCreationParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'BulkCreationParameters', model_properties: { instance_count: { - client_side_validation: true, required: false, serialized_name: 'instanceCount', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb index 3db2d52c05..1bd9a1ccf9 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb @@ -32,7 +32,6 @@ class ComputeDataDisk # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeDataDisk', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ComputeDataDisk', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, disk_uri: { - client_side_validation: true, required: false, serialized_name: 'diskUri', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, managed_disk_id: { - client_side_validation: true, required: false, serialized_name: 'managedDiskId', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, disk_size_gi_b: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGiB', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb index d41f60eeb3..15efd90804 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb @@ -32,7 +32,6 @@ class ComputeDataDiskFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeDataDiskFragment', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ComputeDataDiskFragment', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, disk_uri: { - client_side_validation: true, required: false, serialized_name: 'diskUri', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, managed_disk_id: { - client_side_validation: true, required: false, serialized_name: 'managedDiskId', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, disk_size_gi_b: { - client_side_validation: true, required: false, serialized_name: 'diskSizeGiB', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb index e7a8db7592..e69fb927e1 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb @@ -28,7 +28,6 @@ class ComputeVmInstanceViewStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeVmInstanceViewStatus', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ComputeVmInstanceViewStatus', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb index 071d55639c..783a16160a 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb @@ -28,7 +28,6 @@ class ComputeVmInstanceViewStatusFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeVmInstanceViewStatusFragment', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ComputeVmInstanceViewStatusFragment', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_status: { - client_side_validation: true, required: false, serialized_name: 'displayStatus', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb index bb7ac9f7fc..39f775bcd3 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb @@ -43,7 +43,6 @@ class ComputeVmProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeVmProperties', type: { @@ -51,13 +50,11 @@ def self.mapper() class_name: 'ComputeVmProperties', model_properties: { statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ComputeVmInstanceViewStatusElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -76,7 +72,6 @@ def self.mapper() } }, vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, network_interface_id: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceId', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, os_disk_id: { - client_side_validation: true, required: false, serialized_name: 'osDiskId', type: { @@ -100,13 +93,11 @@ def self.mapper() } }, data_disk_ids: { - client_side_validation: true, required: false, serialized_name: 'dataDiskIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -116,13 +107,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ComputeDataDiskElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb index f9d426944b..ca6bee1140 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb @@ -43,7 +43,6 @@ class ComputeVmPropertiesFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ComputeVmPropertiesFragment', type: { @@ -51,13 +50,11 @@ def self.mapper() class_name: 'ComputeVmPropertiesFragment', model_properties: { statuses: { - client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ComputeVmInstanceViewStatusFragmentElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -76,7 +72,6 @@ def self.mapper() } }, vm_size: { - client_side_validation: true, required: false, serialized_name: 'vmSize', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, network_interface_id: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceId', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, os_disk_id: { - client_side_validation: true, required: false, serialized_name: 'osDiskId', type: { @@ -100,13 +93,11 @@ def self.mapper() } }, data_disk_ids: { - client_side_validation: true, required: false, serialized_name: 'dataDiskIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -116,13 +107,11 @@ def self.mapper() } }, data_disks: { - client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ComputeDataDiskFragmentElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb index 864a85ef83..6fa7ecd2a7 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb @@ -40,7 +40,6 @@ class CostThresholdProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CostThresholdProperties', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'CostThresholdProperties', model_properties: { threshold_id: { - client_side_validation: true, required: false, serialized_name: 'thresholdId', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, percentage_threshold: { - client_side_validation: true, required: false, serialized_name: 'percentageThreshold', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, display_on_chart: { - client_side_validation: true, required: false, serialized_name: 'displayOnChart', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, send_notification_when_exceeded: { - client_side_validation: true, required: false, serialized_name: 'sendNotificationWhenExceeded', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, notification_sent: { - client_side_validation: true, required: false, serialized_name: 'notificationSent', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb index 40e7a89f8f..b692055d82 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb @@ -45,7 +45,6 @@ class CustomImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomImage', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'CustomImage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, vm: { - client_side_validation: true, required: false, serialized_name: 'properties.vm', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, vhd: { - client_side_validation: true, required: false, serialized_name: 'properties.vhd', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -130,7 +120,6 @@ def self.mapper() } }, author: { - client_side_validation: true, required: false, serialized_name: 'properties.author', type: { @@ -138,7 +127,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -147,7 +135,6 @@ def self.mapper() } }, managed_image_id: { - client_side_validation: true, required: false, serialized_name: 'properties.managedImageId', type: { @@ -155,7 +142,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -163,7 +149,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb index a34241b99d..985a614304 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb @@ -29,7 +29,6 @@ class CustomImagePropertiesCustom # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomImagePropertiesCustom', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'CustomImagePropertiesCustom', model_properties: { image_name: { - client_side_validation: true, required: false, serialized_name: 'imageName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, sys_prep: { - client_side_validation: true, required: false, serialized_name: 'sysPrep', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: true, serialized_name: 'osType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb index ac8abe82d8..973571544c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb @@ -28,7 +28,6 @@ class CustomImagePropertiesFromVm # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'CustomImagePropertiesFromVm', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'CustomImagePropertiesFromVm', model_properties: { source_vm_id: { - client_side_validation: true, required: false, serialized_name: 'sourceVmId', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, windows_os_info: { - client_side_validation: true, required: false, serialized_name: 'windowsOsInfo', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, linux_os_info: { - client_side_validation: true, required: false, serialized_name: 'linuxOsInfo', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb index 365106409c..89d960bacf 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb @@ -32,7 +32,6 @@ class DataDiskProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DataDiskProperties', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'DataDiskProperties', model_properties: { attach_new_data_disk_options: { - client_side_validation: true, required: false, serialized_name: 'attachNewDataDiskOptions', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, existing_lab_disk_id: { - client_side_validation: true, required: false, serialized_name: 'existingLabDiskId', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, host_caching: { - client_side_validation: true, required: false, serialized_name: 'hostCaching', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details.rb index d1c5e56c63..5f99614f88 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details.rb @@ -22,7 +22,6 @@ class DayDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DayDetails', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DayDetails', model_properties: { time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb index c11df26e47..697ffe8229 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb @@ -22,7 +22,6 @@ class DayDetailsFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DayDetailsFragment', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DayDetailsFragment', model_properties: { time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb index d9cfdc5ae1..ec753c61af 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb @@ -23,7 +23,6 @@ class DetachDataDiskProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DetachDataDiskProperties', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'DetachDataDiskProperties', model_properties: { existing_lab_disk_id: { - client_side_validation: true, required: false, serialized_name: 'existingLabDiskId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb index c9773dc585..e81014146a 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb @@ -23,7 +23,6 @@ class DetachDiskProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DetachDiskProperties', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'DetachDiskProperties', model_properties: { leased_by_lab_vm_id: { - client_side_validation: true, required: false, serialized_name: 'leasedByLabVmId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/disk.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/disk.rb index 75c705679f..5e5fe989e8 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/disk.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/disk.rb @@ -54,7 +54,6 @@ class Disk < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Disk', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'Disk', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, disk_type: { - client_side_validation: true, required: false, serialized_name: 'properties.diskType', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, disk_size_gi_b: { - client_side_validation: true, required: false, serialized_name: 'properties.diskSizeGiB', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, leased_by_lab_vm_id: { - client_side_validation: true, required: false, serialized_name: 'properties.leasedByLabVmId', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, disk_blob_name: { - client_side_validation: true, required: false, serialized_name: 'properties.diskBlobName', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, disk_uri: { - client_side_validation: true, required: false, serialized_name: 'properties.diskUri', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -162,7 +149,6 @@ def self.mapper() } }, host_caching: { - client_side_validation: true, required: false, serialized_name: 'properties.hostCaching', type: { @@ -170,7 +156,6 @@ def self.mapper() } }, managed_disk_id: { - client_side_validation: true, required: false, serialized_name: 'properties.managedDiskId', type: { @@ -178,7 +163,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -186,7 +170,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb index 1946d0a81d..9f7b20975a 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb @@ -40,7 +40,6 @@ class DtlEnvironment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DtlEnvironment', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'DtlEnvironment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -57,7 +55,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -66,7 +63,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -75,7 +71,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -83,13 +78,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, deployment_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.deploymentProperties', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, arm_template_display_name: { - client_side_validation: true, required: false, serialized_name: 'properties.armTemplateDisplayName', type: { @@ -116,7 +107,6 @@ def self.mapper() } }, resource_group_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGroupId', @@ -125,7 +115,6 @@ def self.mapper() } }, created_by_user: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdByUser', @@ -134,7 +123,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -142,7 +130,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb index a10c31cd5d..229114356c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb @@ -26,7 +26,6 @@ class EnvironmentDeploymentProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EnvironmentDeploymentProperties', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'EnvironmentDeploymentProperties', model_properties: { arm_template_id: { - client_side_validation: true, required: false, serialized_name: 'armTemplateId', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArmTemplateParameterPropertiesElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb index f24e8aed65..3aa9beb07e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb @@ -28,7 +28,6 @@ class EvaluatePoliciesProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EvaluatePoliciesProperties', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'EvaluatePoliciesProperties', model_properties: { fact_name: { - client_side_validation: true, required: false, serialized_name: 'factName', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, fact_data: { - client_side_validation: true, required: false, serialized_name: 'factData', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, value_offset: { - client_side_validation: true, required: false, serialized_name: 'valueOffset', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb index ac35d9a7ff..cf2215fa7c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb @@ -22,7 +22,6 @@ class EvaluatePoliciesRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EvaluatePoliciesRequest', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EvaluatePoliciesRequest', model_properties: { policies: { - client_side_validation: true, required: false, serialized_name: 'policies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EvaluatePoliciesPropertiesElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb index 3ef8485043..b2902b9e83 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb @@ -22,7 +22,6 @@ class EvaluatePoliciesResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EvaluatePoliciesResponse', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'EvaluatePoliciesResponse', model_properties: { results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PolicySetResultElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/event.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/event.rb index f52883ae2b..274cd43ace 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/event.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/event.rb @@ -24,7 +24,6 @@ class Event # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Event', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'Event', model_properties: { event_name: { - client_side_validation: true, required: false, serialized_name: 'eventName', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/event_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/event_fragment.rb index 5838a624e5..f94a87060c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/event_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/event_fragment.rb @@ -24,7 +24,6 @@ class EventFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EventFragment', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'EventFragment', model_properties: { event_name: { - client_side_validation: true, required: false, serialized_name: 'eventName', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb index a7f03b3977..107c711468 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb @@ -28,7 +28,6 @@ class ExportResourceUsageParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExportResourceUsageParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ExportResourceUsageParameters', model_properties: { blob_storage_absolute_sas_uri: { - client_side_validation: true, required: false, serialized_name: 'blobStorageAbsoluteSasUri', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, usage_start_date: { - client_side_validation: true, required: false, serialized_name: 'usageStartDate', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet.rb index a360030c6a..9eefd012d2 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet.rb @@ -25,7 +25,6 @@ class ExternalSubnet # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExternalSubnet', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExternalSubnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb index 686831012f..f020cb96e0 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb @@ -25,7 +25,6 @@ class ExternalSubnetFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExternalSubnetFragment', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExternalSubnetFragment', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/formula.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/formula.rb index 6d354ed076..4f536a111b 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/formula.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/formula.rb @@ -46,7 +46,6 @@ class Formula < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Formula', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Formula', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +61,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +77,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -89,13 +84,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, author: { - client_side_validation: true, required: false, serialized_name: 'properties.author', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -129,7 +119,6 @@ def self.mapper() } }, creation_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', @@ -138,7 +127,6 @@ def self.mapper() } }, formula_content: { - client_side_validation: true, required: false, serialized_name: 'properties.formulaContent', type: { @@ -147,7 +135,6 @@ def self.mapper() } }, vm: { - client_side_validation: true, required: false, serialized_name: 'properties.vm', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -164,7 +150,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb index eb4a7d7a67..d3f1db00f0 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb @@ -23,7 +23,6 @@ class FormulaPropertiesFromVm # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FormulaPropertiesFromVm', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FormulaPropertiesFromVm', model_properties: { lab_vm_id: { - client_side_validation: true, required: false, serialized_name: 'labVmId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image.rb index 56aedf7024..fec9464753 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image.rb @@ -38,7 +38,6 @@ class GalleryImage < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GalleryImage', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'GalleryImage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -55,7 +53,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,7 +69,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, author: { - client_side_validation: true, required: false, serialized_name: 'properties.author', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -114,7 +105,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -122,7 +112,6 @@ def self.mapper() } }, image_reference: { - client_side_validation: true, required: false, serialized_name: 'properties.imageReference', type: { @@ -131,7 +120,6 @@ def self.mapper() } }, icon: { - client_side_validation: true, required: false, serialized_name: 'properties.icon', type: { @@ -139,7 +127,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.enabled', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb index f9108cd375..f5344ef9d3 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb @@ -34,7 +34,6 @@ class GalleryImageReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GalleryImageReference', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'GalleryImageReference', model_properties: { offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb index ef9cc2cdf7..f7f9ef4f17 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb @@ -34,7 +34,6 @@ class GalleryImageReferenceFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GalleryImageReferenceFragment', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'GalleryImageReferenceFragment', model_properties: { offer: { - client_side_validation: true, required: false, serialized_name: 'offer', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, publisher: { - client_side_validation: true, required: false, serialized_name: 'publisher', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'osType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, version: { - client_side_validation: true, required: false, serialized_name: 'version', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb index a13055f731..b099faa174 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb @@ -33,7 +33,6 @@ class GenerateArmTemplateRequest # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GenerateArmTemplateRequest', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'GenerateArmTemplateRequest', model_properties: { virtual_machine_name: { - client_side_validation: true, required: false, serialized_name: 'virtualMachineName', type: { @@ -49,13 +47,11 @@ def self.mapper() } }, parameters: { - client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ParameterInfoElementType', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, file_upload_options: { - client_side_validation: true, required: false, serialized_name: 'fileUploadOptions', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb index 40ae52009d..1d5f84494d 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb @@ -22,7 +22,6 @@ class GenerateUploadUriParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GenerateUploadUriParameter', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'GenerateUploadUriParameter', model_properties: { blob_name: { - client_side_validation: true, required: false, serialized_name: 'blobName', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb index c769fb1f00..9831938bb1 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb @@ -22,7 +22,6 @@ class GenerateUploadUriResponse # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GenerateUploadUriResponse', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'GenerateUploadUriResponse', model_properties: { upload_uri: { - client_side_validation: true, required: false, serialized_name: 'uploadUri', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details.rb index 24d9d19558..7c32683791 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details.rb @@ -22,7 +22,6 @@ class HourDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HourDetails', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'HourDetails', model_properties: { minute: { - client_side_validation: true, required: false, serialized_name: 'minute', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb index fc9f4d1354..39a1e7ec6d 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb @@ -22,7 +22,6 @@ class HourDetailsFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'HourDetailsFragment', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'HourDetailsFragment', model_properties: { minute: { - client_side_validation: true, required: false, serialized_name: 'minute', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb index e7b21a3594..cad72da42e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb @@ -31,7 +31,6 @@ class IdentityProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IdentityProperties', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'IdentityProperties', model_properties: { type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, principal_id: { - client_side_validation: true, required: false, serialized_name: 'principalId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, serialized_name: 'tenantId', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, client_secret_url: { - client_side_validation: true, required: false, serialized_name: 'clientSecretUrl', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb index 6445c4b31e..a99804c995 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb @@ -33,7 +33,6 @@ class InboundNatRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { transport_protocol: { - client_side_validation: true, required: false, serialized_name: 'transportProtocol', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'frontendPort', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'backendPort', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb index 495f8cd8b6..f24bd864e3 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb @@ -33,7 +33,6 @@ class InboundNatRuleFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleFragment', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'InboundNatRuleFragment', model_properties: { transport_protocol: { - client_side_validation: true, required: false, serialized_name: 'transportProtocol', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'frontendPort', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'backendPort', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab.rb index 632d429f50..eb46e192e1 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab.rb @@ -56,7 +56,6 @@ class Lab < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Lab', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'Lab', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -82,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -91,7 +87,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -99,13 +94,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, default_storage_account: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultStorageAccount', @@ -124,7 +116,6 @@ def self.mapper() } }, default_premium_storage_account: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultPremiumStorageAccount', @@ -133,7 +124,6 @@ def self.mapper() } }, artifacts_storage_account: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.artifactsStorageAccount', @@ -142,7 +132,6 @@ def self.mapper() } }, premium_data_disk_storage_account: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.premiumDataDiskStorageAccount', @@ -151,7 +140,6 @@ def self.mapper() } }, vault_name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.vaultName', @@ -160,7 +148,6 @@ def self.mapper() } }, lab_storage_type: { - client_side_validation: true, required: false, serialized_name: 'properties.labStorageType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -177,7 +163,6 @@ def self.mapper() } }, premium_data_disks: { - client_side_validation: true, required: false, serialized_name: 'properties.premiumDataDisks', type: { @@ -185,7 +170,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -193,7 +177,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost.rb index 86d6d0d654..787c80f04e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost.rb @@ -52,7 +52,6 @@ class LabCost < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LabCost', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'LabCost', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -69,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -78,7 +75,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -87,7 +83,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -95,13 +90,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, target_cost: { - client_side_validation: true, required: false, serialized_name: 'properties.targetCost', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, lab_cost_summary: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.labCostSummary', @@ -130,14 +121,12 @@ def self.mapper() } }, lab_cost_details: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.labCostDetails', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LabCostDetailsPropertiesElementType', type: { @@ -148,14 +137,12 @@ def self.mapper() } }, resource_costs: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceCosts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LabResourceCostPropertiesElementType', type: { @@ -166,7 +153,6 @@ def self.mapper() } }, currency_code: { - client_side_validation: true, required: false, serialized_name: 'properties.currencyCode', type: { @@ -174,7 +160,6 @@ def self.mapper() } }, start_date_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startDateTime', type: { @@ -182,7 +167,6 @@ def self.mapper() } }, end_date_time: { - client_side_validation: true, required: false, serialized_name: 'properties.endDateTime', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, serialized_name: 'properties.createdDate', type: { @@ -198,7 +181,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -206,7 +188,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb index 15d29de1b5..f1a6e094a9 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb @@ -29,7 +29,6 @@ class LabCostDetailsProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LabCostDetailsProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'LabCostDetailsProperties', model_properties: { date: { - client_side_validation: true, required: false, serialized_name: 'date', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, cost: { - client_side_validation: true, required: false, serialized_name: 'cost', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, cost_type: { - client_side_validation: true, required: false, serialized_name: 'costType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb index a980a1c4e0..11b7419a46 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb @@ -22,7 +22,6 @@ class LabCostSummaryProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LabCostSummaryProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'LabCostSummaryProperties', model_properties: { estimated_lab_cost: { - client_side_validation: true, required: false, serialized_name: 'estimatedLabCost', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb index 607dade845..7dc7eef2d0 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb @@ -38,7 +38,6 @@ class LabFragment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LabFragment', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'LabFragment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -55,7 +53,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,7 +69,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, lab_storage_type: { - client_side_validation: true, required: false, serialized_name: 'properties.labStorageType', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, premium_data_disks: { - client_side_validation: true, required: false, serialized_name: 'properties.premiumDataDisks', type: { @@ -113,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -121,7 +111,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb index 55ccbf1c4b..6e6690f9b9 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb @@ -48,7 +48,6 @@ class LabResourceCostProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LabResourceCostProperties', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'LabResourceCostProperties', model_properties: { resourcename: { - client_side_validation: true, required: false, serialized_name: 'resourcename', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, resource_uid: { - client_side_validation: true, required: false, serialized_name: 'resourceUId', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, resource_cost: { - client_side_validation: true, required: false, serialized_name: 'resourceCost', type: { @@ -80,7 +76,6 @@ def self.mapper() } }, resource_type: { - client_side_validation: true, required: false, serialized_name: 'resourceType', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, resource_owner: { - client_side_validation: true, required: false, serialized_name: 'resourceOwner', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, resource_pricing_tier: { - client_side_validation: true, required: false, serialized_name: 'resourcePricingTier', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, resource_status: { - client_side_validation: true, required: false, serialized_name: 'resourceStatus', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -120,7 +111,6 @@ def self.mapper() } }, external_resource_id: { - client_side_validation: true, required: false, serialized_name: 'externalResourceId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb index 782a23997c..613f1bf017 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb @@ -22,7 +22,6 @@ class LabVhd # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LabVhd', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'LabVhd', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb index 9aa6f48f8a..890387dce0 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb @@ -128,7 +128,6 @@ class LabVirtualMachine < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LabVirtualMachine', type: { @@ -136,7 +135,6 @@ def self.mapper() class_name: 'LabVirtualMachine', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -145,7 +143,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -154,7 +151,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -163,7 +159,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -171,13 +166,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -187,7 +180,6 @@ def self.mapper() } }, notes: { - client_side_validation: true, required: false, serialized_name: 'properties.notes', type: { @@ -195,7 +187,6 @@ def self.mapper() } }, owner_object_id: { - client_side_validation: true, required: false, serialized_name: 'properties.ownerObjectId', type: { @@ -203,7 +194,6 @@ def self.mapper() } }, owner_user_principal_name: { - client_side_validation: true, required: false, serialized_name: 'properties.ownerUserPrincipalName', type: { @@ -211,7 +201,6 @@ def self.mapper() } }, created_by_user_id: { - client_side_validation: true, required: false, serialized_name: 'properties.createdByUserId', type: { @@ -219,7 +208,6 @@ def self.mapper() } }, created_by_user: { - client_side_validation: true, required: false, serialized_name: 'properties.createdByUser', type: { @@ -227,7 +215,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, serialized_name: 'properties.createdDate', type: { @@ -235,7 +222,6 @@ def self.mapper() } }, compute_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.computeId', @@ -244,7 +230,6 @@ def self.mapper() } }, custom_image_id: { - client_side_validation: true, required: false, serialized_name: 'properties.customImageId', type: { @@ -252,7 +237,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -260,7 +244,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, serialized_name: 'properties.size', type: { @@ -268,7 +251,6 @@ def self.mapper() } }, user_name: { - client_side_validation: true, required: false, serialized_name: 'properties.userName', type: { @@ -276,7 +258,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -284,7 +265,6 @@ def self.mapper() } }, ssh_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sshKey', type: { @@ -292,7 +272,6 @@ def self.mapper() } }, is_authentication_with_ssh_key: { - client_side_validation: true, required: false, serialized_name: 'properties.isAuthenticationWithSshKey', type: { @@ -300,7 +279,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'properties.fqdn', type: { @@ -308,7 +286,6 @@ def self.mapper() } }, lab_subnet_name: { - client_side_validation: true, required: false, serialized_name: 'properties.labSubnetName', type: { @@ -316,7 +293,6 @@ def self.mapper() } }, lab_virtual_network_id: { - client_side_validation: true, required: false, serialized_name: 'properties.labVirtualNetworkId', type: { @@ -324,7 +300,6 @@ def self.mapper() } }, disallow_public_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.disallowPublicIpAddress', type: { @@ -332,13 +307,11 @@ def self.mapper() } }, artifacts: { - client_side_validation: true, required: false, serialized_name: 'properties.artifacts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArtifactInstallPropertiesElementType', type: { @@ -349,7 +322,6 @@ def self.mapper() } }, artifact_deployment_status: { - client_side_validation: true, required: false, serialized_name: 'properties.artifactDeploymentStatus', type: { @@ -358,7 +330,6 @@ def self.mapper() } }, gallery_image_reference: { - client_side_validation: true, required: false, serialized_name: 'properties.galleryImageReference', type: { @@ -367,7 +338,6 @@ def self.mapper() } }, compute_vm: { - client_side_validation: true, required: false, serialized_name: 'properties.computeVm', type: { @@ -376,7 +346,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'properties.networkInterface', type: { @@ -385,7 +354,6 @@ def self.mapper() } }, applicable_schedule: { - client_side_validation: true, required: false, serialized_name: 'properties.applicableSchedule', type: { @@ -394,7 +362,6 @@ def self.mapper() } }, expiration_date: { - client_side_validation: true, required: false, serialized_name: 'properties.expirationDate', type: { @@ -402,7 +369,6 @@ def self.mapper() } }, allow_claim: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClaim', type: { @@ -410,7 +376,6 @@ def self.mapper() } }, storage_type: { - client_side_validation: true, required: false, serialized_name: 'properties.storageType', type: { @@ -418,7 +383,6 @@ def self.mapper() } }, virtual_machine_creation_source: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineCreationSource', type: { @@ -426,7 +390,6 @@ def self.mapper() } }, environment_id: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentId', type: { @@ -434,7 +397,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -442,7 +404,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb index acf208761e..460a26ff7f 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb @@ -137,7 +137,6 @@ class LabVirtualMachineCreationParameter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LabVirtualMachineCreationParameter', type: { @@ -145,7 +144,6 @@ def self.mapper() class_name: 'LabVirtualMachineCreationParameter', model_properties: { bulk_creation_parameters: { - client_side_validation: true, required: false, serialized_name: 'properties.bulkCreationParameters', type: { @@ -154,7 +152,6 @@ def self.mapper() } }, notes: { - client_side_validation: true, required: false, serialized_name: 'properties.notes', type: { @@ -162,7 +159,6 @@ def self.mapper() } }, owner_object_id: { - client_side_validation: true, required: false, serialized_name: 'properties.ownerObjectId', type: { @@ -170,7 +166,6 @@ def self.mapper() } }, owner_user_principal_name: { - client_side_validation: true, required: false, serialized_name: 'properties.ownerUserPrincipalName', type: { @@ -178,7 +173,6 @@ def self.mapper() } }, created_by_user_id: { - client_side_validation: true, required: false, serialized_name: 'properties.createdByUserId', type: { @@ -186,7 +180,6 @@ def self.mapper() } }, created_by_user: { - client_side_validation: true, required: false, serialized_name: 'properties.createdByUser', type: { @@ -194,7 +187,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, serialized_name: 'properties.createdDate', type: { @@ -202,7 +194,6 @@ def self.mapper() } }, custom_image_id: { - client_side_validation: true, required: false, serialized_name: 'properties.customImageId', type: { @@ -210,7 +201,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -218,7 +208,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, serialized_name: 'properties.size', type: { @@ -226,7 +215,6 @@ def self.mapper() } }, user_name: { - client_side_validation: true, required: false, serialized_name: 'properties.userName', type: { @@ -234,7 +222,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -242,7 +229,6 @@ def self.mapper() } }, ssh_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sshKey', type: { @@ -250,7 +236,6 @@ def self.mapper() } }, is_authentication_with_ssh_key: { - client_side_validation: true, required: false, serialized_name: 'properties.isAuthenticationWithSshKey', type: { @@ -258,7 +243,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'properties.fqdn', type: { @@ -266,7 +250,6 @@ def self.mapper() } }, lab_subnet_name: { - client_side_validation: true, required: false, serialized_name: 'properties.labSubnetName', type: { @@ -274,7 +257,6 @@ def self.mapper() } }, lab_virtual_network_id: { - client_side_validation: true, required: false, serialized_name: 'properties.labVirtualNetworkId', type: { @@ -282,7 +264,6 @@ def self.mapper() } }, disallow_public_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.disallowPublicIpAddress', type: { @@ -290,13 +271,11 @@ def self.mapper() } }, artifacts: { - client_side_validation: true, required: false, serialized_name: 'properties.artifacts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArtifactInstallPropertiesElementType', type: { @@ -307,7 +286,6 @@ def self.mapper() } }, artifact_deployment_status: { - client_side_validation: true, required: false, serialized_name: 'properties.artifactDeploymentStatus', type: { @@ -316,7 +294,6 @@ def self.mapper() } }, gallery_image_reference: { - client_side_validation: true, required: false, serialized_name: 'properties.galleryImageReference', type: { @@ -325,7 +302,6 @@ def self.mapper() } }, compute_vm: { - client_side_validation: true, required: false, serialized_name: 'properties.computeVm', type: { @@ -334,7 +310,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'properties.networkInterface', type: { @@ -343,7 +318,6 @@ def self.mapper() } }, applicable_schedule: { - client_side_validation: true, required: false, serialized_name: 'properties.applicableSchedule', type: { @@ -352,7 +326,6 @@ def self.mapper() } }, expiration_date: { - client_side_validation: true, required: false, serialized_name: 'properties.expirationDate', type: { @@ -360,7 +333,6 @@ def self.mapper() } }, allow_claim: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClaim', type: { @@ -368,7 +340,6 @@ def self.mapper() } }, storage_type: { - client_side_validation: true, required: false, serialized_name: 'properties.storageType', type: { @@ -376,7 +347,6 @@ def self.mapper() } }, virtual_machine_creation_source: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineCreationSource', type: { @@ -384,7 +354,6 @@ def self.mapper() } }, environment_id: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentId', type: { @@ -392,7 +361,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -400,7 +368,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { @@ -408,7 +375,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -416,7 +382,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -424,13 +389,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb index 5c721f7658..8b1b2ac44c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb @@ -126,7 +126,6 @@ class LabVirtualMachineFragment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LabVirtualMachineFragment', type: { @@ -134,7 +133,6 @@ def self.mapper() class_name: 'LabVirtualMachineFragment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -143,7 +141,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -152,7 +149,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -161,7 +157,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -169,13 +164,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -185,7 +178,6 @@ def self.mapper() } }, notes: { - client_side_validation: true, required: false, serialized_name: 'properties.notes', type: { @@ -193,7 +185,6 @@ def self.mapper() } }, owner_object_id: { - client_side_validation: true, required: false, serialized_name: 'properties.ownerObjectId', type: { @@ -201,7 +192,6 @@ def self.mapper() } }, owner_user_principal_name: { - client_side_validation: true, required: false, serialized_name: 'properties.ownerUserPrincipalName', type: { @@ -209,7 +199,6 @@ def self.mapper() } }, created_by_user_id: { - client_side_validation: true, required: false, serialized_name: 'properties.createdByUserId', type: { @@ -217,7 +206,6 @@ def self.mapper() } }, created_by_user: { - client_side_validation: true, required: false, serialized_name: 'properties.createdByUser', type: { @@ -225,7 +213,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, serialized_name: 'properties.createdDate', type: { @@ -233,7 +220,6 @@ def self.mapper() } }, custom_image_id: { - client_side_validation: true, required: false, serialized_name: 'properties.customImageId', type: { @@ -241,7 +227,6 @@ def self.mapper() } }, os_type: { - client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { @@ -249,7 +234,6 @@ def self.mapper() } }, size: { - client_side_validation: true, required: false, serialized_name: 'properties.size', type: { @@ -257,7 +241,6 @@ def self.mapper() } }, user_name: { - client_side_validation: true, required: false, serialized_name: 'properties.userName', type: { @@ -265,7 +248,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -273,7 +255,6 @@ def self.mapper() } }, ssh_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sshKey', type: { @@ -281,7 +262,6 @@ def self.mapper() } }, is_authentication_with_ssh_key: { - client_side_validation: true, required: false, serialized_name: 'properties.isAuthenticationWithSshKey', type: { @@ -289,7 +269,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'properties.fqdn', type: { @@ -297,7 +276,6 @@ def self.mapper() } }, lab_subnet_name: { - client_side_validation: true, required: false, serialized_name: 'properties.labSubnetName', type: { @@ -305,7 +283,6 @@ def self.mapper() } }, lab_virtual_network_id: { - client_side_validation: true, required: false, serialized_name: 'properties.labVirtualNetworkId', type: { @@ -313,7 +290,6 @@ def self.mapper() } }, disallow_public_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.disallowPublicIpAddress', type: { @@ -321,13 +297,11 @@ def self.mapper() } }, artifacts: { - client_side_validation: true, required: false, serialized_name: 'properties.artifacts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArtifactInstallPropertiesFragmentElementType', type: { @@ -338,7 +312,6 @@ def self.mapper() } }, artifact_deployment_status: { - client_side_validation: true, required: false, serialized_name: 'properties.artifactDeploymentStatus', type: { @@ -347,7 +320,6 @@ def self.mapper() } }, gallery_image_reference: { - client_side_validation: true, required: false, serialized_name: 'properties.galleryImageReference', type: { @@ -356,7 +328,6 @@ def self.mapper() } }, compute_vm: { - client_side_validation: true, required: false, serialized_name: 'properties.computeVm', type: { @@ -365,7 +336,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'properties.networkInterface', type: { @@ -374,7 +344,6 @@ def self.mapper() } }, applicable_schedule: { - client_side_validation: true, required: false, serialized_name: 'properties.applicableSchedule', type: { @@ -383,7 +352,6 @@ def self.mapper() } }, expiration_date: { - client_side_validation: true, required: false, serialized_name: 'properties.expirationDate', type: { @@ -391,7 +359,6 @@ def self.mapper() } }, allow_claim: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClaim', type: { @@ -399,7 +366,6 @@ def self.mapper() } }, storage_type: { - client_side_validation: true, required: false, serialized_name: 'properties.storageType', type: { @@ -407,7 +373,6 @@ def self.mapper() } }, virtual_machine_creation_source: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachineCreationSource', type: { @@ -415,7 +380,6 @@ def self.mapper() } }, environment_id: { - client_side_validation: true, required: false, serialized_name: 'properties.environmentId', type: { @@ -423,7 +387,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -431,7 +394,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb index f3c2a776c8..31bc9b82f9 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb @@ -25,7 +25,6 @@ class LinuxOsInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LinuxOsInfo', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'LinuxOsInfo', model_properties: { linux_os_state: { - client_side_validation: true, required: false, serialized_name: 'linuxOsState', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb index 9f4c45d7f0..6e3355605c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb @@ -50,7 +50,6 @@ class NetworkInterfaceProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceProperties', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'NetworkInterfaceProperties', model_properties: { virtual_network_id: { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkId', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, subnet_id: { - client_side_validation: true, required: false, serialized_name: 'subnetId', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, public_ip_address_id: { - client_side_validation: true, required: false, serialized_name: 'publicIpAddressId', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, public_ip_address: { - client_side_validation: true, required: false, serialized_name: 'publicIpAddress', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, private_ip_address: { - client_side_validation: true, required: false, serialized_name: 'privateIpAddress', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, dns_name: { - client_side_validation: true, required: false, serialized_name: 'dnsName', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, rdp_authority: { - client_side_validation: true, required: false, serialized_name: 'rdpAuthority', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, ssh_authority: { - client_side_validation: true, required: false, serialized_name: 'sshAuthority', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, shared_public_ip_address_configuration: { - client_side_validation: true, required: false, serialized_name: 'sharedPublicIpAddressConfiguration', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb index b9188ac203..97579a4140 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb @@ -50,7 +50,6 @@ class NetworkInterfacePropertiesFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfacePropertiesFragment', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'NetworkInterfacePropertiesFragment', model_properties: { virtual_network_id: { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkId', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, subnet_id: { - client_side_validation: true, required: false, serialized_name: 'subnetId', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, public_ip_address_id: { - client_side_validation: true, required: false, serialized_name: 'publicIpAddressId', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, public_ip_address: { - client_side_validation: true, required: false, serialized_name: 'publicIpAddress', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, private_ip_address: { - client_side_validation: true, required: false, serialized_name: 'privateIpAddress', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, dns_name: { - client_side_validation: true, required: false, serialized_name: 'dnsName', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, rdp_authority: { - client_side_validation: true, required: false, serialized_name: 'rdpAuthority', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, ssh_authority: { - client_side_validation: true, required: false, serialized_name: 'sshAuthority', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, shared_public_ip_address_configuration: { - client_side_validation: true, required: false, serialized_name: 'sharedPublicIpAddressConfiguration', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_channel.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_channel.rb index 9a8c6d8c85..f680c635a1 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_channel.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_channel.rb @@ -38,7 +38,6 @@ class NotificationChannel < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NotificationChannel', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'NotificationChannel', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -55,7 +53,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,7 +69,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, web_hook_url: { - client_side_validation: true, required: false, serialized_name: 'properties.webHookUrl', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -113,13 +104,11 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, serialized_name: 'properties.events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { @@ -130,7 +119,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -139,7 +127,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +134,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb index 5e6cf54e4e..b444159567 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb @@ -35,7 +35,6 @@ class NotificationChannelFragment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NotificationChannelFragment', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'NotificationChannelFragment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -94,7 +87,6 @@ def self.mapper() } }, web_hook_url: { - client_side_validation: true, required: false, serialized_name: 'properties.webHookUrl', type: { @@ -102,7 +94,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -110,13 +101,11 @@ def self.mapper() } }, events: { - client_side_validation: true, required: false, serialized_name: 'properties.events', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EventFragmentElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings.rb index ec9219a46b..87fde914a3 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings.rb @@ -32,7 +32,6 @@ class NotificationSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NotificationSettings', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'NotificationSettings', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, time_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'timeInMinutes', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, webhook_url: { - client_side_validation: true, required: false, serialized_name: 'webhookUrl', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb index 0478cfdd77..6e81c85792 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb @@ -32,7 +32,6 @@ class NotificationSettingsFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NotificationSettingsFragment', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'NotificationSettingsFragment', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, time_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'timeInMinutes', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, webhook_url: { - client_side_validation: true, required: false, serialized_name: 'webhookUrl', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb index e9023e91ef..abf849930e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb @@ -26,7 +26,6 @@ class NotifyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NotifyParameters', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'NotifyParameters', model_properties: { event_name: { - client_side_validation: true, required: false, serialized_name: 'eventName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, json_payload: { - client_side_validation: true, required: false, serialized_name: 'jsonPayload', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb index 8b176b24a6..4ec9c53ac1 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb @@ -25,7 +25,6 @@ class OperationError # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationError', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'OperationError', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.rb index 1b87faa35f..dc091cf749 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.rb @@ -26,7 +26,6 @@ class OperationMetadata # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationMetadata', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'OperationMetadata', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_display.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_display.rb index 989379be62..ab8765cdfa 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_display.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_display.rb @@ -32,7 +32,6 @@ class OperationMetadataDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationMetadataDisplay', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'OperationMetadataDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_result.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_result.rb index 177237205d..243349d44f 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_result.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_result.rb @@ -41,7 +41,6 @@ class OperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationResult', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'OperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, status_code: { - client_side_validation: true, required: false, serialized_name: 'statusCode', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/parameter_info.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/parameter_info.rb index 50195a6e92..0ceb401791 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/parameter_info.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/parameter_info.rb @@ -25,7 +25,6 @@ class ParameterInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ParameterInfo', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ParameterInfo', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb index fa2ef13835..e74da1f478 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb @@ -25,7 +25,6 @@ class ParametersValueFileInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ParametersValueFileInfo', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ParametersValueFileInfo', model_properties: { file_name: { - client_side_validation: true, required: false, serialized_name: 'fileName', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, parameters_value_info: { - client_side_validation: true, required: false, serialized_name: 'parametersValueInfo', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb index 3bd6199fce..7efe25e793 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb @@ -22,7 +22,6 @@ class PercentageCostThresholdProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PercentageCostThresholdProperties', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'PercentageCostThresholdProperties', model_properties: { threshold_value: { - client_side_validation: true, required: false, serialized_name: 'thresholdValue', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy.rb index 415adf28b2..5710b6281e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy.rb @@ -54,7 +54,6 @@ class Policy < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Policy', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'Policy', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, fact_name: { - client_side_validation: true, required: false, serialized_name: 'properties.factName', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, fact_data: { - client_side_validation: true, required: false, serialized_name: 'properties.factData', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.threshold', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, evaluator_type: { - client_side_validation: true, required: false, serialized_name: 'properties.evaluatorType', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -170,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -178,7 +163,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb index 32562ccd66..aa95623c11 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb @@ -51,7 +51,6 @@ class PolicyFragment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PolicyFragment', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'PolicyFragment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, fact_name: { - client_side_validation: true, required: false, serialized_name: 'properties.factName', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, fact_data: { - client_side_validation: true, required: false, serialized_name: 'properties.factData', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.threshold', type: { @@ -150,7 +138,6 @@ def self.mapper() } }, evaluator_type: { - client_side_validation: true, required: false, serialized_name: 'properties.evaluatorType', type: { @@ -158,7 +145,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -166,7 +152,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb index 7a38f5d57f..229fde9085 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb @@ -26,7 +26,6 @@ class PolicySetResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PolicySetResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'PolicySetResult', model_properties: { has_error: { - client_side_validation: true, required: false, serialized_name: 'hasError', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, policy_violations: { - client_side_validation: true, required: false, serialized_name: 'policyViolations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PolicyViolationElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_violation.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_violation.rb index c037656c33..f9743e95dd 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_violation.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_violation.rb @@ -25,7 +25,6 @@ class PolicyViolation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PolicyViolation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'PolicyViolation', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/port.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/port.rb index 64ae321733..f1d6674a0d 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/port.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/port.rb @@ -26,7 +26,6 @@ class Port # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Port', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'Port', model_properties: { transport_protocol: { - client_side_validation: true, required: false, serialized_name: 'transportProtocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'backendPort', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/port_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/port_fragment.rb index 9a38d18656..974d54c3d4 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/port_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/port_fragment.rb @@ -26,7 +26,6 @@ class PortFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PortFragment', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'PortFragment', model_properties: { transport_protocol: { - client_side_validation: true, required: false, serialized_name: 'transportProtocol', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'backendPort', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb index f028d175d4..c9f78cdec7 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ProviderOperationResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ProviderOperationResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationMetadataElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/resource.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/resource.rb index 74fe0a99cb..0c4703bc30 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/resource.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/resource.rb @@ -28,22 +28,12 @@ class Resource attr_accessor :tags - # @return [String] the name of the resource group of the resource. - def resource_group - unless self.id.nil? - groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/) - groups.captures[0].strip if groups - end - end - - # # Mapper for Resource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -51,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -86,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_arm_template.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_arm_template.rb index ccc02275da..4e01f52f60 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_arm_template.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_arm_template.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[ArmTemplate]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationArmTemplate', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArmTemplateElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb index c3ed316f6c..52a55777ca 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[Artifact]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationArtifact', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArtifactElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb index 8646223a5c..d48c1a374a 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[ArtifactSource]', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ResponseWithContinuationArtifactSource', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ArtifactSourceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb index 083f610422..c7445f50d5 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[CustomImage]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationCustomImage', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CustomImageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_disk.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_disk.rb index c14930257e..acccbb8121 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_disk.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_disk.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[Disk]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationDisk', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DiskElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_dtl_environment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_dtl_environment.rb index 22bad8972e..f7aadf2db7 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_dtl_environment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_dtl_environment.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[DtlEnvironment]', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ResponseWithContinuationDtlEnvironment', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DtlEnvironmentElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb index b08d34c0fe..eaaf8ee22e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[Formula]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationFormula', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FormulaElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb index 9da1d4c5f3..f3625ec94e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[GalleryImage]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationGalleryImage', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GalleryImageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb index 72036ce21c..1b629ee17d 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[Lab]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationLab', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LabElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb index 6429ecbca6..b695c03361 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[LabVhd]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationLabVhd', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LabVhdElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb index dca01bd3e1..8f07f35b80 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[LabVirtualMachine]', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ResponseWithContinuationLabVirtualMachine', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LabVirtualMachineElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb index 7368193565..8d4ed58aa1 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[NotificationChannel]', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ResponseWithContinuationNotificationChannel', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NotificationChannelElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb index e43be88ec2..d082c7a2bc 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[Policy]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationPolicy', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PolicyElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb index af1f684c13..cd6446321a 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[Schedule]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationSchedule', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ScheduleElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb index 7b253b13bb..834995b5cf 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[Secret]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationSecret', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecretElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb index b4064644be..81a64642d4 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[ServiceRunner]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationServiceRunner', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceRunnerElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_user.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_user.rb index bf2ab7315d..f8f68d2473 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_user.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_user.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[User]', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ResponseWithContinuationUser', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UserElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb index 9989fee3ef..17640af512 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResponseWithContinuation[VirtualNetwork]', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ResponseWithContinuationVirtualNetwork', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb index b8df8b6d33..66f9ba9194 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb @@ -27,7 +27,6 @@ class RetargetScheduleProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetargetScheduleProperties', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetargetScheduleProperties', model_properties: { current_resource_id: { - client_side_validation: true, required: false, serialized_name: 'currentResourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, target_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/schedule.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/schedule.rb index 315f9423dc..f14f930ae2 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/schedule.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/schedule.rb @@ -57,7 +57,6 @@ class Schedule < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Schedule', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'Schedule', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -74,7 +72,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -83,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -92,7 +88,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -100,13 +95,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, task_type: { - client_side_validation: true, required: false, serialized_name: 'properties.taskType', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, weekly_recurrence: { - client_side_validation: true, required: false, serialized_name: 'properties.weeklyRecurrence', type: { @@ -141,7 +131,6 @@ def self.mapper() } }, daily_recurrence: { - client_side_validation: true, required: false, serialized_name: 'properties.dailyRecurrence', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, hourly_recurrence: { - client_side_validation: true, required: false, serialized_name: 'properties.hourlyRecurrence', type: { @@ -159,7 +147,6 @@ def self.mapper() } }, time_zone_id: { - client_side_validation: true, required: false, serialized_name: 'properties.timeZoneId', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, notification_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.notificationSettings', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -185,7 +170,6 @@ def self.mapper() } }, target_resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.targetResourceId', type: { @@ -193,7 +177,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -201,7 +184,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb index 7fa370c4ec..e49d119ff9 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb @@ -54,7 +54,6 @@ class ScheduleFragment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ScheduleFragment', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ScheduleFragment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, status: { - client_side_validation: true, required: false, serialized_name: 'properties.status', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, task_type: { - client_side_validation: true, required: false, serialized_name: 'properties.taskType', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, weekly_recurrence: { - client_side_validation: true, required: false, serialized_name: 'properties.weeklyRecurrence', type: { @@ -138,7 +128,6 @@ def self.mapper() } }, daily_recurrence: { - client_side_validation: true, required: false, serialized_name: 'properties.dailyRecurrence', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, hourly_recurrence: { - client_side_validation: true, required: false, serialized_name: 'properties.hourlyRecurrence', type: { @@ -156,7 +144,6 @@ def self.mapper() } }, time_zone_id: { - client_side_validation: true, required: false, serialized_name: 'properties.timeZoneId', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, notification_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.notificationSettings', type: { @@ -173,7 +159,6 @@ def self.mapper() } }, target_resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.targetResourceId', type: { @@ -181,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -189,7 +173,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/secret.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/secret.rb index daada7c2a9..eaeb8d685f 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/secret.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/secret.rb @@ -28,7 +28,6 @@ class Secret < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Secret', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Secret', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,7 +80,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, serialized_name: 'properties.value', type: { @@ -95,7 +87,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +94,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/service_runner.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/service_runner.rb index 93da236e5b..53df33f838 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/service_runner.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/service_runner.rb @@ -22,7 +22,6 @@ class ServiceRunner < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceRunner', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ServiceRunner', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -39,7 +37,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -48,7 +45,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -57,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -65,13 +60,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +74,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'identity', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb index 688e04b1dc..8c1b6bad97 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb @@ -23,7 +23,6 @@ class SharedPublicIpAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SharedPublicIpAddressConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SharedPublicIpAddressConfiguration', model_properties: { inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb index c9d41de7ea..e27a3ba623 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb @@ -24,7 +24,6 @@ class SharedPublicIpAddressConfigurationFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SharedPublicIpAddressConfigurationFragment', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'SharedPublicIpAddressConfigurationFragment', model_properties: { inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleFragmentElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb index 9f4645c205..a5649a7115 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb @@ -54,7 +54,6 @@ class ShutdownNotificationContent # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ShutdownNotificationContent', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ShutdownNotificationContent', model_properties: { skip_url: { - client_side_validation: true, required: false, serialized_name: 'skipUrl', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, delay_url60: { - client_side_validation: true, required: false, serialized_name: 'delayUrl60', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, delay_url120: { - client_side_validation: true, required: false, serialized_name: 'delayUrl120', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, vm_name: { - client_side_validation: true, required: false, serialized_name: 'vmName', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, guid: { - client_side_validation: true, required: false, serialized_name: 'guid', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, owner: { - client_side_validation: true, required: false, serialized_name: 'owner', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, event_type: { - client_side_validation: true, required: false, serialized_name: 'eventType', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, text: { - client_side_validation: true, required: false, serialized_name: 'text', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, subscription_id: { - client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'resourceGroupName', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, lab_name: { - client_side_validation: true, required: false, serialized_name: 'labName', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb index 465934f812..518c8d0058 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb @@ -30,7 +30,6 @@ class Subnet # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, lab_subnet_name: { - client_side_validation: true, required: false, serialized_name: 'labSubnetName', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, allow_public_ip: { - client_side_validation: true, required: false, serialized_name: 'allowPublicIp', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb index 961ca75aab..f68ed7232c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb @@ -30,7 +30,6 @@ class SubnetFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetFragment', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'SubnetFragment', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, lab_subnet_name: { - client_side_validation: true, required: false, serialized_name: 'labSubnetName', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, allow_public_ip: { - client_side_validation: true, required: false, serialized_name: 'allowPublicIp', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override.rb index 01288f1576..3256f3892c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override.rb @@ -42,7 +42,6 @@ class SubnetOverride # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetOverride', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'SubnetOverride', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, lab_subnet_name: { - client_side_validation: true, required: false, serialized_name: 'labSubnetName', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, use_in_vm_creation_permission: { - client_side_validation: true, required: false, serialized_name: 'useInVmCreationPermission', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, use_public_ip_address_permission: { - client_side_validation: true, required: false, serialized_name: 'usePublicIpAddressPermission', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, shared_public_ip_address_configuration: { - client_side_validation: true, required: false, serialized_name: 'sharedPublicIpAddressConfiguration', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, virtual_network_pool_name: { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkPoolName', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb index f16cfa334d..200be99900 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb @@ -42,7 +42,6 @@ class SubnetOverrideFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetOverrideFragment', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'SubnetOverrideFragment', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, lab_subnet_name: { - client_side_validation: true, required: false, serialized_name: 'labSubnetName', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, use_in_vm_creation_permission: { - client_side_validation: true, required: false, serialized_name: 'useInVmCreationPermission', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, use_public_ip_address_permission: { - client_side_validation: true, required: false, serialized_name: 'usePublicIpAddressPermission', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, shared_public_ip_address_configuration: { - client_side_validation: true, required: false, serialized_name: 'sharedPublicIpAddressConfiguration', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, virtual_network_pool_name: { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkPoolName', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb index 53879480dc..c49540e8cc 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb @@ -23,7 +23,6 @@ class SubnetSharedPublicIpAddressConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetSharedPublicIpAddressConfiguration', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SubnetSharedPublicIpAddressConfiguration', model_properties: { allowed_ports: { - client_side_validation: true, required: false, serialized_name: 'allowedPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb index b841f932b0..4c5d6cfe3b 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb @@ -24,7 +24,6 @@ class SubnetSharedPublicIpAddressConfigurationFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetSharedPublicIpAddressConfigurationFragment', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'SubnetSharedPublicIpAddressConfigurationFragment', model_properties: { allowed_ports: { - client_side_validation: true, required: false, serialized_name: 'allowedPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PortFragmentElementType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb index 5c99dbc451..9ac39ed774 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb @@ -39,7 +39,6 @@ class TargetCostProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TargetCostProperties', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'TargetCostProperties', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -63,13 +60,11 @@ def self.mapper() } }, cost_thresholds: { - client_side_validation: true, required: false, serialized_name: 'costThresholds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'CostThresholdPropertiesElementType', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, cycle_start_date_time: { - client_side_validation: true, required: false, serialized_name: 'cycleStartDateTime', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, cycle_end_date_time: { - client_side_validation: true, required: false, serialized_name: 'cycleEndDateTime', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, cycle_type: { - client_side_validation: true, required: false, serialized_name: 'cycleType', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user.rb index 908ef9536e..7f83e17b2a 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user.rb @@ -34,7 +34,6 @@ class User < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'User', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'User', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,7 +86,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'properties.identity', type: { @@ -102,7 +94,6 @@ def self.mapper() } }, secret_store: { - client_side_validation: true, required: false, serialized_name: 'properties.secretStore', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -120,7 +110,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -128,7 +117,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_fragment.rb index d7ba46c422..afb17191b6 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_fragment.rb @@ -31,7 +31,6 @@ class UserFragment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UserFragment', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'UserFragment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -48,7 +46,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -57,7 +54,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -66,7 +62,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -74,13 +69,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -90,7 +83,6 @@ def self.mapper() } }, identity: { - client_side_validation: true, required: false, serialized_name: 'properties.identity', type: { @@ -99,7 +91,6 @@ def self.mapper() } }, secret_store: { - client_side_validation: true, required: false, serialized_name: 'properties.secretStore', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +106,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity.rb index ecd6fea899..1644972fbe 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity.rb @@ -40,7 +40,6 @@ class UserIdentity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UserIdentity', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'UserIdentity', model_properties: { principal_name: { - client_side_validation: true, required: false, serialized_name: 'principalName', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, principal_id: { - client_side_validation: true, required: false, serialized_name: 'principalId', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, serialized_name: 'tenantId', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, object_id: { - client_side_validation: true, required: false, serialized_name: 'objectId', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, app_id: { - client_side_validation: true, required: false, serialized_name: 'appId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb index 5a31f0b0a7..a68e2e1385 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb @@ -40,7 +40,6 @@ class UserIdentityFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UserIdentityFragment', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'UserIdentityFragment', model_properties: { principal_name: { - client_side_validation: true, required: false, serialized_name: 'principalName', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, principal_id: { - client_side_validation: true, required: false, serialized_name: 'principalId', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, tenant_id: { - client_side_validation: true, required: false, serialized_name: 'tenantId', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, object_id: { - client_side_validation: true, required: false, serialized_name: 'objectId', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, app_id: { - client_side_validation: true, required: false, serialized_name: 'appId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb index 7ba165053e..c1e40c9e55 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb @@ -25,7 +25,6 @@ class UserSecretStore # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UserSecretStore', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UserSecretStore', model_properties: { key_vault_uri: { - client_side_validation: true, required: false, serialized_name: 'keyVaultUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, key_vault_id: { - client_side_validation: true, required: false, serialized_name: 'keyVaultId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb index 9f37555a82..614193a516 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb @@ -25,7 +25,6 @@ class UserSecretStoreFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UserSecretStoreFragment', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UserSecretStoreFragment', model_properties: { key_vault_uri: { - client_side_validation: true, required: false, serialized_name: 'keyVaultUri', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, key_vault_id: { - client_side_validation: true, required: false, serialized_name: 'keyVaultId', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/virtual_network.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/virtual_network.rb index 763b549c24..3e9baca472 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/virtual_network.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/virtual_network.rb @@ -45,7 +45,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, allowed_subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.allowedSubnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -129,7 +119,6 @@ def self.mapper() } }, external_provider_resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.externalProviderResourceId', type: { @@ -137,13 +126,11 @@ def self.mapper() } }, external_subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.externalSubnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExternalSubnetElementType', type: { @@ -154,13 +141,11 @@ def self.mapper() } }, subnet_overrides: { - client_side_validation: true, required: false, serialized_name: 'properties.subnetOverrides', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetOverrideElementType', type: { @@ -171,7 +156,6 @@ def self.mapper() } }, created_date: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', @@ -180,7 +164,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +171,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb index d37b0291ce..1b78c81283 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb @@ -43,7 +43,6 @@ class VirtualNetworkFragment < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkFragment', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualNetworkFragment', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +58,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +74,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -86,13 +81,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -102,13 +95,11 @@ def self.mapper() } }, allowed_subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.allowedSubnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetFragmentElementType', type: { @@ -119,7 +110,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -127,7 +117,6 @@ def self.mapper() } }, external_provider_resource_id: { - client_side_validation: true, required: false, serialized_name: 'properties.externalProviderResourceId', type: { @@ -135,13 +124,11 @@ def self.mapper() } }, external_subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.externalSubnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExternalSubnetFragmentElementType', type: { @@ -152,13 +139,11 @@ def self.mapper() } }, subnet_overrides: { - client_side_validation: true, required: false, serialized_name: 'properties.subnetOverrides', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetOverrideFragmentElementType', type: { @@ -169,7 +154,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +161,6 @@ def self.mapper() } }, unique_identifier: { - client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details.rb index 2128d597e0..89b436ebb5 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details.rb @@ -26,7 +26,6 @@ class WeekDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WeekDetails', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'WeekDetails', model_properties: { weekdays: { - client_side_validation: true, required: false, serialized_name: 'weekdays', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb index f4d9832e74..7b8898c23e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb @@ -26,7 +26,6 @@ class WeekDetailsFragment # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WeekDetailsFragment', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'WeekDetailsFragment', model_properties: { weekdays: { - client_side_validation: true, required: false, serialized_name: 'weekdays', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, time: { - client_side_validation: true, required: false, serialized_name: 'time', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb index 575f8955d1..a2343acc0c 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb @@ -24,7 +24,6 @@ class WindowsOsInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'WindowsOsInfo', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'WindowsOsInfo', model_properties: { windows_os_state: { - client_side_validation: true, required: false, serialized_name: 'windowsOsState', type: { diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/notification_channels.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/notification_channels.rb index 452f6db842..7508316e26 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/notification_channels.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/notification_channels.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -60,8 +60,8 @@ def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, t # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -89,7 +89,6 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -147,8 +146,8 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o # # @return [NotificationChannel] operation results. # - def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -165,8 +164,8 @@ def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! end # @@ -182,7 +181,7 @@ def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? @@ -191,7 +190,6 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -248,8 +246,8 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni # # @return [NotificationChannel] operation results. # - def create_or_update(resource_group_name, lab_name, name, notification_channel, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, notification_channel, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, notification_channel, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, notification_channel, custom_headers).value! response.body unless response.nil? end @@ -265,8 +263,8 @@ def create_or_update(resource_group_name, lab_name, name, notification_channel, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, lab_name, name, notification_channel, custom_headers:nil) - create_or_update_async(resource_group_name, lab_name, name, notification_channel, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, lab_name, name, notification_channel, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, notification_channel, custom_headers).value! end # @@ -281,7 +279,7 @@ def create_or_update_with_http_info(resource_group_name, lab_name, name, notific # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, lab_name, name, notification_channel, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, notification_channel, 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, 'lab_name is nil' if lab_name.nil? @@ -291,12 +289,13 @@ def create_or_update_async(resource_group_name, lab_name, name, notification_cha request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel.mapper() request_content = @client.serialize(request_mapper, notification_channel) @@ -363,8 +362,8 @@ def create_or_update_async(resource_group_name, lab_name, name, notification_cha # will be added to the HTTP request. # # - def delete(resource_group_name, lab_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -379,8 +378,8 @@ def delete(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -394,7 +393,7 @@ def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -403,7 +402,6 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -450,8 +448,8 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [NotificationChannel] operation results. # - def update(resource_group_name, lab_name, name, notification_channel, custom_headers:nil) - response = update_async(resource_group_name, lab_name, name, notification_channel, custom_headers:custom_headers).value! + def update(resource_group_name, lab_name, name, notification_channel, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, notification_channel, custom_headers).value! response.body unless response.nil? end @@ -467,8 +465,8 @@ def update(resource_group_name, lab_name, name, notification_channel, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, lab_name, name, notification_channel, custom_headers:nil) - update_async(resource_group_name, lab_name, name, notification_channel, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, lab_name, name, notification_channel, custom_headers = nil) + update_async(resource_group_name, lab_name, name, notification_channel, custom_headers).value! end # @@ -483,7 +481,7 @@ def update_with_http_info(resource_group_name, lab_name, name, notification_chan # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, lab_name, name, notification_channel, custom_headers:nil) + def update_async(resource_group_name, lab_name, name, notification_channel, 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, 'lab_name is nil' if lab_name.nil? @@ -493,12 +491,13 @@ def update_async(resource_group_name, lab_name, name, notification_channel, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment.mapper() request_content = @client.serialize(request_mapper, notification_channel) @@ -557,8 +556,8 @@ def update_async(resource_group_name, lab_name, name, notification_channel, cust # will be added to the HTTP request. # # - def notify(resource_group_name, lab_name, name, notify_parameters, custom_headers:nil) - response = notify_async(resource_group_name, lab_name, name, notify_parameters, custom_headers:custom_headers).value! + def notify(resource_group_name, lab_name, name, notify_parameters, custom_headers = nil) + response = notify_async(resource_group_name, lab_name, name, notify_parameters, custom_headers).value! nil end @@ -575,8 +574,8 @@ def notify(resource_group_name, lab_name, name, notify_parameters, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def notify_with_http_info(resource_group_name, lab_name, name, notify_parameters, custom_headers:nil) - notify_async(resource_group_name, lab_name, name, notify_parameters, custom_headers:custom_headers).value! + def notify_with_http_info(resource_group_name, lab_name, name, notify_parameters, custom_headers = nil) + notify_async(resource_group_name, lab_name, name, notify_parameters, custom_headers).value! end # @@ -592,7 +591,7 @@ def notify_with_http_info(resource_group_name, lab_name, name, notify_parameters # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def notify_async(resource_group_name, lab_name, name, notify_parameters, custom_headers:nil) + def notify_async(resource_group_name, lab_name, name, notify_parameters, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -602,12 +601,13 @@ def notify_async(resource_group_name, lab_name, name, notify_parameters, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotifyParameters.mapper() request_content = @client.serialize(request_mapper, notify_parameters) @@ -654,8 +654,8 @@ def notify_async(resource_group_name, lab_name, name, notify_parameters, custom_ # # @return [ResponseWithContinuationNotificationChannel] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -669,8 +669,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -683,12 +683,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -750,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationNotificationChannel] which provide lazy # access to pages of the response. # - def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/operations.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/operations.rb index 1d3adfbdc5..c522ba5ef7 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/operations.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/operations.rb @@ -31,8 +31,8 @@ def initialize(client) # # @return [OperationResult] operation results. # - def get(location_name, name, custom_headers:nil) - response = get_async(location_name, name, custom_headers:custom_headers).value! + def get(location_name, name, custom_headers = nil) + response = get_async(location_name, name, custom_headers).value! response.body unless response.nil? end @@ -46,8 +46,8 @@ def get(location_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(location_name, name, custom_headers:nil) - get_async(location_name, name, custom_headers:custom_headers).value! + def get_with_http_info(location_name, name, custom_headers = nil) + get_async(location_name, name, custom_headers).value! end # @@ -60,7 +60,7 @@ def get_with_http_info(location_name, name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(location_name, name, custom_headers:nil) + def get_async(location_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'location_name is nil' if location_name.nil? fail ArgumentError, 'name is nil' if name.nil? @@ -68,7 +68,6 @@ def get_async(location_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policies.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policies.rb index 3997c98038..376732a59e 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policies.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policies.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, policy_set_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, policy_set_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, policy_set_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, policy_set_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -62,8 +62,8 @@ def list(resource_group_name, lab_name, policy_set_name, expand:nil, filter:nil, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, policy_set_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, policy_set_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, policy_set_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, policy_set_name, expand, filter, top, orderby, custom_headers).value! end # @@ -84,7 +84,7 @@ def list_with_http_info(resource_group_name, lab_name, policy_set_name, expand:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, policy_set_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, policy_set_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -93,7 +93,6 @@ def list_async(resource_group_name, lab_name, policy_set_name, expand:nil, filte request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -152,8 +151,8 @@ def list_async(resource_group_name, lab_name, policy_set_name, expand:nil, filte # # @return [Policy] operation results. # - def get(resource_group_name, lab_name, policy_set_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, policy_set_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, policy_set_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, policy_set_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -171,8 +170,8 @@ def get(resource_group_name, lab_name, policy_set_name, name, expand:nil, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, policy_set_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, policy_set_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, policy_set_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, policy_set_name, name, expand, custom_headers).value! end # @@ -189,7 +188,7 @@ def get_with_http_info(resource_group_name, lab_name, policy_set_name, name, exp # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, policy_set_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, policy_set_name, 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, 'lab_name is nil' if lab_name.nil? @@ -199,7 +198,6 @@ def get_async(resource_group_name, lab_name, policy_set_name, name, expand:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -257,8 +255,8 @@ def get_async(resource_group_name, lab_name, policy_set_name, name, expand:nil, # # @return [Policy] operation results. # - def create_or_update(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers).value! response.body unless response.nil? end @@ -275,8 +273,8 @@ def create_or_update(resource_group_name, lab_name, policy_set_name, name, polic # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:nil) - create_or_update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers).value! end # @@ -292,7 +290,7 @@ def create_or_update_with_http_info(resource_group_name, lab_name, policy_set_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, policy_set_name, name, policy, 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, 'lab_name is nil' if lab_name.nil? @@ -303,12 +301,13 @@ def create_or_update_async(resource_group_name, lab_name, policy_set_name, name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy.mapper() request_content = @client.serialize(request_mapper, policy) @@ -376,8 +375,8 @@ def create_or_update_async(resource_group_name, lab_name, policy_set_name, name, # will be added to the HTTP request. # # - def delete(resource_group_name, lab_name, policy_set_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, policy_set_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, policy_set_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, policy_set_name, name, custom_headers).value! nil end @@ -393,8 +392,8 @@ def delete(resource_group_name, lab_name, policy_set_name, name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, lab_name, policy_set_name, name, custom_headers:nil) - delete_async(resource_group_name, lab_name, policy_set_name, name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, lab_name, policy_set_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, policy_set_name, name, custom_headers).value! end # @@ -409,7 +408,7 @@ def delete_with_http_info(resource_group_name, lab_name, policy_set_name, name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, lab_name, policy_set_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, policy_set_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -419,7 +418,6 @@ def delete_async(resource_group_name, lab_name, policy_set_name, name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -467,8 +465,8 @@ def delete_async(resource_group_name, lab_name, policy_set_name, name, custom_he # # @return [Policy] operation results. # - def update(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:nil) - response = update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:custom_headers).value! + def update(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers = nil) + response = update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers).value! response.body unless response.nil? end @@ -485,8 +483,8 @@ def update(resource_group_name, lab_name, policy_set_name, name, policy, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:nil) - update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers = nil) + update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers).value! end # @@ -502,7 +500,7 @@ def update_with_http_info(resource_group_name, lab_name, policy_set_name, name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers:nil) + def update_async(resource_group_name, lab_name, policy_set_name, name, policy, 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, 'lab_name is nil' if lab_name.nil? @@ -513,12 +511,13 @@ def update_async(resource_group_name, lab_name, policy_set_name, name, policy, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment.mapper() request_content = @client.serialize(request_mapper, policy) @@ -575,8 +574,8 @@ def update_async(resource_group_name, lab_name, policy_set_name, name, policy, c # # @return [ResponseWithContinuationPolicy] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -590,8 +589,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -604,12 +603,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -672,12 +670,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationPolicy] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, lab_name, policy_set_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, policy_set_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, policy_set_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, policy_set_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policy_sets.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policy_sets.rb index 7f16f47c16..e17afd84f0 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policy_sets.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policy_sets.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [EvaluatePoliciesResponse] operation results. # - def evaluate_policies(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers:nil) - response = evaluate_policies_async(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers:custom_headers).value! + def evaluate_policies(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers = nil) + response = evaluate_policies_async(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers).value! response.body unless response.nil? end @@ -52,8 +52,8 @@ def evaluate_policies(resource_group_name, lab_name, name, evaluate_policies_req # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def evaluate_policies_with_http_info(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers:nil) - evaluate_policies_async(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers:custom_headers).value! + def evaluate_policies_with_http_info(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers = nil) + evaluate_policies_async(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers).value! end # @@ -69,7 +69,7 @@ def evaluate_policies_with_http_info(resource_group_name, lab_name, name, evalua # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def evaluate_policies_async(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers:nil) + def evaluate_policies_async(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -79,12 +79,13 @@ def evaluate_policies_async(resource_group_name, lab_name, name, evaluate_polici request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EvaluatePoliciesRequest.mapper() request_content = @client.serialize(request_mapper, evaluate_policies_request) diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/provider_operations.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/provider_operations.rb index 31faf8cbd1..5437d8bf05 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/provider_operations.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/provider_operations.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -113,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [ProviderOperationResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -128,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -142,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -200,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ProviderOperationResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/schedules.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/schedules.rb index c4e44365bb..546faca3d4 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/schedules.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/schedules.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -60,8 +60,8 @@ def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, t # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -89,7 +89,6 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -147,8 +146,8 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o # # @return [Schedule] operation results. # - def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -165,8 +164,8 @@ def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! end # @@ -182,7 +181,7 @@ def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? @@ -191,7 +190,6 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -248,8 +246,8 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni # # @return [Schedule] operation results. # - def create_or_update(resource_group_name, lab_name, name, schedule, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, schedule, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, schedule, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, schedule, custom_headers).value! response.body unless response.nil? end @@ -265,8 +263,8 @@ def create_or_update(resource_group_name, lab_name, name, schedule, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, lab_name, name, schedule, custom_headers:nil) - create_or_update_async(resource_group_name, lab_name, name, schedule, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, lab_name, name, schedule, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, schedule, custom_headers).value! end # @@ -281,7 +279,7 @@ def create_or_update_with_http_info(resource_group_name, lab_name, name, schedul # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, lab_name, name, schedule, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? @@ -291,12 +289,13 @@ def create_or_update_async(resource_group_name, lab_name, name, schedule, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule.mapper() request_content = @client.serialize(request_mapper, schedule) @@ -363,8 +362,8 @@ def create_or_update_async(resource_group_name, lab_name, name, schedule, custom # will be added to the HTTP request. # # - def delete(resource_group_name, lab_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -379,8 +378,8 @@ def delete(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -394,7 +393,7 @@ def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -403,7 +402,6 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -450,8 +448,8 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [Schedule] operation results. # - def update(resource_group_name, lab_name, name, schedule, custom_headers:nil) - response = update_async(resource_group_name, lab_name, name, schedule, custom_headers:custom_headers).value! + def update(resource_group_name, lab_name, name, schedule, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, schedule, custom_headers).value! response.body unless response.nil? end @@ -467,8 +465,8 @@ def update(resource_group_name, lab_name, name, schedule, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, lab_name, name, schedule, custom_headers:nil) - update_async(resource_group_name, lab_name, name, schedule, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, lab_name, name, schedule, custom_headers = nil) + update_async(resource_group_name, lab_name, name, schedule, custom_headers).value! end # @@ -483,7 +481,7 @@ def update_with_http_info(resource_group_name, lab_name, name, schedule, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, lab_name, name, schedule, custom_headers:nil) + def update_async(resource_group_name, lab_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? @@ -493,12 +491,13 @@ def update_async(resource_group_name, lab_name, name, schedule, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment.mapper() request_content = @client.serialize(request_mapper, schedule) @@ -554,8 +553,8 @@ def update_async(resource_group_name, lab_name, name, schedule, custom_headers:n # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def execute(resource_group_name, lab_name, name, custom_headers:nil) - response = execute_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def execute(resource_group_name, lab_name, name, custom_headers = nil) + response = execute_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -569,9 +568,9 @@ def execute(resource_group_name, lab_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def execute_async(resource_group_name, lab_name, name, custom_headers:nil) + def execute_async(resource_group_name, lab_name, name, custom_headers = nil) # Send request - promise = begin_execute_async(resource_group_name, lab_name, name, custom_headers:custom_headers) + promise = begin_execute_async(resource_group_name, lab_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -596,8 +595,8 @@ def execute_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [Array] operation results. # - def list_applicable(resource_group_name, lab_name, name, custom_headers:nil) - first_page = list_applicable_as_lazy(resource_group_name, lab_name, name, custom_headers:custom_headers) + def list_applicable(resource_group_name, lab_name, name, custom_headers = nil) + first_page = list_applicable_as_lazy(resource_group_name, lab_name, name, custom_headers) first_page.get_all_items end @@ -612,8 +611,8 @@ def list_applicable(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_applicable_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - list_applicable_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def list_applicable_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + list_applicable_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -627,7 +626,7 @@ def list_applicable_with_http_info(resource_group_name, lab_name, name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_applicable_async(resource_group_name, lab_name, name, custom_headers:nil) + def list_applicable_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -636,7 +635,6 @@ def list_applicable_async(resource_group_name, lab_name, name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -691,8 +689,8 @@ def list_applicable_async(resource_group_name, lab_name, name, custom_headers:ni # will be added to the HTTP request. # # - def begin_execute(resource_group_name, lab_name, name, custom_headers:nil) - response = begin_execute_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_execute(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_execute_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -707,8 +705,8 @@ def begin_execute(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_execute_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - begin_execute_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_execute_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_execute_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -722,7 +720,7 @@ def begin_execute_with_http_info(resource_group_name, lab_name, name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_execute_async(resource_group_name, lab_name, name, custom_headers:nil) + def begin_execute_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -731,7 +729,6 @@ def begin_execute_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -776,8 +773,8 @@ def begin_execute_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [ResponseWithContinuationSchedule] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -791,8 +788,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -805,12 +802,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -864,8 +860,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ResponseWithContinuationSchedule] operation results. # - def list_applicable_next(next_page_link, custom_headers:nil) - response = list_applicable_next_async(next_page_link, custom_headers:custom_headers).value! + def list_applicable_next(next_page_link, custom_headers = nil) + response = list_applicable_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -879,8 +875,8 @@ def list_applicable_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_applicable_next_with_http_info(next_page_link, custom_headers:nil) - list_applicable_next_async(next_page_link, custom_headers:custom_headers).value! + def list_applicable_next_with_http_info(next_page_link, custom_headers = nil) + list_applicable_next_async(next_page_link, custom_headers).value! end # @@ -893,12 +889,11 @@ def list_applicable_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_applicable_next_async(next_page_link, custom_headers:nil) + def list_applicable_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -960,12 +955,12 @@ def list_applicable_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationSchedule] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -983,12 +978,12 @@ def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, # @return [ResponseWithContinuationSchedule] which provide lazy access to pages # of the response. # - def list_applicable_as_lazy(resource_group_name, lab_name, name, custom_headers:nil) - response = list_applicable_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def list_applicable_as_lazy(resource_group_name, lab_name, name, custom_headers = nil) + response = list_applicable_async(resource_group_name, lab_name, name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_applicable_next_async(next_page_link, custom_headers:custom_headers) + list_applicable_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/secrets.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/secrets.rb index 9c1a93f4f6..c0816e3edb 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/secrets.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/secrets.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -62,8 +62,8 @@ def list(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, user_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! end # @@ -84,7 +84,7 @@ def list_with_http_info(resource_group_name, lab_name, user_name, expand:nil, fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -93,7 +93,6 @@ def list_async(resource_group_name, lab_name, user_name, expand:nil, filter:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -152,8 +151,8 @@ def list_async(resource_group_name, lab_name, user_name, expand:nil, filter:nil, # # @return [Secret] operation results. # - def get(resource_group_name, lab_name, user_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, user_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -171,8 +170,8 @@ def get(resource_group_name, lab_name, user_name, name, expand:nil, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, user_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, user_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! end # @@ -189,7 +188,7 @@ def get_with_http_info(resource_group_name, lab_name, user_name, name, expand:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, user_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, user_name, 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, 'lab_name is nil' if lab_name.nil? @@ -199,7 +198,6 @@ def get_async(resource_group_name, lab_name, user_name, name, expand:nil, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -257,8 +255,8 @@ def get_async(resource_group_name, lab_name, user_name, name, expand:nil, custom # # @return [Secret] operation results. # - def create_or_update(resource_group_name, lab_name, user_name, name, secret, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, user_name, name, secret, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers).value! response.body unless response.nil? end @@ -275,8 +273,8 @@ def create_or_update(resource_group_name, lab_name, user_name, name, secret, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, secret, custom_headers:nil) - create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, secret, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers).value! end # @@ -292,7 +290,7 @@ def create_or_update_with_http_info(resource_group_name, lab_name, user_name, na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, user_name, name, secret, 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, 'lab_name is nil' if lab_name.nil? @@ -303,12 +301,13 @@ def create_or_update_async(resource_group_name, lab_name, user_name, name, secre request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret.mapper() request_content = @client.serialize(request_mapper, secret) @@ -376,8 +375,8 @@ def create_or_update_async(resource_group_name, lab_name, user_name, name, secre # will be added to the HTTP request. # # - def delete(resource_group_name, lab_name, user_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! nil end @@ -393,8 +392,8 @@ def delete(resource_group_name, lab_name, user_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers:nil) - delete_async(resource_group_name, lab_name, user_name, name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! end # @@ -409,7 +408,7 @@ def delete_with_http_info(resource_group_name, lab_name, user_name, name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, lab_name, user_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -419,7 +418,6 @@ def delete_async(resource_group_name, lab_name, user_name, name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -464,8 +462,8 @@ def delete_async(resource_group_name, lab_name, user_name, name, custom_headers: # # @return [ResponseWithContinuationSecret] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -479,8 +477,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -493,12 +491,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -561,12 +558,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationSecret] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, lab_name, user_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, user_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/service_runners.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/service_runners.rb index a25dce606d..f81007185a 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/service_runners.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/service_runners.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -56,8 +56,8 @@ def list(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, filter, top, orderby, custom_headers).value! end # @@ -75,7 +75,7 @@ def list_with_http_info(resource_group_name, lab_name, filter:nil, top:nil, orde # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -83,7 +83,6 @@ def list_async(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -139,8 +138,8 @@ def list_async(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, # # @return [ServiceRunner] operation results. # - def get(resource_group_name, lab_name, name, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, custom_headers).value! response.body unless response.nil? end @@ -155,8 +154,8 @@ def get(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - get_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + get_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -170,7 +169,7 @@ def get_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, custom_headers:nil) + def get_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -179,7 +178,6 @@ def get_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -237,8 +235,8 @@ def get_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [ServiceRunner] operation results. # - def create_or_update(resource_group_name, lab_name, name, service_runner, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, service_runner, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, service_runner, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, service_runner, custom_headers).value! response.body unless response.nil? end @@ -255,8 +253,8 @@ def create_or_update(resource_group_name, lab_name, name, service_runner, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, lab_name, name, service_runner, custom_headers:nil) - create_or_update_async(resource_group_name, lab_name, name, service_runner, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, lab_name, name, service_runner, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, service_runner, custom_headers).value! end # @@ -272,7 +270,7 @@ def create_or_update_with_http_info(resource_group_name, lab_name, name, service # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, lab_name, name, service_runner, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, service_runner, 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, 'lab_name is nil' if lab_name.nil? @@ -282,12 +280,13 @@ def create_or_update_async(resource_group_name, lab_name, name, service_runner, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner.mapper() request_content = @client.serialize(request_mapper, service_runner) @@ -354,8 +353,8 @@ def create_or_update_async(resource_group_name, lab_name, name, service_runner, # will be added to the HTTP request. # # - def delete(resource_group_name, lab_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -370,8 +369,8 @@ def delete(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -385,7 +384,7 @@ def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -394,7 +393,6 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -439,8 +437,8 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [ResponseWithContinuationServiceRunner] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -454,8 +452,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -468,12 +466,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -533,12 +530,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationServiceRunner] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/users.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/users.rb index ca7fb6dee2..d9a9ca7183 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/users.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/users.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -60,8 +60,8 @@ def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, t # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -89,7 +89,6 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -147,8 +146,8 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o # # @return [User] operation results. # - def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -165,8 +164,8 @@ def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! end # @@ -182,7 +181,7 @@ def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? @@ -191,7 +190,6 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -248,8 +246,8 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni # # @return [User] operation results. # - def create_or_update(resource_group_name, lab_name, name, user, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, user, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, user, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, user, custom_headers).value! response.body unless response.nil? end @@ -265,8 +263,8 @@ def create_or_update(resource_group_name, lab_name, name, user, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, lab_name, name, user, custom_headers:nil) - create_or_update_async(resource_group_name, lab_name, name, user, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, lab_name, name, user, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, user, custom_headers).value! end # @@ -281,7 +279,7 @@ def create_or_update_with_http_info(resource_group_name, lab_name, name, user, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, lab_name, name, user, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, user, 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, 'lab_name is nil' if lab_name.nil? @@ -291,12 +289,13 @@ def create_or_update_async(resource_group_name, lab_name, name, user, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User.mapper() request_content = @client.serialize(request_mapper, user) @@ -362,8 +361,8 @@ def create_or_update_async(resource_group_name, lab_name, name, user, custom_hea # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, lab_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -377,9 +376,9 @@ def delete(resource_group_name, lab_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, lab_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -405,8 +404,8 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [User] operation results. # - def update(resource_group_name, lab_name, name, user, custom_headers:nil) - response = update_async(resource_group_name, lab_name, name, user, custom_headers:custom_headers).value! + def update(resource_group_name, lab_name, name, user, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, user, custom_headers).value! response.body unless response.nil? end @@ -422,8 +421,8 @@ def update(resource_group_name, lab_name, name, user, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, lab_name, name, user, custom_headers:nil) - update_async(resource_group_name, lab_name, name, user, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, lab_name, name, user, custom_headers = nil) + update_async(resource_group_name, lab_name, name, user, custom_headers).value! end # @@ -438,7 +437,7 @@ def update_with_http_info(resource_group_name, lab_name, name, user, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, lab_name, name, user, custom_headers:nil) + def update_async(resource_group_name, lab_name, name, user, 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, 'lab_name is nil' if lab_name.nil? @@ -448,12 +447,13 @@ def update_async(resource_group_name, lab_name, name, user, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment.mapper() request_content = @client.serialize(request_mapper, user) @@ -510,8 +510,8 @@ def update_async(resource_group_name, lab_name, name, user, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, lab_name, name, custom_headers:nil) - response = begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -526,8 +526,8 @@ def begin_delete(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -541,7 +541,7 @@ def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def begin_delete_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -550,7 +550,6 @@ def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -595,8 +594,8 @@ def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [ResponseWithContinuationUser] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -610,8 +609,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +623,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -691,12 +689,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationUser] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/version.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/version.rb new file mode 100644 index 0000000000..e701ff1f0a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/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::DevTestLabs::Mgmt::V2016_05_15 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb index 01cf07e72a..efd5275748 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb @@ -39,8 +39,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, virtual_machine_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, virtual_machine_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, virtual_machine_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, virtual_machine_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -62,8 +62,8 @@ def list(resource_group_name, lab_name, virtual_machine_name, expand:nil, filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, virtual_machine_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, virtual_machine_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, virtual_machine_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, virtual_machine_name, expand, filter, top, orderby, custom_headers).value! end # @@ -84,7 +84,7 @@ def list_with_http_info(resource_group_name, lab_name, virtual_machine_name, exp # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, virtual_machine_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, virtual_machine_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -93,7 +93,6 @@ def list_async(resource_group_name, lab_name, virtual_machine_name, expand:nil, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -152,8 +151,8 @@ def list_async(resource_group_name, lab_name, virtual_machine_name, expand:nil, # # @return [Schedule] operation results. # - def get(resource_group_name, lab_name, virtual_machine_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, virtual_machine_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, virtual_machine_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, virtual_machine_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -171,8 +170,8 @@ def get(resource_group_name, lab_name, virtual_machine_name, name, expand:nil, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, virtual_machine_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, virtual_machine_name, name, expand, custom_headers).value! end # @@ -189,7 +188,7 @@ def get_with_http_info(resource_group_name, lab_name, virtual_machine_name, name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, virtual_machine_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, virtual_machine_name, 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, 'lab_name is nil' if lab_name.nil? @@ -199,7 +198,6 @@ def get_async(resource_group_name, lab_name, virtual_machine_name, name, expand: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -257,8 +255,8 @@ def get_async(resource_group_name, lab_name, virtual_machine_name, name, expand: # # @return [Schedule] operation results. # - def create_or_update(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers).value! response.body unless response.nil? end @@ -275,8 +273,8 @@ def create_or_update(resource_group_name, lab_name, virtual_machine_name, name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:nil) - create_or_update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers).value! end # @@ -292,7 +290,7 @@ def create_or_update_with_http_info(resource_group_name, lab_name, virtual_machi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? @@ -303,12 +301,13 @@ def create_or_update_async(resource_group_name, lab_name, virtual_machine_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Schedule.mapper() request_content = @client.serialize(request_mapper, schedule) @@ -376,8 +375,8 @@ def create_or_update_async(resource_group_name, lab_name, virtual_machine_name, # will be added to the HTTP request. # # - def delete(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! nil end @@ -393,8 +392,8 @@ def delete(resource_group_name, lab_name, virtual_machine_name, name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def delete_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:nil) - delete_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:custom_headers).value! + def delete_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! end # @@ -409,7 +408,7 @@ def delete_with_http_info(resource_group_name, lab_name, virtual_machine_name, n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def delete_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -419,7 +418,6 @@ def delete_async(resource_group_name, lab_name, virtual_machine_name, name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -467,8 +465,8 @@ def delete_async(resource_group_name, lab_name, virtual_machine_name, name, cust # # @return [Schedule] operation results. # - def update(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:nil) - response = update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:custom_headers).value! + def update(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers = nil) + response = update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers).value! response.body unless response.nil? end @@ -485,8 +483,8 @@ def update(resource_group_name, lab_name, virtual_machine_name, name, schedule, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:nil) - update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers = nil) + update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers).value! end # @@ -502,7 +500,7 @@ def update_with_http_info(resource_group_name, lab_name, virtual_machine_name, n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers:nil) + def update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? @@ -513,12 +511,13 @@ def update_async(resource_group_name, lab_name, virtual_machine_name, name, sche request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ScheduleFragment.mapper() request_content = @client.serialize(request_mapper, schedule) @@ -575,8 +574,8 @@ def update_async(resource_group_name, lab_name, virtual_machine_name, name, sche # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def execute(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:nil) - response = execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:custom_headers).value! + def execute(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + response = execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! nil end @@ -591,9 +590,9 @@ def execute(resource_group_name, lab_name, virtual_machine_name, name, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:nil) + def execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) # Send request - promise = begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:custom_headers) + promise = begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -618,8 +617,8 @@ def execute_async(resource_group_name, lab_name, virtual_machine_name, name, cus # will be added to the HTTP request. # # - def begin_execute(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:nil) - response = begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:custom_headers).value! + def begin_execute(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + response = begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! nil end @@ -635,8 +634,8 @@ def begin_execute(resource_group_name, lab_name, virtual_machine_name, name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_execute_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:nil) - begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:custom_headers).value! + def begin_execute_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! end # @@ -651,7 +650,7 @@ def begin_execute_with_http_info(resource_group_name, lab_name, virtual_machine_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers:nil) + def begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -661,7 +660,6 @@ def begin_execute_async(resource_group_name, lab_name, virtual_machine_name, nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -706,8 +704,8 @@ def begin_execute_async(resource_group_name, lab_name, virtual_machine_name, nam # # @return [ResponseWithContinuationSchedule] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -721,8 +719,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -735,12 +733,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -803,12 +800,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationSchedule] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, lab_name, virtual_machine_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, virtual_machine_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, virtual_machine_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, virtual_machine_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb index 1da9b9dd59..b625340218 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -60,8 +60,8 @@ def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, t # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -89,7 +89,6 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -147,8 +146,8 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o # # @return [LabVirtualMachine] operation results. # - def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -165,8 +164,8 @@ def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! end # @@ -182,7 +181,7 @@ def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? @@ -191,7 +190,6 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -249,8 +247,8 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni # # @return [LabVirtualMachine] operation results. # - def create_or_update(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! response.body unless response.nil? end @@ -265,9 +263,9 @@ def create_or_update(resource_group_name, lab_name, name, lab_virtual_machine, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -292,8 +290,8 @@ def create_or_update_async(resource_group_name, lab_name, name, lab_virtual_mach # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, lab_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -307,9 +305,9 @@ def delete(resource_group_name, lab_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, lab_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -335,8 +333,8 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [LabVirtualMachine] operation results. # - def update(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:nil) - response = update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:custom_headers).value! + def update(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! response.body unless response.nil? end @@ -352,8 +350,8 @@ def update(resource_group_name, lab_name, name, lab_virtual_machine, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:nil) - update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! end # @@ -368,7 +366,7 @@ def update_with_http_info(resource_group_name, lab_name, name, lab_virtual_machi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:nil) + def update_async(resource_group_name, lab_name, name, lab_virtual_machine, 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, 'lab_name is nil' if lab_name.nil? @@ -378,12 +376,13 @@ def update_async(resource_group_name, lab_name, name, lab_virtual_machine, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment.mapper() request_content = @client.serialize(request_mapper, lab_virtual_machine) @@ -442,8 +441,8 @@ def update_async(resource_group_name, lab_name, name, lab_virtual_machine, custo # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def add_data_disk(resource_group_name, lab_name, name, data_disk_properties, custom_headers:nil) - response = add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers:custom_headers).value! + def add_data_disk(resource_group_name, lab_name, name, data_disk_properties, custom_headers = nil) + response = add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers).value! nil end @@ -459,9 +458,9 @@ def add_data_disk(resource_group_name, lab_name, name, data_disk_properties, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers:nil) + def add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers = nil) # Send request - promise = begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers:custom_headers) + promise = begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -487,8 +486,8 @@ def add_data_disk_async(resource_group_name, lab_name, name, data_disk_propertie # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def apply_artifacts(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers:nil) - response = apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers:custom_headers).value! + def apply_artifacts(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) + response = apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers).value! nil end @@ -504,9 +503,9 @@ def apply_artifacts(resource_group_name, lab_name, name, apply_artifacts_request # @return [Concurrent::Promise] promise which provides async access to http # response. # - def apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers:nil) + def apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) # Send request - promise = begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers:custom_headers) + promise = begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -530,8 +529,8 @@ def apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_r # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def claim(resource_group_name, lab_name, name, custom_headers:nil) - response = claim_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def claim(resource_group_name, lab_name, name, custom_headers = nil) + response = claim_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -545,9 +544,9 @@ def claim(resource_group_name, lab_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def claim_async(resource_group_name, lab_name, name, custom_headers:nil) + def claim_async(resource_group_name, lab_name, name, custom_headers = nil) # Send request - promise = begin_claim_async(resource_group_name, lab_name, name, custom_headers:custom_headers) + promise = begin_claim_async(resource_group_name, lab_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -573,8 +572,8 @@ def claim_async(resource_group_name, lab_name, name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def detach_data_disk(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers:nil) - response = detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers:custom_headers).value! + def detach_data_disk(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers = nil) + response = detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers).value! nil end @@ -590,9 +589,9 @@ def detach_data_disk(resource_group_name, lab_name, name, detach_data_disk_prope # @return [Concurrent::Promise] promise which provides async access to http # response. # - def detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers:nil) + def detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers = nil) # Send request - promise = begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers:custom_headers) + promise = begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -617,8 +616,8 @@ def detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk # # @return [ApplicableSchedule] operation results. # - def list_applicable_schedules(resource_group_name, lab_name, name, custom_headers:nil) - response = list_applicable_schedules_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def list_applicable_schedules(resource_group_name, lab_name, name, custom_headers = nil) + response = list_applicable_schedules_async(resource_group_name, lab_name, name, custom_headers).value! response.body unless response.nil? end @@ -633,8 +632,8 @@ def list_applicable_schedules(resource_group_name, lab_name, name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_applicable_schedules_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - list_applicable_schedules_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def list_applicable_schedules_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + list_applicable_schedules_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -648,7 +647,7 @@ def list_applicable_schedules_with_http_info(resource_group_name, lab_name, name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_applicable_schedules_async(resource_group_name, lab_name, name, custom_headers:nil) + def list_applicable_schedules_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -657,7 +656,6 @@ def list_applicable_schedules_async(resource_group_name, lab_name, name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -711,8 +709,8 @@ def list_applicable_schedules_async(resource_group_name, lab_name, name, custom_ # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, lab_name, name, custom_headers:nil) - response = start_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def start(resource_group_name, lab_name, name, custom_headers = nil) + response = start_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -726,9 +724,9 @@ def start(resource_group_name, lab_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, lab_name, name, custom_headers:nil) + def start_async(resource_group_name, lab_name, name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, lab_name, name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, lab_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -751,8 +749,8 @@ def start_async(resource_group_name, lab_name, name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, lab_name, name, custom_headers:nil) - response = stop_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def stop(resource_group_name, lab_name, name, custom_headers = nil) + response = stop_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -766,9 +764,9 @@ def stop(resource_group_name, lab_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, lab_name, name, custom_headers:nil) + def stop_async(resource_group_name, lab_name, name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, lab_name, name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, lab_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -795,8 +793,8 @@ def stop_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [LabVirtualMachine] operation results. # - def begin_create_or_update(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! response.body unless response.nil? end @@ -813,8 +811,8 @@ def begin_create_or_update(resource_group_name, lab_name, name, lab_virtual_mach # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:nil) - begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! end # @@ -830,7 +828,7 @@ def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, l # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, 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, 'lab_name is nil' if lab_name.nil? @@ -840,12 +838,13 @@ def begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtua request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine.mapper() request_content = @client.serialize(request_mapper, lab_virtual_machine) @@ -912,8 +911,8 @@ def begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtua # will be added to the HTTP request. # # - def begin_delete(resource_group_name, lab_name, name, custom_headers:nil) - response = begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -928,8 +927,8 @@ def begin_delete(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -943,7 +942,7 @@ def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def begin_delete_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -952,7 +951,6 @@ def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1000,8 +998,8 @@ def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_add_data_disk(resource_group_name, lab_name, name, data_disk_properties, custom_headers:nil) - response = begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers:custom_headers).value! + def begin_add_data_disk(resource_group_name, lab_name, name, data_disk_properties, custom_headers = nil) + response = begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers).value! nil end @@ -1019,8 +1017,8 @@ def begin_add_data_disk(resource_group_name, lab_name, name, data_disk_propertie # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_add_data_disk_with_http_info(resource_group_name, lab_name, name, data_disk_properties, custom_headers:nil) - begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers:custom_headers).value! + def begin_add_data_disk_with_http_info(resource_group_name, lab_name, name, data_disk_properties, custom_headers = nil) + begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers).value! end # @@ -1037,7 +1035,7 @@ def begin_add_data_disk_with_http_info(resource_group_name, lab_name, name, data # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers:nil) + def begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, 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, 'lab_name is nil' if lab_name.nil? @@ -1047,12 +1045,13 @@ def begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_pro request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DataDiskProperties.mapper() request_content = @client.serialize(request_mapper, data_disk_properties) @@ -1102,8 +1101,8 @@ def begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_pro # will be added to the HTTP request. # # - def begin_apply_artifacts(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers:nil) - response = begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers:custom_headers).value! + def begin_apply_artifacts(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) + response = begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers).value! nil end @@ -1121,8 +1120,8 @@ def begin_apply_artifacts(resource_group_name, lab_name, name, apply_artifacts_r # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_apply_artifacts_with_http_info(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers:nil) - begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers:custom_headers).value! + def begin_apply_artifacts_with_http_info(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) + begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers).value! end # @@ -1139,7 +1138,7 @@ def begin_apply_artifacts_with_http_info(resource_group_name, lab_name, name, ap # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers:nil) + def begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -1149,12 +1148,13 @@ def begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artif request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ApplyArtifactsRequest.mapper() request_content = @client.serialize(request_mapper, apply_artifacts_request) @@ -1202,8 +1202,8 @@ def begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artif # will be added to the HTTP request. # # - def begin_claim(resource_group_name, lab_name, name, custom_headers:nil) - response = begin_claim_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_claim(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_claim_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -1219,8 +1219,8 @@ def begin_claim(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_claim_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - begin_claim_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_claim_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_claim_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -1235,7 +1235,7 @@ def begin_claim_with_http_info(resource_group_name, lab_name, name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_claim_async(resource_group_name, lab_name, name, custom_headers:nil) + def begin_claim_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -1244,7 +1244,6 @@ def begin_claim_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1292,8 +1291,8 @@ def begin_claim_async(resource_group_name, lab_name, name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_detach_data_disk(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers:nil) - response = begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers:custom_headers).value! + def begin_detach_data_disk(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers = nil) + response = begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers).value! nil end @@ -1311,8 +1310,8 @@ def begin_detach_data_disk(resource_group_name, lab_name, name, detach_data_disk # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_detach_data_disk_with_http_info(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers:nil) - begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers:custom_headers).value! + def begin_detach_data_disk_with_http_info(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers = nil) + begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers).value! end # @@ -1329,7 +1328,7 @@ def begin_detach_data_disk_with_http_info(resource_group_name, lab_name, name, d # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers:nil) + def begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, 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, 'lab_name is nil' if lab_name.nil? @@ -1339,12 +1338,13 @@ def begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_dat request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::DetachDataDiskProperties.mapper() request_content = @client.serialize(request_mapper, detach_data_disk_properties) @@ -1391,8 +1391,8 @@ def begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_dat # will be added to the HTTP request. # # - def begin_start(resource_group_name, lab_name, name, custom_headers:nil) - response = begin_start_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_start_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -1407,8 +1407,8 @@ def begin_start(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - begin_start_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_start_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -1422,7 +1422,7 @@ def begin_start_with_http_info(resource_group_name, lab_name, name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, lab_name, name, custom_headers:nil) + def begin_start_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -1431,7 +1431,6 @@ def begin_start_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1476,8 +1475,8 @@ def begin_start_async(resource_group_name, lab_name, name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_stop(resource_group_name, lab_name, name, custom_headers:nil) - response = begin_stop_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_stop_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -1492,8 +1491,8 @@ def begin_stop(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - begin_stop_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_stop_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -1507,7 +1506,7 @@ def begin_stop_with_http_info(resource_group_name, lab_name, name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, lab_name, name, custom_headers:nil) + def begin_stop_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -1516,7 +1515,6 @@ def begin_stop_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1561,8 +1559,8 @@ def begin_stop_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [ResponseWithContinuationLabVirtualMachine] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1576,8 +1574,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1590,12 +1588,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1657,12 +1654,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationLabVirtualMachine] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb index 5b2408d338..972e4a9684 100644 --- a/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb +++ b/management/azure_mgmt_devtestlabs/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb @@ -38,8 +38,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers) + def list(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) first_page.get_all_items end @@ -60,8 +60,8 @@ def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! end # @@ -81,7 +81,7 @@ def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, t # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) + def list_async(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? @@ -89,7 +89,6 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -147,8 +146,8 @@ def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, o # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! response.body unless response.nil? end @@ -165,8 +164,8 @@ def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) - get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! end # @@ -182,7 +181,7 @@ def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? @@ -191,7 +190,6 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -249,8 +247,8 @@ def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:ni # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, lab_name, name, virtual_network, custom_headers:nil) - response = create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! response.body unless response.nil? end @@ -265,9 +263,9 @@ def create_or_update(resource_group_name, lab_name, name, virtual_network, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers:nil) + def create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -292,8 +290,8 @@ def create_or_update_async(resource_group_name, lab_name, name, virtual_network, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, lab_name, name, custom_headers:nil) - response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -307,9 +305,9 @@ def delete(resource_group_name, lab_name, name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, lab_name, name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -335,8 +333,8 @@ def delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def update(resource_group_name, lab_name, name, virtual_network, custom_headers:nil) - response = update_async(resource_group_name, lab_name, name, virtual_network, custom_headers:custom_headers).value! + def update(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! response.body unless response.nil? end @@ -352,8 +350,8 @@ def update(resource_group_name, lab_name, name, virtual_network, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_with_http_info(resource_group_name, lab_name, name, virtual_network, custom_headers:nil) - update_async(resource_group_name, lab_name, name, virtual_network, custom_headers:custom_headers).value! + def update_with_http_info(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! end # @@ -368,7 +366,7 @@ def update_with_http_info(resource_group_name, lab_name, name, virtual_network, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_async(resource_group_name, lab_name, name, virtual_network, custom_headers:nil) + def update_async(resource_group_name, lab_name, name, virtual_network, 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, 'lab_name is nil' if lab_name.nil? @@ -378,12 +376,13 @@ def update_async(resource_group_name, lab_name, name, virtual_network, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment.mapper() request_content = @client.serialize(request_mapper, virtual_network) @@ -443,8 +442,8 @@ def update_async(resource_group_name, lab_name, name, virtual_network, custom_he # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, lab_name, name, virtual_network, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! response.body unless response.nil? end @@ -461,8 +460,8 @@ def begin_create_or_update(resource_group_name, lab_name, name, virtual_network, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, virtual_network, custom_headers:nil) - begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! end # @@ -478,7 +477,7 @@ def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, v # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, 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, 'lab_name is nil' if lab_name.nil? @@ -488,12 +487,13 @@ def begin_create_or_update_async(resource_group_name, lab_name, name, virtual_ne request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, virtual_network) @@ -560,8 +560,8 @@ def begin_create_or_update_async(resource_group_name, lab_name, name, virtual_ne # will be added to the HTTP request. # # - def begin_delete(resource_group_name, lab_name, name, custom_headers:nil) - response = begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! nil end @@ -576,8 +576,8 @@ def begin_delete(resource_group_name, lab_name, name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil) - begin_delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! end # @@ -591,7 +591,7 @@ def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) + def begin_delete_async(resource_group_name, lab_name, name, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'lab_name is nil' if lab_name.nil? @@ -600,7 +600,6 @@ def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -645,8 +644,8 @@ def begin_delete_async(resource_group_name, lab_name, name, custom_headers:nil) # # @return [ResponseWithContinuationVirtualNetwork] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -660,8 +659,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -674,12 +673,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -741,12 +739,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ResponseWithContinuationVirtualNetwork] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil) - response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs.rb new file mode 100644 index 0000000000..39368d554b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs.rb @@ -0,0 +1,241 @@ +# encoding: 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-09-15/generated/azure_mgmt_devtestlabs/module_definition' +require 'ms_rest_azure' + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + autoload :ProviderOperations, '2018-09-15/generated/azure_mgmt_devtestlabs/provider_operations.rb' + autoload :Labs, '2018-09-15/generated/azure_mgmt_devtestlabs/labs.rb' + autoload :Operations, '2018-09-15/generated/azure_mgmt_devtestlabs/operations.rb' + autoload :GlobalSchedules, '2018-09-15/generated/azure_mgmt_devtestlabs/global_schedules.rb' + autoload :ArtifactSources, '2018-09-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb' + autoload :ArmTemplates, '2018-09-15/generated/azure_mgmt_devtestlabs/arm_templates.rb' + autoload :Artifacts, '2018-09-15/generated/azure_mgmt_devtestlabs/artifacts.rb' + autoload :Costs, '2018-09-15/generated/azure_mgmt_devtestlabs/costs.rb' + autoload :CustomImages, '2018-09-15/generated/azure_mgmt_devtestlabs/custom_images.rb' + autoload :Formulas, '2018-09-15/generated/azure_mgmt_devtestlabs/formulas.rb' + autoload :GalleryImages, '2018-09-15/generated/azure_mgmt_devtestlabs/gallery_images.rb' + autoload :NotificationChannels, '2018-09-15/generated/azure_mgmt_devtestlabs/notification_channels.rb' + autoload :PolicySets, '2018-09-15/generated/azure_mgmt_devtestlabs/policy_sets.rb' + autoload :Policies, '2018-09-15/generated/azure_mgmt_devtestlabs/policies.rb' + autoload :Schedules, '2018-09-15/generated/azure_mgmt_devtestlabs/schedules.rb' + autoload :ServiceRunners, '2018-09-15/generated/azure_mgmt_devtestlabs/service_runners.rb' + autoload :Users, '2018-09-15/generated/azure_mgmt_devtestlabs/users.rb' + autoload :Disks, '2018-09-15/generated/azure_mgmt_devtestlabs/disks.rb' + autoload :Environments, '2018-09-15/generated/azure_mgmt_devtestlabs/environments.rb' + autoload :Secrets, '2018-09-15/generated/azure_mgmt_devtestlabs/secrets.rb' + autoload :ServiceFabrics, '2018-09-15/generated/azure_mgmt_devtestlabs/service_fabrics.rb' + autoload :ServiceFabricSchedules, '2018-09-15/generated/azure_mgmt_devtestlabs/service_fabric_schedules.rb' + autoload :VirtualMachines, '2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb' + autoload :VirtualMachineSchedules, '2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb' + autoload :VirtualNetworks, '2018-09-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb' + autoload :DevTestLabsClient, '2018-09-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb' + + module Models + autoload :SharedPublicIpAddressConfiguration, '2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb' + autoload :WeekDetails, '2018-09-15/generated/azure_mgmt_devtestlabs/models/week_details.rb' + autoload :NetworkInterfaceProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb' + autoload :HourDetails, '2018-09-15/generated/azure_mgmt_devtestlabs/models/hour_details.rb' + autoload :ScheduleCreationParameter, '2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_creation_parameter.rb' + autoload :EnvironmentDeploymentPropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties_fragment.rb' + autoload :VirtualNetworkList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network_list.rb' + autoload :Subnet, '2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet.rb' + autoload :DayDetailsFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb' + autoload :DtlEnvironmentList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment_list.rb' + autoload :NotificationSettingsFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb' + autoload :EvaluatePoliciesProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb' + autoload :UserSecretStoreFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb' + autoload :EvaluatePoliciesRequest, '2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb' + autoload :ArtifactInstallProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb' + autoload :PolicyViolation, '2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_violation.rb' + autoload :ParametersValueFileInfo, '2018-09-15/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb' + autoload :PolicySetResult, '2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb' + autoload :ArmTemplateInfo, '2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb' + autoload :EvaluatePoliciesResponse, '2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb' + autoload :ArmTemplateParameterProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb' + autoload :Event, '2018-09-15/generated/azure_mgmt_devtestlabs/models/event.rb' + autoload :UserSecretStore, '2018-09-15/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb' + autoload :EventFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/event_fragment.rb' + autoload :ArtifactDeploymentStatusPropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb' + autoload :ExportResourceUsageParameters, '2018-09-15/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb' + autoload :ArtifactInstallPropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb' + autoload :ExternalSubnet, '2018-09-15/generated/azure_mgmt_devtestlabs/models/external_subnet.rb' + autoload :UserIdentity, '2018-09-15/generated/azure_mgmt_devtestlabs/models/user_identity.rb' + autoload :ExternalSubnetFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb' + autoload :ArtifactSourceList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source_list.rb' + autoload :GalleryImageReference, '2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb' + autoload :AttachNewDataDiskOptions, '2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb' + autoload :InboundNatRule, '2018-09-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb' + autoload :BulkCreationParameters, '2018-09-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb' + autoload :DayDetails, '2018-09-15/generated/azure_mgmt_devtestlabs/models/day_details.rb' + autoload :NotificationSettings, '2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_settings.rb' + autoload :ComputeDataDisk, '2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb' + autoload :ShutdownNotificationContent, '2018-09-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb' + autoload :ComputeVmInstanceViewStatus, '2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb' + autoload :LabVirtualMachineCreationParameter, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb' + autoload :ComputeVmProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb' + autoload :FormulaPropertiesFromVm, '2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb' + autoload :PercentageCostThresholdProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb' + autoload :ServiceRunnerList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner_list.rb' + autoload :WindowsOsInfo, '2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb' + autoload :GalleryImageReferenceFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb' + autoload :CustomImagePropertiesFromVm, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb' + autoload :InboundNatRuleFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb' + autoload :DataDiskStorageTypeInfo, '2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info.rb' + autoload :SharedPublicIpAddressConfigurationFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb' + autoload :SubnetOverrideFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb' + autoload :NetworkInterfacePropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb' + autoload :LinuxOsInfoFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_info_fragment.rb' + autoload :ScheduleCreationParameterFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_creation_parameter_fragment.rb' + autoload :CustomImagePropertiesCustomFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom_fragment.rb' + autoload :LabVirtualMachineCreationParameterFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter_fragment.rb' + autoload :CustomImagePropertiesFromPlanFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_plan_fragment.rb' + autoload :FormulaPropertiesFromVmFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm_fragment.rb' + autoload :CustomImageList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_list.rb' + autoload :ServiceFabricList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_list.rb' + autoload :DataDiskPropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties_fragment.rb' + autoload :FormulaList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_list.rb' + autoload :DetachDiskProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb' + autoload :SecretList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/secret_list.rb' + autoload :SubnetSharedPublicIpAddressConfiguration, '2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb' + autoload :GalleryImageList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_list.rb' + autoload :EnvironmentDeploymentProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb' + autoload :ParameterInfo, '2018-09-15/generated/azure_mgmt_devtestlabs/models/parameter_info.rb' + autoload :WeekDetailsFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb' + autoload :GenerateArmTemplateRequest, '2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb' + autoload :UserList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/user_list.rb' + autoload :GenerateUploadUriParameter, '2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb' + autoload :ApplyArtifactsRequest, '2018-09-15/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb' + autoload :GenerateUploadUriResponse, '2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb' + autoload :ArmTemplateList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_list.rb' + autoload :IdentityProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb' + autoload :ArtifactDeploymentStatusProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb' + autoload :ImportLabVirtualMachineRequest, '2018-09-15/generated/azure_mgmt_devtestlabs/models/import_lab_virtual_machine_request.rb' + autoload :ArtifactList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_list.rb' + autoload :LabAnnouncementProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties.rb' + autoload :AttachDiskProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb' + autoload :LabSupportProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_support_properties.rb' + autoload :BulkCreationParametersFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters_fragment.rb' + autoload :ScheduleList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_list.rb' + autoload :ComputeDataDiskFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb' + autoload :LabAnnouncementPropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties_fragment.rb' + autoload :ComputeVmPropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb' + autoload :TargetCostProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb' + autoload :LinuxOsInfo, '2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb' + autoload :LabCostSummaryProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb' + autoload :CustomImagePropertiesFromPlan, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_plan.rb' + autoload :LabCostDetailsProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb' + autoload :CustomImagePropertiesFromVmFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm_fragment.rb' + autoload :LabResourceCostProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb' + autoload :SubnetSharedPublicIpAddressConfigurationFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb' + autoload :RetargetScheduleProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb' + autoload :DetachDataDiskProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb' + autoload :LabSupportPropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_support_properties_fragment.rb' + autoload :DiskList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_list.rb' + autoload :Resource, '2018-09-15/generated/azure_mgmt_devtestlabs/models/resource.rb' + autoload :HourDetailsFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb' + autoload :LabList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_list.rb' + autoload :UserIdentityFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb' + autoload :LabVhd, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb' + autoload :ArtifactParameterPropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb' + autoload :LabVhdList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_vhd_list.rb' + autoload :AttachNewDataDiskOptionsFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options_fragment.rb' + autoload :ResizeLabVirtualMachineProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/resize_lab_virtual_machine_properties.rb' + autoload :ComputeVmInstanceViewStatusFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb' + autoload :RdpConnection, '2018-09-15/generated/azure_mgmt_devtestlabs/models/rdp_connection.rb' + autoload :CustomImagePropertiesCustom, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb' + autoload :LabVirtualMachineList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_list.rb' + autoload :DataDiskStorageTypeInfoFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info_fragment.rb' + autoload :ProviderOperationResult, '2018-09-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb' + autoload :SubnetOverride, '2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_override.rb' + autoload :PortFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/port_fragment.rb' + autoload :ArtifactParameterProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb' + autoload :NotificationChannelList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_list.rb' + autoload :UpdateResource, '2018-09-15/generated/azure_mgmt_devtestlabs/models/update_resource.rb' + autoload :NotifyParameters, '2018-09-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb' + autoload :CostThresholdProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb' + autoload :OperationError, '2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb' + autoload :DataDiskProperties, '2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb' + autoload :OperationMetadataDisplay, '2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_display.rb' + autoload :ArmTemplateParameterPropertiesFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties_fragment.rb' + autoload :OperationMetadata, '2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.rb' + autoload :WindowsOsInfoFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_info_fragment.rb' + autoload :OperationResult, '2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_result.rb' + autoload :Port, '2018-09-15/generated/azure_mgmt_devtestlabs/models/port.rb' + autoload :SubnetFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb' + autoload :PolicyList, '2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_list.rb' + autoload :Schedule, '2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule.rb' + autoload :ApplicableSchedule, '2018-09-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb' + autoload :ScheduleFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb' + autoload :ApplicableScheduleFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb' + autoload :ArmTemplate, '2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template.rb' + autoload :Artifact, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact.rb' + autoload :ArtifactSource, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb' + autoload :ArtifactSourceFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb' + autoload :CustomImage, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb' + autoload :CustomImageFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_fragment.rb' + autoload :Disk, '2018-09-15/generated/azure_mgmt_devtestlabs/models/disk.rb' + autoload :DiskFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_fragment.rb' + autoload :DtlEnvironment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb' + autoload :DtlEnvironmentFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment_fragment.rb' + autoload :Formula, '2018-09-15/generated/azure_mgmt_devtestlabs/models/formula.rb' + autoload :FormulaFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_fragment.rb' + autoload :GalleryImage, '2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image.rb' + autoload :Lab, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab.rb' + autoload :LabCost, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost.rb' + autoload :LabFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb' + autoload :LabVirtualMachine, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb' + autoload :LabVirtualMachineFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb' + autoload :NotificationChannel, '2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel.rb' + autoload :NotificationChannelFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb' + autoload :Policy, '2018-09-15/generated/azure_mgmt_devtestlabs/models/policy.rb' + autoload :PolicyFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb' + autoload :Secret, '2018-09-15/generated/azure_mgmt_devtestlabs/models/secret.rb' + autoload :SecretFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/secret_fragment.rb' + autoload :ServiceFabric, '2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric.rb' + autoload :ServiceFabricFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_fragment.rb' + autoload :ServiceRunner, '2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner.rb' + autoload :User, '2018-09-15/generated/azure_mgmt_devtestlabs/models/user.rb' + autoload :UserFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/user_fragment.rb' + autoload :VirtualNetwork, '2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network.rb' + autoload :VirtualNetworkFragment, '2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb' + autoload :EnableStatus, '2018-09-15/generated/azure_mgmt_devtestlabs/models/enable_status.rb' + autoload :SourceControlType, '2018-09-15/generated/azure_mgmt_devtestlabs/models/source_control_type.rb' + autoload :StorageType, '2018-09-15/generated/azure_mgmt_devtestlabs/models/storage_type.rb' + autoload :CostThresholdStatus, '2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_status.rb' + autoload :WindowsOsState, '2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_state.rb' + autoload :LinuxOsState, '2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb' + autoload :CustomImageOsType, '2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb' + autoload :HostCachingOptions, '2018-09-15/generated/azure_mgmt_devtestlabs/models/host_caching_options.rb' + autoload :NotificationChannelEventType, '2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_event_type.rb' + autoload :TransportProtocol, '2018-09-15/generated/azure_mgmt_devtestlabs/models/transport_protocol.rb' + autoload :VirtualMachineCreationSource, '2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.rb' + autoload :FileUploadOptions, '2018-09-15/generated/azure_mgmt_devtestlabs/models/file_upload_options.rb' + autoload :PremiumDataDisk, '2018-09-15/generated/azure_mgmt_devtestlabs/models/premium_data_disk.rb' + autoload :EnvironmentPermission, '2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_permission.rb' + autoload :TargetCostStatus, '2018-09-15/generated/azure_mgmt_devtestlabs/models/target_cost_status.rb' + autoload :ReportingCycleType, '2018-09-15/generated/azure_mgmt_devtestlabs/models/reporting_cycle_type.rb' + autoload :CostType, '2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_type.rb' + autoload :HttpStatusCode, '2018-09-15/generated/azure_mgmt_devtestlabs/models/http_status_code.rb' + autoload :PolicyStatus, '2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_status.rb' + autoload :PolicyFactName, '2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb' + autoload :PolicyEvaluatorType, '2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb' + autoload :UsagePermissionType, '2018-09-15/generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb' + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/arm_templates.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/arm_templates.rb new file mode 100644 index 0000000000..a86caf2bf5 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/arm_templates.rb @@ -0,0 +1,366 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class ArmTemplates + include MsRestAzure + + # + # Creates and initializes a new instance of the ArmTemplates class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List azure resource manager templates in a given artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List azure resource manager templates in a given artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List azure resource manager templates in a given artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'artifact_source_name is nil' if artifact_source_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.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates' + + 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,'labName' => lab_name,'artifactSourceName' => artifact_source_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ArmTemplateList.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 azure resource manager template. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param name [String] The name of the azure Resource Manager template. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ArmTemplate] operation results. + # + def get(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get azure resource manager template. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param name [String] The name of the azure Resource Manager template. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value! + end + + # + # Get azure resource manager template. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param name [String] The name of the azure Resource Manager template. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, artifact_source_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'artifact_source_name is nil' if artifact_source_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/armtemplates/{name}' + + 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,'labName' => lab_name,'artifactSourceName' => artifact_source_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ArmTemplate.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 azure resource manager templates in a given artifact source. + # + # @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 [ArmTemplateList] 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 + + # + # List azure resource manager templates in a given artifact source. + # + # @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 + + # + # List azure resource manager templates in a given artifact source. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::ArmTemplateList.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 azure resource manager templates in a given artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ArmTemplateList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb new file mode 100644 index 0000000000..0b99026284 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb @@ -0,0 +1,671 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class ArtifactSources + include MsRestAzure + + # + # Creates and initializes a new instance of the ArtifactSources class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List artifact sources in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List artifact sources in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List artifact sources in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/artifactsources' + + 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,'labName' => lab_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSourceList.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 artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ArtifactSource] operation results. + # + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + end + + # + # Get artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/artifactsources/{name}' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSource.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 replace an existing artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param artifact_source [ArtifactSource] Properties of an artifact source. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ArtifactSource] operation results. + # + def create_or_update(resource_group_name, lab_name, name, artifact_source, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param artifact_source [ArtifactSource] Properties of an artifact source. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def create_or_update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value! + end + + # + # Create or replace an existing artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param artifact_source [ArtifactSource] Properties of an artifact source. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def create_or_update_async(resource_group_name, lab_name, name, artifact_source, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'artifact_source is nil' if artifact_source.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::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSource.mapper() + request_content = @client.serialize(request_mapper, artifact_source) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSource.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSource.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Delete artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Delete artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/artifactsources/{name}' + + 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,'labName' => lab_name,'name' => 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 == 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 + + # + # Modify properties of artifact sources. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param artifact_source [ArtifactSourceFragment] Properties of an artifact + # source. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ArtifactSource] operation results. + # + def update(resource_group_name, lab_name, name, artifact_source, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of artifact sources. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param artifact_source [ArtifactSourceFragment] Properties of an artifact + # source. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers = nil) + update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value! + end + + # + # Modify properties of artifact sources. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the artifact source. + # @param artifact_source [ArtifactSourceFragment] Properties of an artifact + # source. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, name, artifact_source, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'artifact_source is nil' if artifact_source.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::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSourceFragment.mapper() + request_content = @client.serialize(request_mapper, artifact_source) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{name}' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSource.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 artifact sources in a given lab. + # + # @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 [ArtifactSourceList] 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 + + # + # List artifact sources in a given lab. + # + # @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 + + # + # List artifact sources in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactSourceList.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 artifact sources in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=displayName)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ArtifactSourceList] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifacts.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifacts.rb new file mode 100644 index 0000000000..4104e9291e --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifacts.rb @@ -0,0 +1,484 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Artifacts + include MsRestAzure + + # + # Creates and initializes a new instance of the Artifacts class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List artifacts in a given artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=title)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List artifacts in a given artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=title)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List artifacts in a given artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=title)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'artifact_source_name is nil' if artifact_source_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.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts' + + 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,'labName' => lab_name,'artifactSourceName' => artifact_source_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactList.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 artifact. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param name [String] The name of the artifact. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=title)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Artifact] operation results. + # + def get(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get artifact. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param name [String] The name of the artifact. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=title)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value! + end + + # + # Get artifact. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param name [String] The name of the artifact. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=title)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, artifact_source_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'artifact_source_name is nil' if artifact_source_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}' + + 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,'labName' => lab_name,'artifactSourceName' => artifact_source_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Artifact.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 + + # + # Generates an ARM template for the given artifact, uploads the required files + # to a storage account, and validates the generated artifact. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param name [String] The name of the artifact. + # @param generate_arm_template_request [GenerateArmTemplateRequest] Parameters + # for generating an ARM template for deploying artifacts. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ArmTemplateInfo] operation results. + # + def generate_arm_template(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers = nil) + response = generate_arm_template_async(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers).value! + response.body unless response.nil? + end + + # + # Generates an ARM template for the given artifact, uploads the required files + # to a storage account, and validates the generated artifact. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param name [String] The name of the artifact. + # @param generate_arm_template_request [GenerateArmTemplateRequest] Parameters + # for generating an ARM template for deploying artifacts. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def generate_arm_template_with_http_info(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers = nil) + generate_arm_template_async(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers).value! + end + + # + # Generates an ARM template for the given artifact, uploads the required files + # to a storage account, and validates the generated artifact. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param name [String] The name of the artifact. + # @param generate_arm_template_request [GenerateArmTemplateRequest] Parameters + # for generating an ARM template for deploying artifacts. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def generate_arm_template_async(resource_group_name, lab_name, artifact_source_name, name, generate_arm_template_request, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'artifact_source_name is nil' if artifact_source_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'generate_arm_template_request is nil' if generate_arm_template_request.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::GenerateArmTemplateRequest.mapper() + request_content = @client.serialize(request_mapper, generate_arm_template_request) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/artifactsources/{artifactSourceName}/artifacts/{name}/generateArmTemplate' + + 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,'labName' => lab_name,'artifactSourceName' => artifact_source_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::ArmTemplateInfo.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 artifacts in a given artifact source. + # + # @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 [ArtifactList] 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 + + # + # List artifacts in a given artifact source. + # + # @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 + + # + # List artifacts in a given artifact source. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::ArtifactList.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 artifacts in a given artifact source. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param artifact_source_name [String] The name of the artifact source. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=title)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ArtifactList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/costs.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/costs.rb new file mode 100644 index 0000000000..98b8368c6c --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/costs.rb @@ -0,0 +1,244 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Costs + include MsRestAzure + + # + # Creates and initializes a new instance of the Costs class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # Get cost. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the cost. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=labCostDetails)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabCost] operation results. + # + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get cost. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the cost. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=labCostDetails)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + end + + # + # Get cost. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the cost. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=labCostDetails)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/costs/{name}' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::LabCost.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 replace an existing cost. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the cost. + # @param lab_cost [LabCost] A cost item. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabCost] operation results. + # + def create_or_update(resource_group_name, lab_name, name, lab_cost, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, lab_cost, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing cost. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the cost. + # @param lab_cost [LabCost] A cost item. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def create_or_update_with_http_info(resource_group_name, lab_name, name, lab_cost, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, lab_cost, custom_headers).value! + end + + # + # Create or replace an existing cost. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the cost. + # @param lab_cost [LabCost] A cost item. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def create_or_update_async(resource_group_name, lab_name, name, lab_cost, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'lab_cost is nil' if lab_cost.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::DevTestLabs::Mgmt::V2018_09_15::Models::LabCost.mapper() + request_content = @client.serialize(request_mapper, lab_cost) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::LabCost.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::LabCost.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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/custom_images.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/custom_images.rb new file mode 100644 index 0000000000..1e5c4f81b8 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/custom_images.rb @@ -0,0 +1,757 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class CustomImages + include MsRestAzure + + # + # Creates and initializes a new instance of the CustomImages class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List custom images in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=vm)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List custom images in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=vm)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List custom images in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=vm)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/customimages' + + 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,'labName' => lab_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImageList.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 custom image. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=vm)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [CustomImage] operation results. + # + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get custom image. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=vm)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + end + + # + # Get custom image. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=vm)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/customimages/{name}' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImage.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 replace an existing custom image. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_image [CustomImage] A custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [CustomImage] operation results. + # + def create_or_update(resource_group_name, lab_name, name, custom_image, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_image [CustomImage] A custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImage.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete custom image. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, lab_name, 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 + + # + # Modify properties of custom images. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_image [CustomImageFragment] A custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [CustomImage] operation results. + # + def update(resource_group_name, lab_name, name, custom_image, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, custom_image, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of custom images. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_image [CustomImageFragment] A custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, name, custom_image, custom_headers = nil) + update_async(resource_group_name, lab_name, name, custom_image, custom_headers).value! + end + + # + # Modify properties of custom images. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_image [CustomImageFragment] A custom image. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, name, custom_image, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'custom_image is nil' if custom_image.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::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImageFragment.mapper() + request_content = @client.serialize(request_mapper, custom_image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImage.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 replace an existing custom image. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_image [CustomImage] A custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [CustomImage] operation results. + # + def begin_create_or_update(resource_group_name, lab_name, name, custom_image, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing custom image. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_image [CustomImage] A custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, custom_image, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, custom_headers).value! + end + + # + # Create or replace an existing custom image. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_image [CustomImage] A custom image. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, lab_name, name, custom_image, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'custom_image is nil' if custom_image.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::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImage.mapper() + request_content = @client.serialize(request_mapper, custom_image) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/customimages/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImage.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImage.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete custom image. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Delete custom image. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Delete custom image. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the custom image. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_delete_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/customimages/{name}' + + 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,'labName' => lab_name,'name' => 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 custom images in a given lab. + # + # @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 [CustomImageList] 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 + + # + # List custom images in a given lab. + # + # @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 + + # + # List custom images in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImageList.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 custom images in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=vm)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [CustomImageList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb new file mode 100644 index 0000000000..40a2a6ba69 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.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::DevTestLabs::Mgmt::V2018_09_15 + # + # A service client - single point of access to the REST API. + # + class DevTestLabsClient < 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] Client 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 [ProviderOperations] provider_operations + attr_reader :provider_operations + + # @return [Labs] labs + attr_reader :labs + + # @return [Operations] operations + attr_reader :operations + + # @return [GlobalSchedules] global_schedules + attr_reader :global_schedules + + # @return [ArtifactSources] artifact_sources + attr_reader :artifact_sources + + # @return [ArmTemplates] arm_templates + attr_reader :arm_templates + + # @return [Artifacts] artifacts + attr_reader :artifacts + + # @return [Costs] costs + attr_reader :costs + + # @return [CustomImages] custom_images + attr_reader :custom_images + + # @return [Formulas] formulas + attr_reader :formulas + + # @return [GalleryImages] gallery_images + attr_reader :gallery_images + + # @return [NotificationChannels] notification_channels + attr_reader :notification_channels + + # @return [PolicySets] policy_sets + attr_reader :policy_sets + + # @return [Policies] policies + attr_reader :policies + + # @return [Schedules] schedules + attr_reader :schedules + + # @return [ServiceRunners] service_runners + attr_reader :service_runners + + # @return [Users] users + attr_reader :users + + # @return [Disks] disks + attr_reader :disks + + # @return [Environments] environments + attr_reader :environments + + # @return [Secrets] secrets + attr_reader :secrets + + # @return [ServiceFabrics] service_fabrics + attr_reader :service_fabrics + + # @return [ServiceFabricSchedules] service_fabric_schedules + attr_reader :service_fabric_schedules + + # @return [VirtualMachines] virtual_machines + attr_reader :virtual_machines + + # @return [VirtualMachineSchedules] virtual_machine_schedules + attr_reader :virtual_machine_schedules + + # @return [VirtualNetworks] virtual_networks + attr_reader :virtual_networks + + # + # Creates initializes a new instance of the DevTestLabsClient 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 + + @provider_operations = ProviderOperations.new(self) + @labs = Labs.new(self) + @operations = Operations.new(self) + @global_schedules = GlobalSchedules.new(self) + @artifact_sources = ArtifactSources.new(self) + @arm_templates = ArmTemplates.new(self) + @artifacts = Artifacts.new(self) + @costs = Costs.new(self) + @custom_images = CustomImages.new(self) + @formulas = Formulas.new(self) + @gallery_images = GalleryImages.new(self) + @notification_channels = NotificationChannels.new(self) + @policy_sets = PolicySets.new(self) + @policies = Policies.new(self) + @schedules = Schedules.new(self) + @service_runners = ServiceRunners.new(self) + @users = Users.new(self) + @disks = Disks.new(self) + @environments = Environments.new(self) + @secrets = Secrets.new(self) + @service_fabrics = ServiceFabrics.new(self) + @service_fabric_schedules = ServiceFabricSchedules.new(self) + @virtual_machines = VirtualMachines.new(self) + @virtual_machine_schedules = VirtualMachineSchedules.new(self) + @virtual_networks = VirtualNetworks.new(self) + @api_version = '2018-09-15' + @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_devtestlabs' + if defined? Azure::DevTestLabs::Mgmt::V2018_09_15::VERSION + sdk_information = "#{sdk_information}/#{Azure::DevTestLabs::Mgmt::V2018_09_15::VERSION}" + end + add_user_agent_information(sdk_information) + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/disks.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/disks.rb new file mode 100644 index 0000000000..0f775157b4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/disks.rb @@ -0,0 +1,1090 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Disks + include MsRestAzure + + # + # Creates and initializes a new instance of the Disks class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List disks in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=diskType)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List disks in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=diskType)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List disks in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=diskType)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_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.DevTestLab/labs/{labName}/users/{userName}/disks' + + 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,'labName' => lab_name,'userName' => user_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::DiskList.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 disk. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=diskType)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Disk] operation results. + # + def get(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get disk. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=diskType)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! + end + + # + # Get disk. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=diskType)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, user_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/disks/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Disk.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 replace an existing disk. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param disk [Disk] A Disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Disk] operation results. + # + def create_or_update(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param disk [Disk] A Disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Disk.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete disk. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, lab_name, user_name, 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 + + # + # Modify properties of disks. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param disk [DiskFragment] A Disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Disk] operation results. + # + def update(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + response = update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of disks. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param disk [DiskFragment] A Disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers).value! + end + + # + # Modify properties of disks. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param disk [DiskFragment] A Disk. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'disk is nil' if disk.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::DevTestLabs::Mgmt::V2018_09_15::Models::DiskFragment.mapper() + request_content = @client.serialize(request_mapper, disk) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::Disk.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 + + # + # Attach and create the lease of the disk to the virtual machine. This + # operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param attach_disk_properties [AttachDiskProperties] Properties of the disk + # to attach. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def attach(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers = nil) + response = attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param attach_disk_properties [AttachDiskProperties] Properties of the disk + # to attach. + # @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 attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers = nil) + # Send request + promise = begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, 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 + + # + # Detach and break the lease of the disk attached to the virtual machine. This + # operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param detach_disk_properties [DetachDiskProperties] Properties of the disk + # to detach. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def detach(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers = nil) + response = detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param detach_disk_properties [DetachDiskProperties] Properties of the disk + # to detach. + # @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 detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers = nil) + # Send request + promise = begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, 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 replace an existing disk. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param disk [Disk] A Disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Disk] operation results. + # + def begin_create_or_update(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing disk. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param disk [Disk] A Disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers).value! + end + + # + # Create or replace an existing disk. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param disk [Disk] A Disk. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, disk, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'disk is nil' if disk.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::DevTestLabs::Mgmt::V2018_09_15::Models::Disk.mapper() + request_content = @client.serialize(request_mapper, disk) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Disk.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Disk.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete disk. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # Delete disk. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + end + + # + # Delete disk. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/disks/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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 + + # + # Attach and create the lease of the disk to the virtual machine. This + # operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param attach_disk_properties [AttachDiskProperties] Properties of the disk + # to attach. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_attach(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers = nil) + response = begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers).value! + nil + end + + # + # Attach and create the lease of the disk to the virtual machine. This + # operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param attach_disk_properties [AttachDiskProperties] Properties of the disk + # to attach. + # @param custom_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_attach_with_http_info(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers = nil) + begin_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, custom_headers).value! + end + + # + # Attach and create the lease of the disk to the virtual machine. This + # operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param attach_disk_properties [AttachDiskProperties] Properties of the disk + # to attach. + # @param [Hash{String => String}] 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_attach_async(resource_group_name, lab_name, user_name, name, attach_disk_properties, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'attach_disk_properties is nil' if attach_disk_properties.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::DevTestLabs::Mgmt::V2018_09_15::Models::AttachDiskProperties.mapper() + request_content = @client.serialize(request_mapper, attach_disk_properties) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/attach' + + 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,'labName' => lab_name,'userName' => user_name,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Detach and break the lease of the disk attached to the virtual machine. This + # operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param detach_disk_properties [DetachDiskProperties] Properties of the disk + # to detach. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_detach(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers = nil) + response = begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers).value! + nil + end + + # + # Detach and break the lease of the disk attached to the virtual machine. This + # operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param detach_disk_properties [DetachDiskProperties] Properties of the disk + # to detach. + # @param custom_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_detach_with_http_info(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers = nil) + begin_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, custom_headers).value! + end + + # + # Detach and break the lease of the disk attached to the virtual machine. This + # operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the disk. + # @param detach_disk_properties [DetachDiskProperties] Properties of the disk + # to detach. + # @param [Hash{String => String}] 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_detach_async(resource_group_name, lab_name, user_name, name, detach_disk_properties, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'detach_disk_properties is nil' if detach_disk_properties.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::DevTestLabs::Mgmt::V2018_09_15::Models::DetachDiskProperties.mapper() + request_content = @client.serialize(request_mapper, detach_disk_properties) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/disks/{name}/detach' + + 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,'labName' => lab_name,'userName' => user_name,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List disks in a given user profile. + # + # @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 [DiskList] 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 + + # + # List disks in a given user profile. + # + # @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 + + # + # List disks in a given user profile. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::DiskList.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 disks in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=diskType)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DiskList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/environments.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/environments.rb new file mode 100644 index 0000000000..3f08fc7932 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/environments.rb @@ -0,0 +1,791 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Environments + include MsRestAzure + + # + # Creates and initializes a new instance of the Environments class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List environments in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=deploymentProperties)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List environments in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=deploymentProperties)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List environments in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=deploymentProperties)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_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.DevTestLab/labs/{labName}/users/{userName}/environments' + + 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,'labName' => lab_name,'userName' => user_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::DtlEnvironmentList.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 environment. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=deploymentProperties)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DtlEnvironment] operation results. + # + def get(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get environment. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=deploymentProperties)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! + end + + # + # Get environment. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=deploymentProperties)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, user_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/environments/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::DtlEnvironment.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 replace an existing environment. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param dtl_environment [DtlEnvironment] An environment, which is essentially + # an ARM template deployment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DtlEnvironment] operation results. + # + def create_or_update(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param dtl_environment [DtlEnvironment] An environment, which is essentially + # an ARM template deployment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::DtlEnvironment.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete environment. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, lab_name, user_name, 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 + + # + # Modify properties of environments. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param dtl_environment [DtlEnvironmentFragment] An environment, which is + # essentially an ARM template deployment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DtlEnvironment] operation results. + # + def update(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) + response = update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of environments. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param dtl_environment [DtlEnvironmentFragment] An environment, which is + # essentially an ARM template deployment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) + update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers).value! + end + + # + # Modify properties of environments. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param dtl_environment [DtlEnvironmentFragment] An environment, which is + # essentially an ARM template deployment. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, user_name, name, dtl_environment, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'dtl_environment is nil' if dtl_environment.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::DevTestLabs::Mgmt::V2018_09_15::Models::DtlEnvironmentFragment.mapper() + request_content = @client.serialize(request_mapper, dtl_environment) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::DtlEnvironment.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 replace an existing environment. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param dtl_environment [DtlEnvironment] An environment, which is essentially + # an ARM template deployment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DtlEnvironment] operation results. + # + def begin_create_or_update(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing environment. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param dtl_environment [DtlEnvironment] An environment, which is essentially + # an ARM template deployment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, custom_headers).value! + end + + # + # Create or replace an existing environment. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param dtl_environment [DtlEnvironment] An environment, which is essentially + # an ARM template deployment. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, dtl_environment, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'dtl_environment is nil' if dtl_environment.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::DevTestLabs::Mgmt::V2018_09_15::Models::DtlEnvironment.mapper() + request_content = @client.serialize(request_mapper, dtl_environment) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/environments/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::DtlEnvironment.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::DtlEnvironment.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete environment. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # Delete environment. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + end + + # + # Delete environment. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the environment. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/environments/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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 environments in a given user profile. + # + # @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 [DtlEnvironmentList] 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 + + # + # List environments in a given user profile. + # + # @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 + + # + # List environments in a given user profile. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::DtlEnvironmentList.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 environments in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=deploymentProperties)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [DtlEnvironmentList] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/formulas.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/formulas.rb new file mode 100644 index 0000000000..c8c56e794d --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/formulas.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::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Formulas + include MsRestAzure + + # + # Creates and initializes a new instance of the Formulas class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List formulas in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List formulas in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List formulas in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/formulas' + + 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,'labName' => lab_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::FormulaList.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 formula. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Formula] operation results. + # + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get formula. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + end + + # + # Get formula. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/formulas/{name}' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Formula.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 replace an existing Formula. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param formula [Formula] A formula for creating a VM, specifying an image + # base and other parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Formula] operation results. + # + def create_or_update(resource_group_name, lab_name, name, formula, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param formula [Formula] A formula for creating a VM, specifying an image + # base and other parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Formula.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete formula. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Delete formula. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Delete formula. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/formulas/{name}' + + 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,'labName' => lab_name,'name' => 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 == 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 + + # + # Modify properties of formulas. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param formula [FormulaFragment] A formula for creating a VM, specifying an + # image base and other parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Formula] operation results. + # + def update(resource_group_name, lab_name, name, formula, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, formula, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of formulas. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param formula [FormulaFragment] A formula for creating a VM, specifying an + # image base and other parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, name, formula, custom_headers = nil) + update_async(resource_group_name, lab_name, name, formula, custom_headers).value! + end + + # + # Modify properties of formulas. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param formula [FormulaFragment] A formula for creating a VM, specifying an + # image base and other parameters + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, name, formula, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'formula is nil' if formula.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::DevTestLabs::Mgmt::V2018_09_15::Models::FormulaFragment.mapper() + request_content = @client.serialize(request_mapper, formula) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::Formula.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 replace an existing Formula. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param formula [Formula] A formula for creating a VM, specifying an image + # base and other parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Formula] operation results. + # + def begin_create_or_update(resource_group_name, lab_name, name, formula, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing Formula. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param formula [Formula] A formula for creating a VM, specifying an image + # base and other parameters + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, formula, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, name, formula, custom_headers).value! + end + + # + # Create or replace an existing Formula. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the formula. + # @param formula [Formula] A formula for creating a VM, specifying an image + # base and other parameters + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, lab_name, name, formula, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'formula is nil' if formula.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::DevTestLabs::Mgmt::V2018_09_15::Models::Formula.mapper() + request_content = @client.serialize(request_mapper, formula) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/formulas/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Formula.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Formula.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 formulas in a given lab. + # + # @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 [FormulaList] 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 + + # + # List formulas in a given lab. + # + # @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 + + # + # List formulas in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::FormulaList.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 formulas in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [FormulaList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/gallery_images.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/gallery_images.rb new file mode 100644 index 0000000000..eb0e9473e9 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/gallery_images.rb @@ -0,0 +1,257 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class GalleryImages + include MsRestAzure + + # + # Creates and initializes a new instance of the GalleryImages class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List gallery images in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=author)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List gallery images in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=author)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List gallery images in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=author)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/galleryimages' + + 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,'labName' => lab_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::GalleryImageList.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 gallery images in a given lab. + # + # @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 [GalleryImageList] 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 + + # + # List gallery images in a given lab. + # + # @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 + + # + # List gallery images in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::GalleryImageList.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 gallery images in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=author)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [GalleryImageList] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/global_schedules.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/global_schedules.rb new file mode 100644 index 0000000000..2894415bcf --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/global_schedules.rb @@ -0,0 +1,1127 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class GlobalSchedules + include MsRestAzure + + # + # Creates and initializes a new instance of the GlobalSchedules class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List schedules in a subscription. + # + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_by_subscription_as_lazy(expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List schedules in a subscription. + # + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_by_subscription_async(expand, filter, top, orderby, custom_headers).value! + end + + # + # List schedules in a subscription. + # + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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, filter = nil, top = nil, orderby = 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.DevTestLab/schedules' + + 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: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedules in a resource group. + # + # @param resource_group_name [String] The name of the resource group. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List schedules in a resource group. + # + # @param resource_group_name [String] The name of the resource group. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_by_resource_group_async(resource_group_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List schedules in a resource group. + # + # @param resource_group_name [String] The name of the resource group. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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, filter = nil, top = nil, orderby = 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.DevTestLab/schedules' + + 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: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def get(resource_group_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, name, expand, custom_headers).value! + end + + # + # Get schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, 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, 'name is nil' if 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.DevTestLab/schedules/{name}' + + 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,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.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 replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def create_or_update(resource_group_name, name, schedule, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, schedule, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def create_or_update_with_http_info(resource_group_name, name, schedule, custom_headers = nil) + create_or_update_async(resource_group_name, name, schedule, custom_headers).value! + end + + # + # Create or replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def create_or_update_async(resource_group_name, name, schedule, 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, 'name is nil' if name.nil? + fail ArgumentError, 'schedule is nil' if schedule.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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + request_content = @client.serialize(request_mapper, schedule) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}' + + 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,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, name, custom_headers = nil) + response = delete_async(resource_group_name, name, custom_headers).value! + nil + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, name, custom_headers = nil) + delete_async(resource_group_name, name, custom_headers).value! + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/schedules/{name}' + + 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,'name' => 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 == 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 + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def update(resource_group_name, name, schedule, custom_headers = nil) + response = update_async(resource_group_name, name, schedule, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, name, schedule, custom_headers = nil) + update_async(resource_group_name, name, schedule, custom_headers).value! + end + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, name, schedule, 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, 'name is nil' if name.nil? + fail ArgumentError, 'schedule is nil' if schedule.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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleFragment.mapper() + request_content = @client.serialize(request_mapper, schedule) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}' + + 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,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.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 + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def execute(resource_group_name, name, custom_headers = nil) + response = execute_async(resource_group_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @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 execute_async(resource_group_name, name, custom_headers = nil) + # Send request + promise = begin_execute_async(resource_group_name, name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Updates a schedule's target resource Id. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param retarget_schedule_properties [RetargetScheduleProperties] Properties + # for retargeting a virtual machine schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def retarget(resource_group_name, name, retarget_schedule_properties, custom_headers = nil) + response = retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param retarget_schedule_properties [RetargetScheduleProperties] Properties + # for retargeting a virtual machine schedule. + # @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 retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers = nil) + # Send request + promise = begin_retarget_async(resource_group_name, name, retarget_schedule_properties, 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 + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_execute(resource_group_name, name, custom_headers = nil) + response = begin_execute_async(resource_group_name, name, custom_headers).value! + nil + end + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param custom_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_execute_with_http_info(resource_group_name, name, custom_headers = nil) + begin_execute_async(resource_group_name, name, custom_headers).value! + end + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param [Hash{String => String}] 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_execute_async(resource_group_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/schedules/{name}/execute' + + 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,'name' => 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 a schedule's target resource Id. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param retarget_schedule_properties [RetargetScheduleProperties] Properties + # for retargeting a virtual machine schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_retarget(resource_group_name, name, retarget_schedule_properties, custom_headers = nil) + response = begin_retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers).value! + nil + end + + # + # Updates a schedule's target resource Id. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param retarget_schedule_properties [RetargetScheduleProperties] Properties + # for retargeting a virtual machine schedule. + # @param custom_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_retarget_with_http_info(resource_group_name, name, retarget_schedule_properties, custom_headers = nil) + begin_retarget_async(resource_group_name, name, retarget_schedule_properties, custom_headers).value! + end + + # + # Updates a schedule's target resource Id. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the schedule. + # @param retarget_schedule_properties [RetargetScheduleProperties] Properties + # for retargeting a virtual machine schedule. + # @param [Hash{String => String}] 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_retarget_async(resource_group_name, name, retarget_schedule_properties, 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, 'name is nil' if name.nil? + fail ArgumentError, 'retarget_schedule_properties is nil' if retarget_schedule_properties.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::DevTestLabs::Mgmt::V2018_09_15::Models::RetargetScheduleProperties.mapper() + request_content = @client.serialize(request_mapper, retarget_schedule_properties) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/schedules/{name}/retarget' + + 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,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List schedules 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 [ScheduleList] 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 + + # + # List schedules 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 + + # + # List schedules 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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedules 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 [ScheduleList] 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 + + # + # List schedules 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 + + # + # List schedules 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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedules in a subscription. + # + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ScheduleList] which provide lazy access to pages of the response. + # + def list_by_subscription_as_lazy(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_by_subscription_async(expand, filter, top, orderby, 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 + + # + # List schedules in a resource group. + # + # @param resource_group_name [String] The name of the resource group. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ScheduleList] which provide lazy access to pages of the response. + # + def list_by_resource_group_as_lazy(resource_group_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, expand, filter, top, orderby, 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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/labs.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/labs.rb new file mode 100644 index 0000000000..376bac5866 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/labs.rb @@ -0,0 +1,1817 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Labs + include MsRestAzure + + # + # Creates and initializes a new instance of the Labs class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List labs in a subscription. + # + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_by_subscription_as_lazy(expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List labs in a subscription. + # + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_by_subscription_async(expand, filter, top, orderby, custom_headers).value! + end + + # + # List labs in a subscription. + # + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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, filter = nil, top = nil, orderby = 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.DevTestLab/labs' + + 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: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::LabList.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 labs in a resource group. + # + # @param resource_group_name [String] The name of the resource group. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List labs in a resource group. + # + # @param resource_group_name [String] The name of the resource group. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_by_resource_group_async(resource_group_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List labs in a resource group. + # + # @param resource_group_name [String] The name of the resource group. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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, filter = nil, top = nil, orderby = 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.DevTestLab/labs' + + 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: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::LabList.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 lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Lab] operation results. + # + def get(resource_group_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, name, expand, custom_headers).value! + end + + # + # Get lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, 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, 'name is nil' if 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.DevTestLab/labs/{name}' + + 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,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Lab.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 replace an existing lab. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab [Lab] A lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Lab] operation results. + # + def create_or_update(resource_group_name, name, lab, custom_headers = nil) + response = create_or_update_async(resource_group_name, name, lab, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab [Lab] A lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, name, lab, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, name, lab, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Lab.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete lab. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, name, custom_headers = nil) + response = delete_async(resource_group_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(resource_group_name, name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, 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 + + # + # Modify properties of labs. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab [LabFragment] A lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Lab] operation results. + # + def update(resource_group_name, name, lab, custom_headers = nil) + response = update_async(resource_group_name, name, lab, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of labs. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab [LabFragment] A lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, name, lab, custom_headers = nil) + update_async(resource_group_name, name, lab, custom_headers).value! + end + + # + # Modify properties of labs. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab [LabFragment] A lab. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, name, lab, 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, 'name is nil' if name.nil? + fail ArgumentError, 'lab is nil' if lab.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::DevTestLabs::Mgmt::V2018_09_15::Models::LabFragment.mapper() + request_content = @client.serialize(request_mapper, lab) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}' + + 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,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::Lab.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 + + # + # Claim a random claimable virtual machine in the lab. This operation can take + # a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def claim_any_vm(resource_group_name, name, custom_headers = nil) + response = claim_any_vm_async(resource_group_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @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 claim_any_vm_async(resource_group_name, name, custom_headers = nil) + # Send request + promise = begin_claim_any_vm_async(resource_group_name, 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 virtual machines in a lab. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab_virtual_machine_creation_parameter + # [LabVirtualMachineCreationParameter] Properties for creating a virtual + # machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def create_environment(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers = nil) + response = create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab_virtual_machine_creation_parameter + # [LabVirtualMachineCreationParameter] Properties for creating a virtual + # machine. + # @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_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers = nil) + # Send request + promise = begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, 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 + + # + # Exports the lab resource usage into a storage account This operation can take + # a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param export_resource_usage_parameters [ExportResourceUsageParameters] The + # parameters of the export operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def export_resource_usage(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) + response = export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param export_resource_usage_parameters [ExportResourceUsageParameters] The + # parameters of the export operation. + # @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 export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) + # Send request + promise = begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Generate a URI for uploading custom disk images to a Lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param generate_upload_uri_parameter [GenerateUploadUriParameter] Properties + # for generating an upload URI. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [GenerateUploadUriResponse] operation results. + # + def generate_upload_uri(resource_group_name, name, generate_upload_uri_parameter, custom_headers = nil) + response = generate_upload_uri_async(resource_group_name, name, generate_upload_uri_parameter, custom_headers).value! + response.body unless response.nil? + end + + # + # Generate a URI for uploading custom disk images to a Lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param generate_upload_uri_parameter [GenerateUploadUriParameter] Properties + # for generating an upload URI. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def generate_upload_uri_with_http_info(resource_group_name, name, generate_upload_uri_parameter, custom_headers = nil) + generate_upload_uri_async(resource_group_name, name, generate_upload_uri_parameter, custom_headers).value! + end + + # + # Generate a URI for uploading custom disk images to a Lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param generate_upload_uri_parameter [GenerateUploadUriParameter] Properties + # for generating an upload URI. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def generate_upload_uri_async(resource_group_name, name, generate_upload_uri_parameter, 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, 'name is nil' if name.nil? + fail ArgumentError, 'generate_upload_uri_parameter is nil' if generate_upload_uri_parameter.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::DevTestLabs::Mgmt::V2018_09_15::Models::GenerateUploadUriParameter.mapper() + request_content = @client.serialize(request_mapper, generate_upload_uri_parameter) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/generateUploadUri' + + 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,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::GenerateUploadUriResponse.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 + + # + # Import a virtual machine into a different lab. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param import_lab_virtual_machine_request [ImportLabVirtualMachineRequest] + # This represents the payload required to import a virtual machine from a + # different lab into the current one + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def import_virtual_machine(resource_group_name, name, import_lab_virtual_machine_request, custom_headers = nil) + response = import_virtual_machine_async(resource_group_name, name, import_lab_virtual_machine_request, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param import_lab_virtual_machine_request [ImportLabVirtualMachineRequest] + # This represents the payload required to import a virtual machine from a + # different lab into the current one + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def import_virtual_machine_async(resource_group_name, name, import_lab_virtual_machine_request, custom_headers = nil) + # Send request + promise = begin_import_virtual_machine_async(resource_group_name, name, import_lab_virtual_machine_request, 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 + + # + # List disk images available for custom image creation. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @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_vhds(resource_group_name, name, custom_headers = nil) + first_page = list_vhds_as_lazy(resource_group_name, name, custom_headers) + first_page.get_all_items + end + + # + # List disk images available for custom image creation. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param custom_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_vhds_with_http_info(resource_group_name, name, custom_headers = nil) + list_vhds_async(resource_group_name, name, custom_headers).value! + end + + # + # List disk images available for custom image creation. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param [Hash{String => String}] 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_vhds_async(resource_group_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{name}/listVhds' + + 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,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::LabVhdList.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 replace an existing lab. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab [Lab] A lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Lab] operation results. + # + def begin_create_or_update(resource_group_name, name, lab, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, name, lab, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing lab. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab [Lab] A lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, name, lab, custom_headers = nil) + begin_create_or_update_async(resource_group_name, name, lab, custom_headers).value! + end + + # + # Create or replace an existing lab. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab [Lab] A lab. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, name, lab, 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, 'name is nil' if name.nil? + fail ArgumentError, 'lab is nil' if lab.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::DevTestLabs::Mgmt::V2018_09_15::Models::Lab.mapper() + request_content = @client.serialize(request_mapper, lab) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}' + + 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,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Lab.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Lab.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete lab. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(resource_group_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, name, custom_headers).value! + nil + end + + # + # Delete lab. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_delete_with_http_info(resource_group_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, name, custom_headers).value! + end + + # + # Delete lab. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_delete_async(resource_group_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{name}' + + 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,'name' => 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 + + # + # Claim a random claimable virtual machine in the lab. This operation can take + # a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_claim_any_vm(resource_group_name, name, custom_headers = nil) + response = begin_claim_any_vm_async(resource_group_name, name, custom_headers).value! + nil + end + + # + # Claim a random claimable virtual machine in the lab. This operation can take + # a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param custom_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_claim_any_vm_with_http_info(resource_group_name, name, custom_headers = nil) + begin_claim_any_vm_async(resource_group_name, name, custom_headers).value! + end + + # + # Claim a random claimable virtual machine in the lab. This operation can take + # a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param [Hash{String => String}] 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_claim_any_vm_async(resource_group_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{name}/claimAnyVm' + + 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,'name' => 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 + + # + # Create virtual machines in a lab. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab_virtual_machine_creation_parameter + # [LabVirtualMachineCreationParameter] Properties for creating a virtual + # machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_create_environment(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers = nil) + response = begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers).value! + nil + end + + # + # Create virtual machines in a lab. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab_virtual_machine_creation_parameter + # [LabVirtualMachineCreationParameter] Properties for creating a virtual + # machine. + # @param custom_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_environment_with_http_info(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers = nil) + begin_create_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, custom_headers).value! + end + + # + # Create virtual machines in a lab. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param lab_virtual_machine_creation_parameter + # [LabVirtualMachineCreationParameter] Properties for creating a virtual + # machine. + # @param [Hash{String => String}] 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_environment_async(resource_group_name, name, lab_virtual_machine_creation_parameter, 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, 'name is nil' if name.nil? + fail ArgumentError, 'lab_virtual_machine_creation_parameter is nil' if lab_virtual_machine_creation_parameter.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::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachineCreationParameter.mapper() + request_content = @client.serialize(request_mapper, lab_virtual_machine_creation_parameter) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/createEnvironment' + + 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,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Exports the lab resource usage into a storage account This operation can take + # a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param export_resource_usage_parameters [ExportResourceUsageParameters] The + # parameters of the export operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_export_resource_usage(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) + response = begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers).value! + nil + end + + # + # Exports the lab resource usage into a storage account This operation can take + # a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param export_resource_usage_parameters [ExportResourceUsageParameters] The + # parameters of the export 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 begin_export_resource_usage_with_http_info(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) + begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers).value! + end + + # + # Exports the lab resource usage into a storage account This operation can take + # a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param export_resource_usage_parameters [ExportResourceUsageParameters] The + # parameters of the export 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 begin_export_resource_usage_async(resource_group_name, name, export_resource_usage_parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'export_resource_usage_parameters is nil' if export_resource_usage_parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ExportResourceUsageParameters.mapper() + request_content = @client.serialize(request_mapper, export_resource_usage_parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/exportResourceUsage' + + 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,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Import a virtual machine into a different lab. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param import_lab_virtual_machine_request [ImportLabVirtualMachineRequest] + # This represents the payload required to import a virtual machine from a + # different lab into the current one + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_import_virtual_machine(resource_group_name, name, import_lab_virtual_machine_request, custom_headers = nil) + response = begin_import_virtual_machine_async(resource_group_name, name, import_lab_virtual_machine_request, custom_headers).value! + nil + end + + # + # Import a virtual machine into a different lab. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param import_lab_virtual_machine_request [ImportLabVirtualMachineRequest] + # This represents the payload required to import a virtual machine from a + # different lab into the current one + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_import_virtual_machine_with_http_info(resource_group_name, name, import_lab_virtual_machine_request, custom_headers = nil) + begin_import_virtual_machine_async(resource_group_name, name, import_lab_virtual_machine_request, custom_headers).value! + end + + # + # Import a virtual machine into a different lab. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param import_lab_virtual_machine_request [ImportLabVirtualMachineRequest] + # This represents the payload required to import a virtual machine from a + # different lab into the current one + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_import_virtual_machine_async(resource_group_name, name, import_lab_virtual_machine_request, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'import_lab_virtual_machine_request is nil' if import_lab_virtual_machine_request.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ImportLabVirtualMachineRequest.mapper() + request_content = @client.serialize(request_mapper, import_lab_virtual_machine_request) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/importVirtualMachine' + + 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,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # List labs 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 [LabList] 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 + + # + # List labs 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 + + # + # List labs 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::DevTestLabs::Mgmt::V2018_09_15::Models::LabList.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 labs 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 [LabList] 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 + + # + # List labs 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 + + # + # List labs 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::DevTestLabs::Mgmt::V2018_09_15::Models::LabList.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 disk images available for custom image creation. + # + # @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 [LabVhdList] operation results. + # + def list_vhds_next(next_page_link, custom_headers = nil) + response = list_vhds_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # List disk images available for custom image creation. + # + # @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_vhds_next_with_http_info(next_page_link, custom_headers = nil) + list_vhds_next_async(next_page_link, custom_headers).value! + end + + # + # List disk images available for custom image creation. + # + # @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_vhds_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(: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::DevTestLabs::Mgmt::V2018_09_15::Models::LabVhdList.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 labs in a subscription. + # + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabList] which provide lazy access to pages of the response. + # + def list_by_subscription_as_lazy(expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_by_subscription_async(expand, filter, top, orderby, 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 + + # + # List labs in a resource group. + # + # @param resource_group_name [String] The name of the resource group. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=defaultStorageAccount)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabList] which provide lazy access to pages of the response. + # + def list_by_resource_group_as_lazy(resource_group_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, expand, filter, top, orderby, 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 + + # + # List disk images available for custom image creation. + # + # @param resource_group_name [String] The name of the resource group. + # @param name [String] The name of the lab. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabVhdList] which provide lazy access to pages of the response. + # + def list_vhds_as_lazy(resource_group_name, name, custom_headers = nil) + response = list_vhds_async(resource_group_name, name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_vhds_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb new file mode 100644 index 0000000000..7832bb07ca --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Schedules applicable to a virtual machine. The schedules may have been + # defined on a VM or on lab level. + # + class ApplicableSchedule < Resource + + include MsRestAzure + + # @return [Schedule] The auto-shutdown schedule, if one has been set at + # the lab or lab resource level. + attr_accessor :lab_vms_shutdown + + # @return [Schedule] The auto-startup schedule, if one has been set at + # the lab or lab resource level. + attr_accessor :lab_vms_startup + + + # + # Mapper for ApplicableSchedule class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ApplicableSchedule', + type: { + name: 'Composite', + class_name: 'ApplicableSchedule', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + lab_vms_shutdown: { + required: false, + serialized_name: 'properties.labVmsShutdown', + type: { + name: 'Composite', + class_name: 'Schedule' + } + }, + lab_vms_startup: { + required: false, + serialized_name: 'properties.labVmsStartup', + type: { + name: 'Composite', + class_name: 'Schedule' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.rb new file mode 100644 index 0000000000..574c140f49 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Schedules applicable to a virtual machine. The schedules may have been + # defined on a VM or on lab level. + # + class ApplicableScheduleFragment < UpdateResource + + include MsRestAzure + + # @return [ScheduleFragment] The auto-shutdown schedule, if one has been + # set at the lab or lab resource level. + attr_accessor :lab_vms_shutdown + + # @return [ScheduleFragment] The auto-startup schedule, if one has been + # set at the lab or lab resource level. + attr_accessor :lab_vms_startup + + + # + # Mapper for ApplicableScheduleFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ApplicableScheduleFragment', + type: { + name: 'Composite', + class_name: 'ApplicableScheduleFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + lab_vms_shutdown: { + required: false, + serialized_name: 'properties.labVmsShutdown', + type: { + name: 'Composite', + class_name: 'ScheduleFragment' + } + }, + lab_vms_startup: { + required: false, + serialized_name: 'properties.labVmsStartup', + type: { + name: 'Composite', + class_name: 'ScheduleFragment' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb new file mode 100644 index 0000000000..cd0b3469c2 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Request body for applying artifacts to a virtual machine. + # + class ApplyArtifactsRequest + + include MsRestAzure + + # @return [Array] The list of artifacts to + # apply. + attr_accessor :artifacts + + + # + # Mapper for ApplyArtifactsRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ApplyArtifactsRequest', + type: { + name: 'Composite', + class_name: 'ApplyArtifactsRequest', + model_properties: { + artifacts: { + required: false, + serialized_name: 'artifacts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArtifactInstallPropertiesElementType', + type: { + name: 'Composite', + class_name: 'ArtifactInstallProperties' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template.rb new file mode 100644 index 0000000000..1eecbedc8b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template.rb @@ -0,0 +1,178 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # An Azure Resource Manager template. + # + class ArmTemplate < Resource + + include MsRestAzure + + # @return [String] The display name of the ARM template. + attr_accessor :display_name + + # @return [String] The description of the ARM template. + attr_accessor :description + + # @return [String] The publisher of the ARM template. + attr_accessor :publisher + + # @return [String] The URI to the icon of the ARM template. + attr_accessor :icon + + # @return The contents of the ARM template. + attr_accessor :contents + + # @return [DateTime] The creation date of the armTemplate. + attr_accessor :created_date + + # @return [Array] File name and parameter values + # information from all azuredeploy.*.parameters.json for the ARM + # template. + attr_accessor :parameters_value_files_info + + # @return [Boolean] Whether or not ARM template is enabled for use by lab + # user. + attr_accessor :enabled + + + # + # Mapper for ArmTemplate class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArmTemplate', + type: { + name: 'Composite', + class_name: 'ArmTemplate', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + display_name: { + required: false, + read_only: true, + serialized_name: 'properties.displayName', + type: { + name: 'String' + } + }, + description: { + required: false, + read_only: true, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + publisher: { + required: false, + read_only: true, + serialized_name: 'properties.publisher', + type: { + name: 'String' + } + }, + icon: { + required: false, + read_only: true, + serialized_name: 'properties.icon', + type: { + name: 'String' + } + }, + contents: { + required: false, + read_only: true, + serialized_name: 'properties.contents', + type: { + name: 'Object' + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + parameters_value_files_info: { + required: false, + read_only: true, + serialized_name: 'properties.parametersValueFilesInfo', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ParametersValueFileInfoElementType', + type: { + name: 'Composite', + class_name: 'ParametersValueFileInfo' + } + } + } + }, + enabled: { + required: false, + read_only: true, + serialized_name: 'properties.enabled', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb new file mode 100644 index 0000000000..c803ef31a4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Information about a generated ARM template. + # + class ArmTemplateInfo + + include MsRestAzure + + # @return The template's contents. + attr_accessor :template + + # @return The parameters of the ARM template. + attr_accessor :parameters + + + # + # Mapper for ArmTemplateInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArmTemplateInfo', + type: { + name: 'Composite', + class_name: 'ArmTemplateInfo', + model_properties: { + template: { + required: false, + serialized_name: 'template', + type: { + name: 'Object' + } + }, + parameters: { + required: false, + serialized_name: 'parameters', + type: { + name: 'Object' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_list.rb new file mode 100644 index 0000000000..1fb83f4a72 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class ArmTemplateList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [ArmTemplateList] 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 ArmTemplateList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArmTemplateList', + type: { + name: 'Composite', + class_name: 'ArmTemplateList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArmTemplateElementType', + type: { + name: 'Composite', + class_name: 'ArmTemplate' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb new file mode 100644 index 0000000000..fdaf1e4ec4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an Azure Resource Manager template parameter. + # + class ArmTemplateParameterProperties + + include MsRestAzure + + # @return [String] The name of the template parameter. + attr_accessor :name + + # @return [String] The value of the template parameter. + attr_accessor :value + + + # + # Mapper for ArmTemplateParameterProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArmTemplateParameterProperties', + type: { + name: 'Composite', + class_name: 'ArmTemplateParameterProperties', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties_fragment.rb new file mode 100644 index 0000000000..d734a974a0 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties_fragment.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an Azure Resource Manager template parameter. + # + class ArmTemplateParameterPropertiesFragment + + include MsRestAzure + + # @return [String] The name of the template parameter. + attr_accessor :name + + # @return [String] The value of the template parameter. + attr_accessor :value + + + # + # Mapper for ArmTemplateParameterPropertiesFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArmTemplateParameterPropertiesFragment', + type: { + name: 'Composite', + class_name: 'ArmTemplateParameterPropertiesFragment', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact.rb new file mode 100644 index 0000000000..7111bae3f3 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact.rb @@ -0,0 +1,167 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # An artifact. + # + class Artifact < Resource + + include MsRestAzure + + # @return [String] The artifact's title. + attr_accessor :title + + # @return [String] The artifact's description. + attr_accessor :description + + # @return [String] The artifact's publisher. + attr_accessor :publisher + + # @return [String] The file path to the artifact. + attr_accessor :file_path + + # @return [String] The URI to the artifact icon. + attr_accessor :icon + + # @return [String] The artifact's target OS. + attr_accessor :target_os_type + + # @return The artifact's parameters. + attr_accessor :parameters + + # @return [DateTime] The artifact's creation date. + attr_accessor :created_date + + + # + # Mapper for Artifact class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Artifact', + type: { + name: 'Composite', + class_name: 'Artifact', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + title: { + required: false, + read_only: true, + serialized_name: 'properties.title', + type: { + name: 'String' + } + }, + description: { + required: false, + read_only: true, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + publisher: { + required: false, + read_only: true, + serialized_name: 'properties.publisher', + type: { + name: 'String' + } + }, + file_path: { + required: false, + read_only: true, + serialized_name: 'properties.filePath', + type: { + name: 'String' + } + }, + icon: { + required: false, + read_only: true, + serialized_name: 'properties.icon', + type: { + name: 'String' + } + }, + target_os_type: { + required: false, + read_only: true, + serialized_name: 'properties.targetOsType', + type: { + name: 'String' + } + }, + parameters: { + required: false, + read_only: true, + serialized_name: 'properties.parameters', + type: { + name: 'Object' + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb new file mode 100644 index 0000000000..0f3c8416fc --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an artifact deployment. + # + class ArtifactDeploymentStatusProperties + + include MsRestAzure + + # @return [String] The deployment status of the artifact. + attr_accessor :deployment_status + + # @return [Integer] The total count of the artifacts that were + # successfully applied. + attr_accessor :artifacts_applied + + # @return [Integer] The total count of the artifacts that were + # tentatively applied. + attr_accessor :total_artifacts + + + # + # Mapper for ArtifactDeploymentStatusProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactDeploymentStatusProperties', + type: { + name: 'Composite', + class_name: 'ArtifactDeploymentStatusProperties', + model_properties: { + deployment_status: { + required: false, + serialized_name: 'deploymentStatus', + type: { + name: 'String' + } + }, + artifacts_applied: { + required: false, + serialized_name: 'artifactsApplied', + type: { + name: 'Number' + } + }, + total_artifacts: { + required: false, + serialized_name: 'totalArtifacts', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb new file mode 100644 index 0000000000..5e966f88e7 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an artifact deployment. + # + class ArtifactDeploymentStatusPropertiesFragment + + include MsRestAzure + + # @return [String] The deployment status of the artifact. + attr_accessor :deployment_status + + # @return [Integer] The total count of the artifacts that were + # successfully applied. + attr_accessor :artifacts_applied + + # @return [Integer] The total count of the artifacts that were + # tentatively applied. + attr_accessor :total_artifacts + + + # + # Mapper for ArtifactDeploymentStatusPropertiesFragment class as Ruby + # Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactDeploymentStatusPropertiesFragment', + type: { + name: 'Composite', + class_name: 'ArtifactDeploymentStatusPropertiesFragment', + model_properties: { + deployment_status: { + required: false, + serialized_name: 'deploymentStatus', + type: { + name: 'String' + } + }, + artifacts_applied: { + required: false, + serialized_name: 'artifactsApplied', + type: { + name: 'Number' + } + }, + total_artifacts: { + required: false, + serialized_name: 'totalArtifacts', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb new file mode 100644 index 0000000000..92e4193e3c --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb @@ -0,0 +1,114 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an artifact. + # + class ArtifactInstallProperties + + include MsRestAzure + + # @return [String] The artifact's identifier. + attr_accessor :artifact_id + + # @return [String] The artifact's title. + attr_accessor :artifact_title + + # @return [Array] The parameters of the + # artifact. + attr_accessor :parameters + + # @return [String] The status of the artifact. + attr_accessor :status + + # @return [String] The status message from the deployment. + attr_accessor :deployment_status_message + + # @return [String] The status message from the virtual machine extension. + attr_accessor :vm_extension_status_message + + # @return [DateTime] The time that the artifact starts to install on the + # virtual machine. + attr_accessor :install_time + + + # + # Mapper for ArtifactInstallProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactInstallProperties', + type: { + name: 'Composite', + class_name: 'ArtifactInstallProperties', + model_properties: { + artifact_id: { + required: false, + serialized_name: 'artifactId', + type: { + name: 'String' + } + }, + artifact_title: { + required: false, + serialized_name: 'artifactTitle', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serialized_name: 'parameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArtifactParameterPropertiesElementType', + type: { + name: 'Composite', + class_name: 'ArtifactParameterProperties' + } + } + } + }, + status: { + required: false, + serialized_name: 'status', + type: { + name: 'String' + } + }, + deployment_status_message: { + required: false, + serialized_name: 'deploymentStatusMessage', + type: { + name: 'String' + } + }, + vm_extension_status_message: { + required: false, + serialized_name: 'vmExtensionStatusMessage', + type: { + name: 'String' + } + }, + install_time: { + required: false, + serialized_name: 'installTime', + type: { + name: 'DateTime' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb new file mode 100644 index 0000000000..7354608334 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb @@ -0,0 +1,114 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an artifact. + # + class ArtifactInstallPropertiesFragment + + include MsRestAzure + + # @return [String] The artifact's identifier. + attr_accessor :artifact_id + + # @return [String] The artifact's title. + attr_accessor :artifact_title + + # @return [Array] The parameters of + # the artifact. + attr_accessor :parameters + + # @return [String] The status of the artifact. + attr_accessor :status + + # @return [String] The status message from the deployment. + attr_accessor :deployment_status_message + + # @return [String] The status message from the virtual machine extension. + attr_accessor :vm_extension_status_message + + # @return [DateTime] The time that the artifact starts to install on the + # virtual machine. + attr_accessor :install_time + + + # + # Mapper for ArtifactInstallPropertiesFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactInstallPropertiesFragment', + type: { + name: 'Composite', + class_name: 'ArtifactInstallPropertiesFragment', + model_properties: { + artifact_id: { + required: false, + serialized_name: 'artifactId', + type: { + name: 'String' + } + }, + artifact_title: { + required: false, + serialized_name: 'artifactTitle', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serialized_name: 'parameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArtifactParameterPropertiesFragmentElementType', + type: { + name: 'Composite', + class_name: 'ArtifactParameterPropertiesFragment' + } + } + } + }, + status: { + required: false, + serialized_name: 'status', + type: { + name: 'String' + } + }, + deployment_status_message: { + required: false, + serialized_name: 'deploymentStatusMessage', + type: { + name: 'String' + } + }, + vm_extension_status_message: { + required: false, + serialized_name: 'vmExtensionStatusMessage', + type: { + name: 'String' + } + }, + install_time: { + required: false, + serialized_name: 'installTime', + type: { + name: 'DateTime' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_list.rb new file mode 100644 index 0000000000..ea0355298a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class ArtifactList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [ArtifactList] 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 ArtifactList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactList', + type: { + name: 'Composite', + class_name: 'ArtifactList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArtifactElementType', + type: { + name: 'Composite', + class_name: 'Artifact' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb new file mode 100644 index 0000000000..6cca1eabad --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an artifact parameter. + # + class ArtifactParameterProperties + + include MsRestAzure + + # @return [String] The name of the artifact parameter. + attr_accessor :name + + # @return [String] The value of the artifact parameter. + attr_accessor :value + + + # + # Mapper for ArtifactParameterProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactParameterProperties', + type: { + name: 'Composite', + class_name: 'ArtifactParameterProperties', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb new file mode 100644 index 0000000000..dc1a0dfc59 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an artifact parameter. + # + class ArtifactParameterPropertiesFragment + + include MsRestAzure + + # @return [String] The name of the artifact parameter. + attr_accessor :name + + # @return [String] The value of the artifact parameter. + attr_accessor :value + + + # + # Mapper for ArtifactParameterPropertiesFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactParameterPropertiesFragment', + type: { + name: 'Composite', + class_name: 'ArtifactParameterPropertiesFragment', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb new file mode 100644 index 0000000000..8d8e575f3b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source.rb @@ -0,0 +1,197 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an artifact source. + # + class ArtifactSource < Resource + + include MsRestAzure + + # @return [String] The artifact source's display name. + attr_accessor :display_name + + # @return [String] The artifact source's URI. + attr_accessor :uri + + # @return [SourceControlType] The artifact source's type. Possible values + # include: 'VsoGit', 'GitHub' + attr_accessor :source_type + + # @return [String] The folder containing artifacts. + attr_accessor :folder_path + + # @return [String] The folder containing Azure Resource Manager + # templates. + attr_accessor :arm_template_folder_path + + # @return [String] The artifact source's branch reference. + attr_accessor :branch_ref + + # @return [String] The security token to authenticate to the artifact + # source. + attr_accessor :security_token + + # @return [EnableStatus] Indicates if the artifact source is enabled + # (values: Enabled, Disabled). Possible values include: 'Enabled', + # 'Disabled' + attr_accessor :status + + # @return [DateTime] The artifact source's creation date. + attr_accessor :created_date + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for ArtifactSource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactSource', + type: { + name: 'Composite', + class_name: 'ArtifactSource', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + display_name: { + required: false, + serialized_name: 'properties.displayName', + type: { + name: 'String' + } + }, + uri: { + required: false, + serialized_name: 'properties.uri', + type: { + name: 'String' + } + }, + source_type: { + required: false, + serialized_name: 'properties.sourceType', + type: { + name: 'String' + } + }, + folder_path: { + required: false, + serialized_name: 'properties.folderPath', + type: { + name: 'String' + } + }, + arm_template_folder_path: { + required: false, + serialized_name: 'properties.armTemplateFolderPath', + type: { + name: 'String' + } + }, + branch_ref: { + required: false, + serialized_name: 'properties.branchRef', + type: { + name: 'String' + } + }, + security_token: { + required: false, + serialized_name: 'properties.securityToken', + type: { + name: 'String' + } + }, + status: { + required: false, + serialized_name: 'properties.status', + type: { + name: 'String' + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb new file mode 100644 index 0000000000..6850b7baec --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source_fragment.rb @@ -0,0 +1,133 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an artifact source. + # + class ArtifactSourceFragment < UpdateResource + + include MsRestAzure + + # @return [String] The artifact source's display name. + attr_accessor :display_name + + # @return [String] The artifact source's URI. + attr_accessor :uri + + # @return [SourceControlType] The artifact source's type. Possible values + # include: 'VsoGit', 'GitHub' + attr_accessor :source_type + + # @return [String] The folder containing artifacts. + attr_accessor :folder_path + + # @return [String] The folder containing Azure Resource Manager + # templates. + attr_accessor :arm_template_folder_path + + # @return [String] The artifact source's branch reference. + attr_accessor :branch_ref + + # @return [String] The security token to authenticate to the artifact + # source. + attr_accessor :security_token + + # @return [EnableStatus] Indicates if the artifact source is enabled + # (values: Enabled, Disabled). Possible values include: 'Enabled', + # 'Disabled' + attr_accessor :status + + + # + # Mapper for ArtifactSourceFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactSourceFragment', + type: { + name: 'Composite', + class_name: 'ArtifactSourceFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + display_name: { + required: false, + serialized_name: 'properties.displayName', + type: { + name: 'String' + } + }, + uri: { + required: false, + serialized_name: 'properties.uri', + type: { + name: 'String' + } + }, + source_type: { + required: false, + serialized_name: 'properties.sourceType', + type: { + name: 'String' + } + }, + folder_path: { + required: false, + serialized_name: 'properties.folderPath', + type: { + name: 'String' + } + }, + arm_template_folder_path: { + required: false, + serialized_name: 'properties.armTemplateFolderPath', + type: { + name: 'String' + } + }, + branch_ref: { + required: false, + serialized_name: 'properties.branchRef', + type: { + name: 'String' + } + }, + security_token: { + required: false, + serialized_name: 'properties.securityToken', + type: { + name: 'String' + } + }, + status: { + required: false, + serialized_name: 'properties.status', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source_list.rb new file mode 100644 index 0000000000..6d56759e2d --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/artifact_source_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class ArtifactSourceList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [ArtifactSourceList] 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 ArtifactSourceList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ArtifactSourceList', + type: { + name: 'Composite', + class_name: 'ArtifactSourceList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArtifactSourceElementType', + type: { + name: 'Composite', + class_name: 'ArtifactSource' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb new file mode 100644 index 0000000000..255a3a3f2f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of the disk to attach. + # + class AttachDiskProperties + + include MsRestAzure + + # @return [String] The resource ID of the Lab virtual machine to which + # the disk is attached. + attr_accessor :leased_by_lab_vm_id + + + # + # Mapper for AttachDiskProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AttachDiskProperties', + type: { + name: 'Composite', + class_name: 'AttachDiskProperties', + model_properties: { + leased_by_lab_vm_id: { + required: false, + serialized_name: 'leasedByLabVmId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb new file mode 100644 index 0000000000..408dc2d383 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb @@ -0,0 +1,65 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties to attach new disk to the Virtual Machine. + # + class AttachNewDataDiskOptions + + include MsRestAzure + + # @return [Integer] Size of the disk to be attached in GibiBytes. + attr_accessor :disk_size_gi_b + + # @return [String] The name of the disk to be attached. + attr_accessor :disk_name + + # @return [StorageType] The storage type for the disk (i.e. Standard, + # Premium). Possible values include: 'Standard', 'Premium' + attr_accessor :disk_type + + + # + # Mapper for AttachNewDataDiskOptions class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AttachNewDataDiskOptions', + type: { + name: 'Composite', + class_name: 'AttachNewDataDiskOptions', + model_properties: { + disk_size_gi_b: { + required: false, + serialized_name: 'diskSizeGiB', + type: { + name: 'Number' + } + }, + disk_name: { + required: false, + serialized_name: 'diskName', + type: { + name: 'String' + } + }, + disk_type: { + required: false, + serialized_name: 'diskType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options_fragment.rb new file mode 100644 index 0000000000..9db5a8c20b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options_fragment.rb @@ -0,0 +1,65 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties to attach new disk to the Virtual Machine. + # + class AttachNewDataDiskOptionsFragment + + include MsRestAzure + + # @return [Integer] Size of the disk to be attached in GibiBytes. + attr_accessor :disk_size_gi_b + + # @return [String] The name of the disk to be attached. + attr_accessor :disk_name + + # @return [StorageType] The storage type for the disk (i.e. Standard, + # Premium). Possible values include: 'Standard', 'Premium' + attr_accessor :disk_type + + + # + # Mapper for AttachNewDataDiskOptionsFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'AttachNewDataDiskOptionsFragment', + type: { + name: 'Composite', + class_name: 'AttachNewDataDiskOptionsFragment', + model_properties: { + disk_size_gi_b: { + required: false, + serialized_name: 'diskSizeGiB', + type: { + name: 'Number' + } + }, + disk_name: { + required: false, + serialized_name: 'diskName', + type: { + name: 'String' + } + }, + disk_type: { + required: false, + serialized_name: 'diskType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb new file mode 100644 index 0000000000..5c00ff927a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Parameters for creating multiple virtual machines as a single action. + # + class BulkCreationParameters + + include MsRestAzure + + # @return [Integer] The number of virtual machine instances to create. + attr_accessor :instance_count + + + # + # Mapper for BulkCreationParameters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'BulkCreationParameters', + type: { + name: 'Composite', + class_name: 'BulkCreationParameters', + model_properties: { + instance_count: { + required: false, + serialized_name: 'instanceCount', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters_fragment.rb new file mode 100644 index 0000000000..3d26cc9ad4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Parameters for creating multiple virtual machines as a single action. + # + class BulkCreationParametersFragment + + include MsRestAzure + + # @return [Integer] The number of virtual machine instances to create. + attr_accessor :instance_count + + + # + # Mapper for BulkCreationParametersFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'BulkCreationParametersFragment', + type: { + name: 'Composite', + class_name: 'BulkCreationParametersFragment', + model_properties: { + instance_count: { + required: false, + serialized_name: 'instanceCount', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb new file mode 100644 index 0000000000..f57d9a0d75 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A data disks attached to a virtual machine. + # + class ComputeDataDisk + + include MsRestAzure + + # @return [String] Gets data disk name. + attr_accessor :name + + # @return [String] When backed by a blob, the URI of underlying blob. + attr_accessor :disk_uri + + # @return [String] When backed by managed disk, this is the ID of the + # compute disk resource. + attr_accessor :managed_disk_id + + # @return [Integer] Gets data disk size in GiB. + attr_accessor :disk_size_gi_b + + + # + # Mapper for ComputeDataDisk class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ComputeDataDisk', + type: { + name: 'Composite', + class_name: 'ComputeDataDisk', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + disk_uri: { + required: false, + serialized_name: 'diskUri', + type: { + name: 'String' + } + }, + managed_disk_id: { + required: false, + serialized_name: 'managedDiskId', + type: { + name: 'String' + } + }, + disk_size_gi_b: { + required: false, + serialized_name: 'diskSizeGiB', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb new file mode 100644 index 0000000000..b1941cde00 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A data disks attached to a virtual machine. + # + class ComputeDataDiskFragment + + include MsRestAzure + + # @return [String] Gets data disk name. + attr_accessor :name + + # @return [String] When backed by a blob, the URI of underlying blob. + attr_accessor :disk_uri + + # @return [String] When backed by managed disk, this is the ID of the + # compute disk resource. + attr_accessor :managed_disk_id + + # @return [Integer] Gets data disk size in GiB. + attr_accessor :disk_size_gi_b + + + # + # Mapper for ComputeDataDiskFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ComputeDataDiskFragment', + type: { + name: 'Composite', + class_name: 'ComputeDataDiskFragment', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + disk_uri: { + required: false, + serialized_name: 'diskUri', + type: { + name: 'String' + } + }, + managed_disk_id: { + required: false, + serialized_name: 'managedDiskId', + type: { + name: 'String' + } + }, + disk_size_gi_b: { + required: false, + serialized_name: 'diskSizeGiB', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb new file mode 100644 index 0000000000..1d1284275a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Status information about a virtual machine. + # + class ComputeVmInstanceViewStatus + + include MsRestAzure + + # @return [String] Gets the status Code. + attr_accessor :code + + # @return [String] Gets the short localizable label for the status. + attr_accessor :display_status + + # @return [String] Gets the message associated with the status. + attr_accessor :message + + + # + # Mapper for ComputeVmInstanceViewStatus class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ComputeVmInstanceViewStatus', + type: { + name: 'Composite', + class_name: 'ComputeVmInstanceViewStatus', + model_properties: { + code: { + required: false, + serialized_name: 'code', + type: { + name: 'String' + } + }, + display_status: { + required: false, + serialized_name: 'displayStatus', + type: { + name: 'String' + } + }, + message: { + required: false, + serialized_name: 'message', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb new file mode 100644 index 0000000000..4110c6e08c --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Status information about a virtual machine. + # + class ComputeVmInstanceViewStatusFragment + + include MsRestAzure + + # @return [String] Gets the status Code. + attr_accessor :code + + # @return [String] Gets the short localizable label for the status. + attr_accessor :display_status + + # @return [String] Gets the message associated with the status. + attr_accessor :message + + + # + # Mapper for ComputeVmInstanceViewStatusFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ComputeVmInstanceViewStatusFragment', + type: { + name: 'Composite', + class_name: 'ComputeVmInstanceViewStatusFragment', + model_properties: { + code: { + required: false, + serialized_name: 'code', + type: { + name: 'String' + } + }, + display_status: { + required: false, + serialized_name: 'displayStatus', + type: { + name: 'String' + } + }, + message: { + required: false, + serialized_name: 'message', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb new file mode 100644 index 0000000000..3970bb95dd --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb @@ -0,0 +1,130 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a virtual machine returned by the Microsoft.Compute API. + # + class ComputeVmProperties + + include MsRestAzure + + # @return [Array] Gets the statuses of the + # virtual machine. + attr_accessor :statuses + + # @return [String] Gets the OS type of the virtual machine. + attr_accessor :os_type + + # @return [String] Gets the size of the virtual machine. + attr_accessor :vm_size + + # @return [String] Gets the network interface ID of the virtual machine. + attr_accessor :network_interface_id + + # @return [String] Gets OS disk blob uri for the virtual machine. + attr_accessor :os_disk_id + + # @return [Array] Gets data disks blob uri for the virtual + # machine. + attr_accessor :data_disk_ids + + # @return [Array] Gets all data disks attached to the + # virtual machine. + attr_accessor :data_disks + + + # + # Mapper for ComputeVmProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ComputeVmProperties', + type: { + name: 'Composite', + class_name: 'ComputeVmProperties', + model_properties: { + statuses: { + required: false, + serialized_name: 'statuses', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ComputeVmInstanceViewStatusElementType', + type: { + name: 'Composite', + class_name: 'ComputeVmInstanceViewStatus' + } + } + } + }, + os_type: { + required: false, + serialized_name: 'osType', + type: { + name: 'String' + } + }, + vm_size: { + required: false, + serialized_name: 'vmSize', + type: { + name: 'String' + } + }, + network_interface_id: { + required: false, + serialized_name: 'networkInterfaceId', + type: { + name: 'String' + } + }, + os_disk_id: { + required: false, + serialized_name: 'osDiskId', + type: { + name: 'String' + } + }, + data_disk_ids: { + required: false, + serialized_name: 'dataDiskIds', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + data_disks: { + required: false, + serialized_name: 'dataDisks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ComputeDataDiskElementType', + type: { + name: 'Composite', + class_name: 'ComputeDataDisk' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb new file mode 100644 index 0000000000..5541f09605 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb @@ -0,0 +1,130 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a virtual machine returned by the Microsoft.Compute API. + # + class ComputeVmPropertiesFragment + + include MsRestAzure + + # @return [Array] Gets the statuses + # of the virtual machine. + attr_accessor :statuses + + # @return [String] Gets the OS type of the virtual machine. + attr_accessor :os_type + + # @return [String] Gets the size of the virtual machine. + attr_accessor :vm_size + + # @return [String] Gets the network interface ID of the virtual machine. + attr_accessor :network_interface_id + + # @return [String] Gets OS disk blob uri for the virtual machine. + attr_accessor :os_disk_id + + # @return [Array] Gets data disks blob uri for the virtual + # machine. + attr_accessor :data_disk_ids + + # @return [Array] Gets all data disks attached + # to the virtual machine. + attr_accessor :data_disks + + + # + # Mapper for ComputeVmPropertiesFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ComputeVmPropertiesFragment', + type: { + name: 'Composite', + class_name: 'ComputeVmPropertiesFragment', + model_properties: { + statuses: { + required: false, + serialized_name: 'statuses', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ComputeVmInstanceViewStatusFragmentElementType', + type: { + name: 'Composite', + class_name: 'ComputeVmInstanceViewStatusFragment' + } + } + } + }, + os_type: { + required: false, + serialized_name: 'osType', + type: { + name: 'String' + } + }, + vm_size: { + required: false, + serialized_name: 'vmSize', + type: { + name: 'String' + } + }, + network_interface_id: { + required: false, + serialized_name: 'networkInterfaceId', + type: { + name: 'String' + } + }, + os_disk_id: { + required: false, + serialized_name: 'osDiskId', + type: { + name: 'String' + } + }, + data_disk_ids: { + required: false, + serialized_name: 'dataDiskIds', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + data_disks: { + required: false, + serialized_name: 'dataDisks', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ComputeDataDiskFragmentElementType', + type: { + name: 'Composite', + class_name: 'ComputeDataDiskFragment' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb new file mode 100644 index 0000000000..5f72a7ff1f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb @@ -0,0 +1,91 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a cost threshold item. + # + class CostThresholdProperties + + include MsRestAzure + + # @return [String] The ID of the cost threshold item. + attr_accessor :threshold_id + + # @return [PercentageCostThresholdProperties] The value of the percentage + # cost threshold. + attr_accessor :percentage_threshold + + # @return [CostThresholdStatus] Indicates whether this threshold will be + # displayed on cost charts. Possible values include: 'Enabled', + # 'Disabled' + attr_accessor :display_on_chart + + # @return [CostThresholdStatus] Indicates whether notifications will be + # sent when this threshold is exceeded. Possible values include: + # 'Enabled', 'Disabled' + attr_accessor :send_notification_when_exceeded + + # @return [String] Indicates the datetime when notifications were last + # sent for this threshold. + attr_accessor :notification_sent + + + # + # Mapper for CostThresholdProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CostThresholdProperties', + type: { + name: 'Composite', + class_name: 'CostThresholdProperties', + model_properties: { + threshold_id: { + required: false, + serialized_name: 'thresholdId', + type: { + name: 'String' + } + }, + percentage_threshold: { + required: false, + serialized_name: 'percentageThreshold', + type: { + name: 'Composite', + class_name: 'PercentageCostThresholdProperties' + } + }, + display_on_chart: { + required: false, + serialized_name: 'displayOnChart', + type: { + name: 'String' + } + }, + send_notification_when_exceeded: { + required: false, + serialized_name: 'sendNotificationWhenExceeded', + type: { + name: 'String' + } + }, + notification_sent: { + required: false, + serialized_name: 'notificationSent', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_status.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_status.rb new file mode 100644 index 0000000000..173cb21046 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for CostThresholdStatus + # + module CostThresholdStatus + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_type.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_type.rb new file mode 100644 index 0000000000..75452deba0 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for CostType + # + module CostType + Unavailable = "Unavailable" + Reported = "Reported" + Projected = "Projected" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb new file mode 100644 index 0000000000..25eaa545c2 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb @@ -0,0 +1,218 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A custom image. + # + class CustomImage < Resource + + include MsRestAzure + + # @return [CustomImagePropertiesFromVm] The virtual machine from which + # the image is to be created. + attr_accessor :vm + + # @return [CustomImagePropertiesCustom] The VHD from which the image is + # to be created. + attr_accessor :vhd + + # @return [String] The description of the custom image. + attr_accessor :description + + # @return [String] The author of the custom image. + attr_accessor :author + + # @return [DateTime] The creation date of the custom image. + attr_accessor :creation_date + + # @return [String] The Managed Image Id backing the custom image. + attr_accessor :managed_image_id + + # @return [String] The Managed Snapshot Id backing the custom image. + attr_accessor :managed_snapshot_id + + # @return [Array] Storage information about the + # data disks present in the custom image + attr_accessor :data_disk_storage_info + + # @return [CustomImagePropertiesFromPlan] Storage information about the + # plan related to this custom image + attr_accessor :custom_image_plan + + # @return [Boolean] Whether or not the custom images underlying + # offer/plan has been enabled for programmatic deployment + attr_accessor :is_plan_authorized + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for CustomImage class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CustomImage', + type: { + name: 'Composite', + class_name: 'CustomImage', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + vm: { + required: false, + serialized_name: 'properties.vm', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesFromVm' + } + }, + vhd: { + required: false, + serialized_name: 'properties.vhd', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesCustom' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + author: { + required: false, + serialized_name: 'properties.author', + type: { + name: 'String' + } + }, + creation_date: { + required: false, + read_only: true, + serialized_name: 'properties.creationDate', + type: { + name: 'DateTime' + } + }, + managed_image_id: { + required: false, + serialized_name: 'properties.managedImageId', + type: { + name: 'String' + } + }, + managed_snapshot_id: { + required: false, + serialized_name: 'properties.managedSnapshotId', + type: { + name: 'String' + } + }, + data_disk_storage_info: { + required: false, + serialized_name: 'properties.dataDiskStorageInfo', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DataDiskStorageTypeInfoElementType', + type: { + name: 'Composite', + class_name: 'DataDiskStorageTypeInfo' + } + } + } + }, + custom_image_plan: { + required: false, + serialized_name: 'properties.customImagePlan', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesFromPlan' + } + }, + is_plan_authorized: { + required: false, + serialized_name: 'properties.isPlanAuthorized', + type: { + name: 'Boolean' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_fragment.rb new file mode 100644 index 0000000000..0ce7204523 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_fragment.rb @@ -0,0 +1,154 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A custom image. + # + class CustomImageFragment < UpdateResource + + include MsRestAzure + + # @return [CustomImagePropertiesFromVmFragment] The virtual machine from + # which the image is to be created. + attr_accessor :vm + + # @return [CustomImagePropertiesCustomFragment] The VHD from which the + # image is to be created. + attr_accessor :vhd + + # @return [String] The description of the custom image. + attr_accessor :description + + # @return [String] The author of the custom image. + attr_accessor :author + + # @return [String] The Managed Image Id backing the custom image. + attr_accessor :managed_image_id + + # @return [String] The Managed Snapshot Id backing the custom image. + attr_accessor :managed_snapshot_id + + # @return [Array] Storage information + # about the data disks present in the custom image + attr_accessor :data_disk_storage_info + + # @return [CustomImagePropertiesFromPlanFragment] Storage information + # about the plan related to this custom image + attr_accessor :custom_image_plan + + # @return [Boolean] Whether or not the custom images underlying + # offer/plan has been enabled for programmatic deployment + attr_accessor :is_plan_authorized + + + # + # Mapper for CustomImageFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CustomImageFragment', + type: { + name: 'Composite', + class_name: 'CustomImageFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + vm: { + required: false, + serialized_name: 'properties.vm', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesFromVmFragment' + } + }, + vhd: { + required: false, + serialized_name: 'properties.vhd', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesCustomFragment' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + author: { + required: false, + serialized_name: 'properties.author', + type: { + name: 'String' + } + }, + managed_image_id: { + required: false, + serialized_name: 'properties.managedImageId', + type: { + name: 'String' + } + }, + managed_snapshot_id: { + required: false, + serialized_name: 'properties.managedSnapshotId', + type: { + name: 'String' + } + }, + data_disk_storage_info: { + required: false, + serialized_name: 'properties.dataDiskStorageInfo', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DataDiskStorageTypeInfoFragmentElementType', + type: { + name: 'Composite', + class_name: 'DataDiskStorageTypeInfoFragment' + } + } + } + }, + custom_image_plan: { + required: false, + serialized_name: 'properties.customImagePlan', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesFromPlanFragment' + } + }, + is_plan_authorized: { + required: false, + serialized_name: 'properties.isPlanAuthorized', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_list.rb new file mode 100644 index 0000000000..f354ae6400 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class CustomImageList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [CustomImageList] 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 CustomImageList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CustomImageList', + type: { + name: 'Composite', + class_name: 'CustomImageList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'CustomImageElementType', + type: { + name: 'Composite', + class_name: 'CustomImage' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb new file mode 100644 index 0000000000..4bafaf9654 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_os_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for CustomImageOsType + # + module CustomImageOsType + Windows = "Windows" + Linux = "Linux" + None = "None" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb new file mode 100644 index 0000000000..5ae5253de4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb @@ -0,0 +1,65 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for creating a custom image from a VHD. + # + class CustomImagePropertiesCustom + + include MsRestAzure + + # @return [String] The image name. + attr_accessor :image_name + + # @return [Boolean] Indicates whether sysprep has been run on the VHD. + attr_accessor :sys_prep + + # @return [CustomImageOsType] The OS type of the custom image (i.e. + # Windows, Linux). Possible values include: 'Windows', 'Linux', 'None' + attr_accessor :os_type + + + # + # Mapper for CustomImagePropertiesCustom class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CustomImagePropertiesCustom', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesCustom', + model_properties: { + image_name: { + required: false, + serialized_name: 'imageName', + type: { + name: 'String' + } + }, + sys_prep: { + required: false, + serialized_name: 'sysPrep', + type: { + name: 'Boolean' + } + }, + os_type: { + required: true, + serialized_name: 'osType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom_fragment.rb new file mode 100644 index 0000000000..886e16b3ae --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom_fragment.rb @@ -0,0 +1,65 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for creating a custom image from a VHD. + # + class CustomImagePropertiesCustomFragment + + include MsRestAzure + + # @return [String] The image name. + attr_accessor :image_name + + # @return [Boolean] Indicates whether sysprep has been run on the VHD. + attr_accessor :sys_prep + + # @return [CustomImageOsType] The OS type of the custom image (i.e. + # Windows, Linux). Possible values include: 'Windows', 'Linux', 'None' + attr_accessor :os_type + + + # + # Mapper for CustomImagePropertiesCustomFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CustomImagePropertiesCustomFragment', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesCustomFragment', + model_properties: { + image_name: { + required: false, + serialized_name: 'imageName', + type: { + name: 'String' + } + }, + sys_prep: { + required: false, + serialized_name: 'sysPrep', + type: { + name: 'Boolean' + } + }, + os_type: { + required: false, + serialized_name: 'osType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_plan.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_plan.rb new file mode 100644 index 0000000000..b44a12338e --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_plan.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for plan on a custom image. + # + class CustomImagePropertiesFromPlan + + include MsRestAzure + + # @return [String] The id of the plan, equivalent to name of the plan + attr_accessor :id + + # @return [String] The publisher for the plan from the marketplace image + # the custom image is derived from + attr_accessor :publisher + + # @return [String] The offer for the plan from the marketplace image the + # custom image is derived from + attr_accessor :offer + + + # + # Mapper for CustomImagePropertiesFromPlan class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CustomImagePropertiesFromPlan', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesFromPlan', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + }, + publisher: { + required: false, + serialized_name: 'publisher', + type: { + name: 'String' + } + }, + offer: { + required: false, + serialized_name: 'offer', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_plan_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_plan_fragment.rb new file mode 100644 index 0000000000..762ef401b2 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_plan_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for plan on a custom image. + # + class CustomImagePropertiesFromPlanFragment + + include MsRestAzure + + # @return [String] The id of the plan, equivalent to name of the plan + attr_accessor :id + + # @return [String] The publisher for the plan from the marketplace image + # the custom image is derived from + attr_accessor :publisher + + # @return [String] The offer for the plan from the marketplace image the + # custom image is derived from + attr_accessor :offer + + + # + # Mapper for CustomImagePropertiesFromPlanFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CustomImagePropertiesFromPlanFragment', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesFromPlanFragment', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + }, + publisher: { + required: false, + serialized_name: 'publisher', + type: { + name: 'String' + } + }, + offer: { + required: false, + serialized_name: 'offer', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb new file mode 100644 index 0000000000..77cb26b68a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for creating a custom image from a virtual machine. + # + class CustomImagePropertiesFromVm + + include MsRestAzure + + # @return [String] The source vm identifier. + attr_accessor :source_vm_id + + # @return [WindowsOsInfo] The Windows OS information of the VM. + attr_accessor :windows_os_info + + # @return [LinuxOsInfo] The Linux OS information of the VM. + attr_accessor :linux_os_info + + + # + # Mapper for CustomImagePropertiesFromVm class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CustomImagePropertiesFromVm', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesFromVm', + model_properties: { + source_vm_id: { + required: false, + serialized_name: 'sourceVmId', + type: { + name: 'String' + } + }, + windows_os_info: { + required: false, + serialized_name: 'windowsOsInfo', + type: { + name: 'Composite', + class_name: 'WindowsOsInfo' + } + }, + linux_os_info: { + required: false, + serialized_name: 'linuxOsInfo', + type: { + name: 'Composite', + class_name: 'LinuxOsInfo' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm_fragment.rb new file mode 100644 index 0000000000..f3a5a06ed5 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for creating a custom image from a virtual machine. + # + class CustomImagePropertiesFromVmFragment + + include MsRestAzure + + # @return [String] The source vm identifier. + attr_accessor :source_vm_id + + # @return [WindowsOsInfoFragment] The Windows OS information of the VM. + attr_accessor :windows_os_info + + # @return [LinuxOsInfoFragment] The Linux OS information of the VM. + attr_accessor :linux_os_info + + + # + # Mapper for CustomImagePropertiesFromVmFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'CustomImagePropertiesFromVmFragment', + type: { + name: 'Composite', + class_name: 'CustomImagePropertiesFromVmFragment', + model_properties: { + source_vm_id: { + required: false, + serialized_name: 'sourceVmId', + type: { + name: 'String' + } + }, + windows_os_info: { + required: false, + serialized_name: 'windowsOsInfo', + type: { + name: 'Composite', + class_name: 'WindowsOsInfoFragment' + } + }, + linux_os_info: { + required: false, + serialized_name: 'linuxOsInfo', + type: { + name: 'Composite', + class_name: 'LinuxOsInfoFragment' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb new file mode 100644 index 0000000000..868f4e8379 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb @@ -0,0 +1,69 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Request body for adding a new or existing data disk to a virtual machine. + # + class DataDiskProperties + + include MsRestAzure + + # @return [AttachNewDataDiskOptions] Specifies options to attach a new + # disk to the virtual machine. + attr_accessor :attach_new_data_disk_options + + # @return [String] Specifies the existing lab disk id to attach to + # virtual machine. + attr_accessor :existing_lab_disk_id + + # @return [HostCachingOptions] Caching option for a data disk (i.e. None, + # ReadOnly, ReadWrite). Possible values include: 'None', 'ReadOnly', + # 'ReadWrite' + attr_accessor :host_caching + + + # + # Mapper for DataDiskProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DataDiskProperties', + type: { + name: 'Composite', + class_name: 'DataDiskProperties', + model_properties: { + attach_new_data_disk_options: { + required: false, + serialized_name: 'attachNewDataDiskOptions', + type: { + name: 'Composite', + class_name: 'AttachNewDataDiskOptions' + } + }, + existing_lab_disk_id: { + required: false, + serialized_name: 'existingLabDiskId', + type: { + name: 'String' + } + }, + host_caching: { + required: false, + serialized_name: 'hostCaching', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties_fragment.rb new file mode 100644 index 0000000000..b565017e60 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties_fragment.rb @@ -0,0 +1,69 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Request body for adding a new or existing data disk to a virtual machine. + # + class DataDiskPropertiesFragment + + include MsRestAzure + + # @return [AttachNewDataDiskOptionsFragment] Specifies options to attach + # a new disk to the virtual machine. + attr_accessor :attach_new_data_disk_options + + # @return [String] Specifies the existing lab disk id to attach to + # virtual machine. + attr_accessor :existing_lab_disk_id + + # @return [HostCachingOptions] Caching option for a data disk (i.e. None, + # ReadOnly, ReadWrite). Possible values include: 'None', 'ReadOnly', + # 'ReadWrite' + attr_accessor :host_caching + + + # + # Mapper for DataDiskPropertiesFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DataDiskPropertiesFragment', + type: { + name: 'Composite', + class_name: 'DataDiskPropertiesFragment', + model_properties: { + attach_new_data_disk_options: { + required: false, + serialized_name: 'attachNewDataDiskOptions', + type: { + name: 'Composite', + class_name: 'AttachNewDataDiskOptionsFragment' + } + }, + existing_lab_disk_id: { + required: false, + serialized_name: 'existingLabDiskId', + type: { + name: 'String' + } + }, + host_caching: { + required: false, + serialized_name: 'hostCaching', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info.rb new file mode 100644 index 0000000000..9264c4699a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Storage information about the data disks present in the custom image + # + class DataDiskStorageTypeInfo + + include MsRestAzure + + # @return [String] Disk Lun + attr_accessor :lun + + # @return [StorageType] Disk Storage Type. Possible values include: + # 'Standard', 'Premium' + attr_accessor :storage_type + + + # + # Mapper for DataDiskStorageTypeInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DataDiskStorageTypeInfo', + type: { + name: 'Composite', + class_name: 'DataDiskStorageTypeInfo', + model_properties: { + lun: { + required: false, + serialized_name: 'lun', + type: { + name: 'String' + } + }, + storage_type: { + required: false, + serialized_name: 'storageType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info_fragment.rb new file mode 100644 index 0000000000..c56bfbdb95 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Storage information about the data disks present in the custom image + # + class DataDiskStorageTypeInfoFragment + + include MsRestAzure + + # @return [String] Disk Lun + attr_accessor :lun + + # @return [StorageType] Disk Storage Type. Possible values include: + # 'Standard', 'Premium' + attr_accessor :storage_type + + + # + # Mapper for DataDiskStorageTypeInfoFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DataDiskStorageTypeInfoFragment', + type: { + name: 'Composite', + class_name: 'DataDiskStorageTypeInfoFragment', + model_properties: { + lun: { + required: false, + serialized_name: 'lun', + type: { + name: 'String' + } + }, + storage_type: { + required: false, + serialized_name: 'storageType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/day_details.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/day_details.rb new file mode 100644 index 0000000000..43c9447d3e --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/day_details.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a daily schedule. + # + class DayDetails + + include MsRestAzure + + # @return [String] The time of day the schedule will occur. + attr_accessor :time + + + # + # Mapper for DayDetails class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DayDetails', + type: { + name: 'Composite', + class_name: 'DayDetails', + model_properties: { + time: { + required: false, + serialized_name: 'time', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb new file mode 100644 index 0000000000..56af362c9f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a daily schedule. + # + class DayDetailsFragment + + include MsRestAzure + + # @return [String] The time of day the schedule will occur. + attr_accessor :time + + + # + # Mapper for DayDetailsFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DayDetailsFragment', + type: { + name: 'Composite', + class_name: 'DayDetailsFragment', + model_properties: { + time: { + required: false, + serialized_name: 'time', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb new file mode 100644 index 0000000000..d053586400 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Request body for detaching data disk from a virtual machine. + # + class DetachDataDiskProperties + + include MsRestAzure + + # @return [String] Specifies the disk resource ID to detach from virtual + # machine. + attr_accessor :existing_lab_disk_id + + + # + # Mapper for DetachDataDiskProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DetachDataDiskProperties', + type: { + name: 'Composite', + class_name: 'DetachDataDiskProperties', + model_properties: { + existing_lab_disk_id: { + required: false, + serialized_name: 'existingLabDiskId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb new file mode 100644 index 0000000000..edf78da23a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of the disk to detach. + # + class DetachDiskProperties + + include MsRestAzure + + # @return [String] The resource ID of the Lab VM to which the disk is + # attached. + attr_accessor :leased_by_lab_vm_id + + + # + # Mapper for DetachDiskProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DetachDiskProperties', + type: { + name: 'Composite', + class_name: 'DetachDiskProperties', + model_properties: { + leased_by_lab_vm_id: { + required: false, + serialized_name: 'leasedByLabVmId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk.rb new file mode 100644 index 0000000000..de5249d455 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk.rb @@ -0,0 +1,187 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A Disk. + # + class Disk < Resource + + include MsRestAzure + + # @return [StorageType] The storage type for the disk (i.e. Standard, + # Premium). Possible values include: 'Standard', 'Premium' + attr_accessor :disk_type + + # @return [Integer] The size of the disk in GibiBytes. + attr_accessor :disk_size_gi_b + + # @return [String] The resource ID of the VM to which this disk is + # leased. + attr_accessor :leased_by_lab_vm_id + + # @return [String] When backed by a blob, the name of the VHD blob + # without extension. + attr_accessor :disk_blob_name + + # @return [String] When backed by a blob, the URI of underlying blob. + attr_accessor :disk_uri + + # @return [DateTime] The creation date of the disk. + attr_accessor :created_date + + # @return [String] The host caching policy of the disk (i.e. None, + # ReadOnly, ReadWrite). + attr_accessor :host_caching + + # @return [String] When backed by managed disk, this is the ID of the + # compute disk resource. + attr_accessor :managed_disk_id + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for Disk class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Disk', + type: { + name: 'Composite', + class_name: 'Disk', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + disk_type: { + required: false, + serialized_name: 'properties.diskType', + type: { + name: 'String' + } + }, + disk_size_gi_b: { + required: false, + serialized_name: 'properties.diskSizeGiB', + type: { + name: 'Number' + } + }, + leased_by_lab_vm_id: { + required: false, + serialized_name: 'properties.leasedByLabVmId', + type: { + name: 'String' + } + }, + disk_blob_name: { + required: false, + serialized_name: 'properties.diskBlobName', + type: { + name: 'String' + } + }, + disk_uri: { + required: false, + serialized_name: 'properties.diskUri', + type: { + name: 'String' + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + host_caching: { + required: false, + serialized_name: 'properties.hostCaching', + type: { + name: 'String' + } + }, + managed_disk_id: { + required: false, + serialized_name: 'properties.managedDiskId', + type: { + name: 'String' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_fragment.rb new file mode 100644 index 0000000000..a28c778fe5 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A Disk. + # + class DiskFragment < UpdateResource + + include MsRestAzure + + # @return [StorageType] The storage type for the disk (i.e. Standard, + # Premium). Possible values include: 'Standard', 'Premium' + attr_accessor :disk_type + + # @return [Integer] The size of the disk in GibiBytes. + attr_accessor :disk_size_gi_b + + # @return [String] The resource ID of the VM to which this disk is + # leased. + attr_accessor :leased_by_lab_vm_id + + # @return [String] When backed by a blob, the name of the VHD blob + # without extension. + attr_accessor :disk_blob_name + + # @return [String] When backed by a blob, the URI of underlying blob. + attr_accessor :disk_uri + + # @return [String] The host caching policy of the disk (i.e. None, + # ReadOnly, ReadWrite). + attr_accessor :host_caching + + # @return [String] When backed by managed disk, this is the ID of the + # compute disk resource. + attr_accessor :managed_disk_id + + + # + # Mapper for DiskFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DiskFragment', + type: { + name: 'Composite', + class_name: 'DiskFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + disk_type: { + required: false, + serialized_name: 'properties.diskType', + type: { + name: 'String' + } + }, + disk_size_gi_b: { + required: false, + serialized_name: 'properties.diskSizeGiB', + type: { + name: 'Number' + } + }, + leased_by_lab_vm_id: { + required: false, + serialized_name: 'properties.leasedByLabVmId', + type: { + name: 'String' + } + }, + disk_blob_name: { + required: false, + serialized_name: 'properties.diskBlobName', + type: { + name: 'String' + } + }, + disk_uri: { + required: false, + serialized_name: 'properties.diskUri', + type: { + name: 'String' + } + }, + host_caching: { + required: false, + serialized_name: 'properties.hostCaching', + type: { + name: 'String' + } + }, + managed_disk_id: { + required: false, + serialized_name: 'properties.managedDiskId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_list.rb new file mode 100644 index 0000000000..31955e1617 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class DiskList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [DiskList] 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 DiskList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DiskList', + type: { + name: 'Composite', + class_name: 'DiskList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DiskElementType', + type: { + name: 'Composite', + class_name: 'Disk' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb new file mode 100644 index 0000000000..9b768efd22 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment.rb @@ -0,0 +1,147 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # An environment, which is essentially an ARM template deployment. + # + class DtlEnvironment < Resource + + include MsRestAzure + + # @return [EnvironmentDeploymentProperties] The deployment properties of + # the environment. + attr_accessor :deployment_properties + + # @return [String] The display name of the Azure Resource Manager + # template that produced the environment. + attr_accessor :arm_template_display_name + + # @return [String] The identifier of the resource group containing the + # environment's resources. + attr_accessor :resource_group_id + + # @return [String] The creator of the environment. + attr_accessor :created_by_user + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for DtlEnvironment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DtlEnvironment', + type: { + name: 'Composite', + class_name: 'DtlEnvironment', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + deployment_properties: { + required: false, + serialized_name: 'properties.deploymentProperties', + type: { + name: 'Composite', + class_name: 'EnvironmentDeploymentProperties' + } + }, + arm_template_display_name: { + required: false, + serialized_name: 'properties.armTemplateDisplayName', + type: { + name: 'String' + } + }, + resource_group_id: { + required: false, + read_only: true, + serialized_name: 'properties.resourceGroupId', + type: { + name: 'String' + } + }, + created_by_user: { + required: false, + read_only: true, + serialized_name: 'properties.createdByUser', + type: { + name: 'String' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment_fragment.rb new file mode 100644 index 0000000000..740d9d1dc0 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment_fragment.rb @@ -0,0 +1,71 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # An environment, which is essentially an ARM template deployment. + # + class DtlEnvironmentFragment < UpdateResource + + include MsRestAzure + + # @return [EnvironmentDeploymentPropertiesFragment] The deployment + # properties of the environment. + attr_accessor :deployment_properties + + # @return [String] The display name of the Azure Resource Manager + # template that produced the environment. + attr_accessor :arm_template_display_name + + + # + # Mapper for DtlEnvironmentFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DtlEnvironmentFragment', + type: { + name: 'Composite', + class_name: 'DtlEnvironmentFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + deployment_properties: { + required: false, + serialized_name: 'properties.deploymentProperties', + type: { + name: 'Composite', + class_name: 'EnvironmentDeploymentPropertiesFragment' + } + }, + arm_template_display_name: { + required: false, + serialized_name: 'properties.armTemplateDisplayName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment_list.rb new file mode 100644 index 0000000000..0cefbeafca --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/dtl_environment_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class DtlEnvironmentList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [DtlEnvironmentList] 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 DtlEnvironmentList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'DtlEnvironmentList', + type: { + name: 'Composite', + class_name: 'DtlEnvironmentList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DtlEnvironmentElementType', + type: { + name: 'Composite', + class_name: 'DtlEnvironment' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/enable_status.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/enable_status.rb new file mode 100644 index 0000000000..a7183b4f44 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/enable_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for EnableStatus + # + module EnableStatus + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb new file mode 100644 index 0000000000..19ca7ae3e8 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb @@ -0,0 +1,63 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an environment deployment. + # + class EnvironmentDeploymentProperties + + include MsRestAzure + + # @return [String] The Azure Resource Manager template's identifier. + attr_accessor :arm_template_id + + # @return [Array] The parameters of the + # Azure Resource Manager template. + attr_accessor :parameters + + + # + # Mapper for EnvironmentDeploymentProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EnvironmentDeploymentProperties', + type: { + name: 'Composite', + class_name: 'EnvironmentDeploymentProperties', + model_properties: { + arm_template_id: { + required: false, + serialized_name: 'armTemplateId', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serialized_name: 'parameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArmTemplateParameterPropertiesElementType', + type: { + name: 'Composite', + class_name: 'ArmTemplateParameterProperties' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties_fragment.rb new file mode 100644 index 0000000000..4c6af0bc8a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties_fragment.rb @@ -0,0 +1,63 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an environment deployment. + # + class EnvironmentDeploymentPropertiesFragment + + include MsRestAzure + + # @return [String] The Azure Resource Manager template's identifier. + attr_accessor :arm_template_id + + # @return [Array] The parameters + # of the Azure Resource Manager template. + attr_accessor :parameters + + + # + # Mapper for EnvironmentDeploymentPropertiesFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EnvironmentDeploymentPropertiesFragment', + type: { + name: 'Composite', + class_name: 'EnvironmentDeploymentPropertiesFragment', + model_properties: { + arm_template_id: { + required: false, + serialized_name: 'armTemplateId', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serialized_name: 'parameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArmTemplateParameterPropertiesFragmentElementType', + type: { + name: 'Composite', + class_name: 'ArmTemplateParameterPropertiesFragment' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_permission.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_permission.rb new file mode 100644 index 0000000000..a34a2535c9 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/environment_permission.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for EnvironmentPermission + # + module EnvironmentPermission + Reader = "Reader" + Contributor = "Contributor" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb new file mode 100644 index 0000000000..ed3c014dd8 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb @@ -0,0 +1,74 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for evaluating a policy set. + # + class EvaluatePoliciesProperties + + include MsRestAzure + + # @return [String] The fact name. + attr_accessor :fact_name + + # @return [String] The fact data. + attr_accessor :fact_data + + # @return [String] The value offset. + attr_accessor :value_offset + + # @return [String] The user for which policies will be evaluated + attr_accessor :user_object_id + + + # + # Mapper for EvaluatePoliciesProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EvaluatePoliciesProperties', + type: { + name: 'Composite', + class_name: 'EvaluatePoliciesProperties', + model_properties: { + fact_name: { + required: false, + serialized_name: 'factName', + type: { + name: 'String' + } + }, + fact_data: { + required: false, + serialized_name: 'factData', + type: { + name: 'String' + } + }, + value_offset: { + required: false, + serialized_name: 'valueOffset', + type: { + name: 'String' + } + }, + user_object_id: { + required: false, + serialized_name: 'userObjectId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb new file mode 100644 index 0000000000..db59db4f05 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Request body for evaluating a policy set. + # + class EvaluatePoliciesRequest + + include MsRestAzure + + # @return [Array] Policies to evaluate. + attr_accessor :policies + + + # + # Mapper for EvaluatePoliciesRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EvaluatePoliciesRequest', + type: { + name: 'Composite', + class_name: 'EvaluatePoliciesRequest', + model_properties: { + policies: { + required: false, + serialized_name: 'policies', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EvaluatePoliciesPropertiesElementType', + type: { + name: 'Composite', + class_name: 'EvaluatePoliciesProperties' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb new file mode 100644 index 0000000000..78584ee870 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Response body for evaluating a policy set. + # + class EvaluatePoliciesResponse + + include MsRestAzure + + # @return [Array] Results of evaluating a policy set. + attr_accessor :results + + + # + # Mapper for EvaluatePoliciesResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EvaluatePoliciesResponse', + type: { + name: 'Composite', + class_name: 'EvaluatePoliciesResponse', + model_properties: { + results: { + required: false, + serialized_name: 'results', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'PolicySetResultElementType', + type: { + name: 'Composite', + class_name: 'PolicySetResult' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/event.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/event.rb new file mode 100644 index 0000000000..8f5c810bc1 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/event.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # An event to be notified for. + # + class Event + + include MsRestAzure + + # @return [NotificationChannelEventType] The event type for which this + # notification is enabled (i.e. AutoShutdown, Cost). Possible values + # include: 'AutoShutdown', 'Cost' + attr_accessor :event_name + + + # + # Mapper for Event class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Event', + type: { + name: 'Composite', + class_name: 'Event', + model_properties: { + event_name: { + required: false, + serialized_name: 'eventName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/event_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/event_fragment.rb new file mode 100644 index 0000000000..e0fc206b65 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/event_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # An event to be notified for. + # + class EventFragment + + include MsRestAzure + + # @return [NotificationChannelEventType] The event type for which this + # notification is enabled (i.e. AutoShutdown, Cost). Possible values + # include: 'AutoShutdown', 'Cost' + attr_accessor :event_name + + + # + # Mapper for EventFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'EventFragment', + type: { + name: 'Composite', + class_name: 'EventFragment', + model_properties: { + event_name: { + required: false, + serialized_name: 'eventName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb new file mode 100644 index 0000000000..6b6e5a84cb --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The parameters of the export operation. + # + class ExportResourceUsageParameters + + include MsRestAzure + + # @return [String] The blob storage absolute sas uri with write + # permission to the container which the usage data needs to be uploaded + # to. + attr_accessor :blob_storage_absolute_sas_uri + + # @return [DateTime] The start time of the usage. If not provided, usage + # will be reported since the beginning of data collection. + attr_accessor :usage_start_date + + + # + # Mapper for ExportResourceUsageParameters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ExportResourceUsageParameters', + type: { + name: 'Composite', + class_name: 'ExportResourceUsageParameters', + model_properties: { + blob_storage_absolute_sas_uri: { + required: false, + serialized_name: 'blobStorageAbsoluteSasUri', + type: { + name: 'String' + } + }, + usage_start_date: { + required: false, + serialized_name: 'usageStartDate', + type: { + name: 'DateTime' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/external_subnet.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/external_subnet.rb new file mode 100644 index 0000000000..b8b2d75966 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/external_subnet.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Subnet information as returned by the Microsoft.Network API. + # + class ExternalSubnet + + include MsRestAzure + + # @return [String] Gets or sets the identifier. + attr_accessor :id + + # @return [String] Gets or sets the name. + attr_accessor :name + + + # + # Mapper for ExternalSubnet class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ExternalSubnet', + type: { + name: 'Composite', + class_name: 'ExternalSubnet', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb new file mode 100644 index 0000000000..a34ede7f35 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Subnet information as returned by the Microsoft.Network API. + # + class ExternalSubnetFragment + + include MsRestAzure + + # @return [String] Gets or sets the identifier. + attr_accessor :id + + # @return [String] Gets or sets the name. + attr_accessor :name + + + # + # Mapper for ExternalSubnetFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ExternalSubnetFragment', + type: { + name: 'Composite', + class_name: 'ExternalSubnetFragment', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/file_upload_options.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/file_upload_options.rb new file mode 100644 index 0000000000..e562945e30 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/file_upload_options.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for FileUploadOptions + # + module FileUploadOptions + UploadFilesAndGenerateSasTokens = "UploadFilesAndGenerateSasTokens" + None = "None" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula.rb new file mode 100644 index 0000000000..ba0333971f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula.rb @@ -0,0 +1,167 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A formula for creating a VM, specifying an image base and other + # parameters + # + class Formula < Resource + + include MsRestAzure + + # @return [String] The description of the formula. + attr_accessor :description + + # @return [String] The author of the formula. + attr_accessor :author + + # @return [String] The OS type of the formula. + attr_accessor :os_type + + # @return [DateTime] The creation date of the formula. + attr_accessor :creation_date + + # @return [LabVirtualMachineCreationParameter] The content of the + # formula. + attr_accessor :formula_content + + # @return [FormulaPropertiesFromVm] Information about a VM from which a + # formula is to be created. + attr_accessor :vm + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for Formula class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Formula', + type: { + name: 'Composite', + class_name: 'Formula', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + author: { + required: false, + serialized_name: 'properties.author', + type: { + name: 'String' + } + }, + os_type: { + required: false, + serialized_name: 'properties.osType', + type: { + name: 'String' + } + }, + creation_date: { + required: false, + read_only: true, + serialized_name: 'properties.creationDate', + type: { + name: 'DateTime' + } + }, + formula_content: { + required: false, + serialized_name: 'properties.formulaContent', + type: { + name: 'Composite', + class_name: 'LabVirtualMachineCreationParameter' + } + }, + vm: { + required: false, + serialized_name: 'properties.vm', + type: { + name: 'Composite', + class_name: 'FormulaPropertiesFromVm' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_fragment.rb new file mode 100644 index 0000000000..d1bfce3091 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_fragment.rb @@ -0,0 +1,103 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A formula for creating a VM, specifying an image base and other + # parameters + # + class FormulaFragment < UpdateResource + + include MsRestAzure + + # @return [String] The description of the formula. + attr_accessor :description + + # @return [String] The author of the formula. + attr_accessor :author + + # @return [String] The OS type of the formula. + attr_accessor :os_type + + # @return [LabVirtualMachineCreationParameterFragment] The content of the + # formula. + attr_accessor :formula_content + + # @return [FormulaPropertiesFromVmFragment] Information about a VM from + # which a formula is to be created. + attr_accessor :vm + + + # + # Mapper for FormulaFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FormulaFragment', + type: { + name: 'Composite', + class_name: 'FormulaFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + author: { + required: false, + serialized_name: 'properties.author', + type: { + name: 'String' + } + }, + os_type: { + required: false, + serialized_name: 'properties.osType', + type: { + name: 'String' + } + }, + formula_content: { + required: false, + serialized_name: 'properties.formulaContent', + type: { + name: 'Composite', + class_name: 'LabVirtualMachineCreationParameterFragment' + } + }, + vm: { + required: false, + serialized_name: 'properties.vm', + type: { + name: 'Composite', + class_name: 'FormulaPropertiesFromVmFragment' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_list.rb new file mode 100644 index 0000000000..0dcc37a32c --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class FormulaList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [FormulaList] 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 FormulaList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FormulaList', + type: { + name: 'Composite', + class_name: 'FormulaList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'FormulaElementType', + type: { + name: 'Composite', + class_name: 'Formula' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb new file mode 100644 index 0000000000..84c4489417 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Information about a VM from which a formula is to be created. + # + class FormulaPropertiesFromVm + + include MsRestAzure + + # @return [String] The identifier of the VM from which a formula is to be + # created. + attr_accessor :lab_vm_id + + + # + # Mapper for FormulaPropertiesFromVm class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FormulaPropertiesFromVm', + type: { + name: 'Composite', + class_name: 'FormulaPropertiesFromVm', + model_properties: { + lab_vm_id: { + required: false, + serialized_name: 'labVmId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm_fragment.rb new file mode 100644 index 0000000000..9e0fd32e14 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Information about a VM from which a formula is to be created. + # + class FormulaPropertiesFromVmFragment + + include MsRestAzure + + # @return [String] The identifier of the VM from which a formula is to be + # created. + attr_accessor :lab_vm_id + + + # + # Mapper for FormulaPropertiesFromVmFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'FormulaPropertiesFromVmFragment', + type: { + name: 'Composite', + class_name: 'FormulaPropertiesFromVmFragment', + model_properties: { + lab_vm_id: { + required: false, + serialized_name: 'labVmId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image.rb new file mode 100644 index 0000000000..6abb3b424e --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A gallery image. + # + class GalleryImage < Resource + + include MsRestAzure + + # @return [String] The author of the gallery image. + attr_accessor :author + + # @return [DateTime] The creation date of the gallery image. + attr_accessor :created_date + + # @return [String] The description of the gallery image. + attr_accessor :description + + # @return [GalleryImageReference] The image reference of the gallery + # image. + attr_accessor :image_reference + + # @return [String] The icon of the gallery image. + attr_accessor :icon + + # @return [Boolean] Indicates whether this gallery image is enabled. + attr_accessor :enabled + + # @return [String] The third party plan that applies to this image + attr_accessor :plan_id + + # @return [Boolean] Indicates if the plan has been authorized for + # programmatic deployment. + attr_accessor :is_plan_authorized + + + # + # Mapper for GalleryImage class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GalleryImage', + type: { + name: 'Composite', + class_name: 'GalleryImage', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + author: { + required: false, + serialized_name: 'properties.author', + type: { + name: 'String' + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + image_reference: { + required: false, + serialized_name: 'properties.imageReference', + type: { + name: 'Composite', + class_name: 'GalleryImageReference' + } + }, + icon: { + required: false, + serialized_name: 'properties.icon', + type: { + name: 'String' + } + }, + enabled: { + required: false, + serialized_name: 'properties.enabled', + type: { + name: 'Boolean' + } + }, + plan_id: { + required: false, + serialized_name: 'properties.planId', + type: { + name: 'String' + } + }, + is_plan_authorized: { + required: false, + serialized_name: 'properties.isPlanAuthorized', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_list.rb new file mode 100644 index 0000000000..5a135d9042 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class GalleryImageList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [GalleryImageList] 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 GalleryImageList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GalleryImageList', + type: { + name: 'Composite', + class_name: 'GalleryImageList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'GalleryImageElementType', + type: { + name: 'Composite', + class_name: 'GalleryImage' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb new file mode 100644 index 0000000000..456e5dd8ce --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb @@ -0,0 +1,84 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The reference information for an Azure Marketplace image. + # + class GalleryImageReference + + include MsRestAzure + + # @return [String] The offer of the gallery image. + attr_accessor :offer + + # @return [String] The publisher of the gallery image. + attr_accessor :publisher + + # @return [String] The SKU of the gallery image. + attr_accessor :sku + + # @return [String] The OS type of the gallery image. + attr_accessor :os_type + + # @return [String] The version of the gallery image. + attr_accessor :version + + + # + # Mapper for GalleryImageReference class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GalleryImageReference', + type: { + name: 'Composite', + class_name: 'GalleryImageReference', + model_properties: { + offer: { + required: false, + serialized_name: 'offer', + type: { + name: 'String' + } + }, + publisher: { + required: false, + serialized_name: 'publisher', + type: { + name: 'String' + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'String' + } + }, + os_type: { + required: false, + serialized_name: 'osType', + type: { + name: 'String' + } + }, + version: { + required: false, + serialized_name: 'version', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb new file mode 100644 index 0000000000..e69ccd47e3 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb @@ -0,0 +1,84 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The reference information for an Azure Marketplace image. + # + class GalleryImageReferenceFragment + + include MsRestAzure + + # @return [String] The offer of the gallery image. + attr_accessor :offer + + # @return [String] The publisher of the gallery image. + attr_accessor :publisher + + # @return [String] The SKU of the gallery image. + attr_accessor :sku + + # @return [String] The OS type of the gallery image. + attr_accessor :os_type + + # @return [String] The version of the gallery image. + attr_accessor :version + + + # + # Mapper for GalleryImageReferenceFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GalleryImageReferenceFragment', + type: { + name: 'Composite', + class_name: 'GalleryImageReferenceFragment', + model_properties: { + offer: { + required: false, + serialized_name: 'offer', + type: { + name: 'String' + } + }, + publisher: { + required: false, + serialized_name: 'publisher', + type: { + name: 'String' + } + }, + sku: { + required: false, + serialized_name: 'sku', + type: { + name: 'String' + } + }, + os_type: { + required: false, + serialized_name: 'osType', + type: { + name: 'String' + } + }, + version: { + required: false, + serialized_name: 'version', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb new file mode 100644 index 0000000000..15c9fa8a16 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb @@ -0,0 +1,84 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Parameters for generating an ARM template for deploying artifacts. + # + class GenerateArmTemplateRequest + + include MsRestAzure + + # @return [String] The resource name of the virtual machine. + attr_accessor :virtual_machine_name + + # @return [Array] The parameters of the ARM template. + attr_accessor :parameters + + # @return [String] The location of the virtual machine. + attr_accessor :location + + # @return [FileUploadOptions] Options for uploading the files for the + # artifact. UploadFilesAndGenerateSasTokens is the default value. + # Possible values include: 'UploadFilesAndGenerateSasTokens', 'None' + attr_accessor :file_upload_options + + + # + # Mapper for GenerateArmTemplateRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GenerateArmTemplateRequest', + type: { + name: 'Composite', + class_name: 'GenerateArmTemplateRequest', + model_properties: { + virtual_machine_name: { + required: false, + serialized_name: 'virtualMachineName', + type: { + name: 'String' + } + }, + parameters: { + required: false, + serialized_name: 'parameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ParameterInfoElementType', + type: { + name: 'Composite', + class_name: 'ParameterInfo' + } + } + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + file_upload_options: { + required: false, + serialized_name: 'fileUploadOptions', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb new file mode 100644 index 0000000000..f59d616ce9 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for generating an upload URI. + # + class GenerateUploadUriParameter + + include MsRestAzure + + # @return [String] The blob name of the upload URI. + attr_accessor :blob_name + + + # + # Mapper for GenerateUploadUriParameter class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GenerateUploadUriParameter', + type: { + name: 'Composite', + class_name: 'GenerateUploadUriParameter', + model_properties: { + blob_name: { + required: false, + serialized_name: 'blobName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb new file mode 100644 index 0000000000..16735a7a37 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Reponse body for generating an upload URI. + # + class GenerateUploadUriResponse + + include MsRestAzure + + # @return [String] The upload URI for the VHD. + attr_accessor :upload_uri + + + # + # Mapper for GenerateUploadUriResponse class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'GenerateUploadUriResponse', + type: { + name: 'Composite', + class_name: 'GenerateUploadUriResponse', + model_properties: { + upload_uri: { + required: false, + serialized_name: 'uploadUri', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/host_caching_options.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/host_caching_options.rb new file mode 100644 index 0000000000..0f0c101384 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/host_caching_options.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for HostCachingOptions + # + module HostCachingOptions + None = "None" + ReadOnly = "ReadOnly" + ReadWrite = "ReadWrite" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/hour_details.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/hour_details.rb new file mode 100644 index 0000000000..e169840332 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/hour_details.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an hourly schedule. + # + class HourDetails + + include MsRestAzure + + # @return [Integer] Minutes of the hour the schedule will run. + attr_accessor :minute + + + # + # Mapper for HourDetails class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'HourDetails', + type: { + name: 'Composite', + class_name: 'HourDetails', + model_properties: { + minute: { + required: false, + serialized_name: 'minute', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb new file mode 100644 index 0000000000..de9bb06dc4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of an hourly schedule. + # + class HourDetailsFragment + + include MsRestAzure + + # @return [Integer] Minutes of the hour the schedule will run. + attr_accessor :minute + + + # + # Mapper for HourDetailsFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'HourDetailsFragment', + type: { + name: 'Composite', + class_name: 'HourDetailsFragment', + model_properties: { + minute: { + required: false, + serialized_name: 'minute', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/http_status_code.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/http_status_code.rb new file mode 100644 index 0000000000..624047fe14 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/http_status_code.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for HttpStatusCode + # + module HttpStatusCode + Continue = "Continue" + SwitchingProtocols = "SwitchingProtocols" + OK = "OK" + Created = "Created" + Accepted = "Accepted" + NonAuthoritativeInformation = "NonAuthoritativeInformation" + NoContent = "NoContent" + ResetContent = "ResetContent" + PartialContent = "PartialContent" + MultipleChoices = "MultipleChoices" + MovedPermanently = "MovedPermanently" + Redirect = "Redirect" + SeeOther = "SeeOther" + NotModified = "NotModified" + UseProxy = "UseProxy" + Unused = "Unused" + TemporaryRedirect = "TemporaryRedirect" + BadRequest = "BadRequest" + Unauthorized = "Unauthorized" + PaymentRequired = "PaymentRequired" + Forbidden = "Forbidden" + NotFound = "NotFound" + MethodNotAllowed = "MethodNotAllowed" + NotAcceptable = "NotAcceptable" + ProxyAuthenticationRequired = "ProxyAuthenticationRequired" + RequestTimeout = "RequestTimeout" + Conflict = "Conflict" + Gone = "Gone" + LengthRequired = "LengthRequired" + PreconditionFailed = "PreconditionFailed" + RequestEntityTooLarge = "RequestEntityTooLarge" + RequestUriTooLong = "RequestUriTooLong" + UnsupportedMediaType = "UnsupportedMediaType" + RequestedRangeNotSatisfiable = "RequestedRangeNotSatisfiable" + ExpectationFailed = "ExpectationFailed" + UpgradeRequired = "UpgradeRequired" + InternalServerError = "InternalServerError" + NotImplemented = "NotImplemented" + BadGateway = "BadGateway" + ServiceUnavailable = "ServiceUnavailable" + GatewayTimeout = "GatewayTimeout" + HttpVersionNotSupported = "HttpVersionNotSupported" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb new file mode 100644 index 0000000000..cfc443d77b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb @@ -0,0 +1,74 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a managed identity + # + class IdentityProperties + + include MsRestAzure + + # @return [String] Managed identity. + attr_accessor :type + + # @return [String] The principal id of resource identity. + attr_accessor :principal_id + + # @return [String] The tenant identifier of resource. + attr_accessor :tenant_id + + # @return [String] The client secret URL of the identity. + attr_accessor :client_secret_url + + + # + # Mapper for IdentityProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'IdentityProperties', + type: { + name: 'Composite', + class_name: 'IdentityProperties', + model_properties: { + type: { + required: false, + serialized_name: 'type', + type: { + name: 'String' + } + }, + principal_id: { + required: false, + serialized_name: 'principalId', + type: { + name: 'String' + } + }, + tenant_id: { + required: false, + serialized_name: 'tenantId', + type: { + name: 'String' + } + }, + client_secret_url: { + required: false, + serialized_name: 'clientSecretUrl', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/import_lab_virtual_machine_request.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/import_lab_virtual_machine_request.rb new file mode 100644 index 0000000000..a64ed7ccc6 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/import_lab_virtual_machine_request.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # This represents the payload required to import a virtual machine from a + # different lab into the current one + # + class ImportLabVirtualMachineRequest + + include MsRestAzure + + # @return [String] The full resource ID of the virtual machine to be + # imported. + attr_accessor :source_virtual_machine_resource_id + + # @return [String] The name of the virtual machine in the destination lab + attr_accessor :destination_virtual_machine_name + + + # + # Mapper for ImportLabVirtualMachineRequest class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ImportLabVirtualMachineRequest', + type: { + name: 'Composite', + class_name: 'ImportLabVirtualMachineRequest', + model_properties: { + source_virtual_machine_resource_id: { + required: false, + serialized_name: 'sourceVirtualMachineResourceId', + type: { + name: 'String' + } + }, + destination_virtual_machine_name: { + required: false, + serialized_name: 'destinationVirtualMachineName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb new file mode 100644 index 0000000000..ba85fd1429 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb @@ -0,0 +1,69 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A rule for NAT - exposing a VM's port (backendPort) on the public IP + # address using a load balancer. + # + class InboundNatRule + + include MsRestAzure + + # @return [TransportProtocol] The transport protocol for the endpoint. + # Possible values include: 'Tcp', 'Udp' + attr_accessor :transport_protocol + + # @return [Integer] The external endpoint port of the inbound connection. + # Possible values range between 1 and 65535, inclusive. If unspecified, a + # value will be allocated automatically. + attr_accessor :frontend_port + + # @return [Integer] The port to which the external traffic will be + # redirected. + attr_accessor :backend_port + + + # + # Mapper for InboundNatRule class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'InboundNatRule', + type: { + name: 'Composite', + class_name: 'InboundNatRule', + model_properties: { + transport_protocol: { + required: false, + serialized_name: 'transportProtocol', + type: { + name: 'String' + } + }, + frontend_port: { + required: false, + serialized_name: 'frontendPort', + type: { + name: 'Number' + } + }, + backend_port: { + required: false, + serialized_name: 'backendPort', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb new file mode 100644 index 0000000000..8b6e9ebd84 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb @@ -0,0 +1,69 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A rule for NAT - exposing a VM's port (backendPort) on the public IP + # address using a load balancer. + # + class InboundNatRuleFragment + + include MsRestAzure + + # @return [TransportProtocol] The transport protocol for the endpoint. + # Possible values include: 'Tcp', 'Udp' + attr_accessor :transport_protocol + + # @return [Integer] The external endpoint port of the inbound connection. + # Possible values range between 1 and 65535, inclusive. If unspecified, a + # value will be allocated automatically. + attr_accessor :frontend_port + + # @return [Integer] The port to which the external traffic will be + # redirected. + attr_accessor :backend_port + + + # + # Mapper for InboundNatRuleFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'InboundNatRuleFragment', + type: { + name: 'Composite', + class_name: 'InboundNatRuleFragment', + model_properties: { + transport_protocol: { + required: false, + serialized_name: 'transportProtocol', + type: { + name: 'String' + } + }, + frontend_port: { + required: false, + serialized_name: 'frontendPort', + type: { + name: 'Number' + } + }, + backend_port: { + required: false, + serialized_name: 'backendPort', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab.rb new file mode 100644 index 0000000000..d7fa165cf6 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab.rb @@ -0,0 +1,333 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A lab. + # + class Lab < Resource + + include MsRestAzure + + # @return [String] The lab's default storage account. + attr_accessor :default_storage_account + + # @return [String] The lab's default premium storage account. + attr_accessor :default_premium_storage_account + + # @return [String] The lab's artifact storage account. + attr_accessor :artifacts_storage_account + + # @return [String] The lab's premium data disk storage account. + attr_accessor :premium_data_disk_storage_account + + # @return [String] The lab's Key vault. + attr_accessor :vault_name + + # @return [StorageType] Type of storage used by the lab. It can be either + # Premium or Standard. Default is Premium. Possible values include: + # 'Standard', 'Premium' + attr_accessor :lab_storage_type + + # @return [Array] The ordered list of artifact resource IDs that + # should be applied on all Linux VM creations by default, prior to the + # artifacts specified by the user. + attr_accessor :mandatory_artifacts_resource_ids_linux + + # @return [Array] The ordered list of artifact resource IDs that + # should be applied on all Windows VM creations by default, prior to the + # artifacts specified by the user. + attr_accessor :mandatory_artifacts_resource_ids_windows + + # @return [DateTime] The creation date of the lab. + attr_accessor :created_date + + # @return [PremiumDataDisk] The setting to enable usage of premium data + # disks. + # When its value is 'Enabled', creation of standard or premium data disks + # is allowed. + # When its value is 'Disabled', only creation of standard data disks is + # allowed. Possible values include: 'Disabled', 'Enabled' + attr_accessor :premium_data_disks + + # @return [EnvironmentPermission] The access rights to be granted to the + # user when provisioning an environment. Possible values include: + # 'Reader', 'Contributor' + attr_accessor :environment_permission + + # @return [LabAnnouncementProperties] The properties of any lab + # announcement associated with this lab + attr_accessor :announcement + + # @return [LabSupportProperties] The properties of any lab support + # message associated with this lab + attr_accessor :support + + # @return [String] The resource group in which lab virtual machines will + # be created in. + attr_accessor :vm_creation_resource_group + + # @return [String] The public IP address for the lab's load balancer. + attr_accessor :public_ip_id + + # @return [String] The load balancer used to for lab VMs that use shared + # IP address. + attr_accessor :load_balancer_id + + # @return [String] The Network Security Group attached to the lab VMs + # Network interfaces to restrict open ports. + attr_accessor :network_security_group_id + + # @return [Hash{String => String}] Extended properties of the lab used + # for experimental features + attr_accessor :extended_properties + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for Lab class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Lab', + type: { + name: 'Composite', + class_name: 'Lab', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + default_storage_account: { + required: false, + read_only: true, + serialized_name: 'properties.defaultStorageAccount', + type: { + name: 'String' + } + }, + default_premium_storage_account: { + required: false, + read_only: true, + serialized_name: 'properties.defaultPremiumStorageAccount', + type: { + name: 'String' + } + }, + artifacts_storage_account: { + required: false, + read_only: true, + serialized_name: 'properties.artifactsStorageAccount', + type: { + name: 'String' + } + }, + premium_data_disk_storage_account: { + required: false, + read_only: true, + serialized_name: 'properties.premiumDataDiskStorageAccount', + type: { + name: 'String' + } + }, + vault_name: { + required: false, + read_only: true, + serialized_name: 'properties.vaultName', + type: { + name: 'String' + } + }, + lab_storage_type: { + required: false, + serialized_name: 'properties.labStorageType', + type: { + name: 'String' + } + }, + mandatory_artifacts_resource_ids_linux: { + required: false, + serialized_name: 'properties.mandatoryArtifactsResourceIdsLinux', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + mandatory_artifacts_resource_ids_windows: { + required: false, + serialized_name: 'properties.mandatoryArtifactsResourceIdsWindows', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + premium_data_disks: { + required: false, + serialized_name: 'properties.premiumDataDisks', + type: { + name: 'String' + } + }, + environment_permission: { + required: false, + serialized_name: 'properties.environmentPermission', + type: { + name: 'String' + } + }, + announcement: { + required: false, + serialized_name: 'properties.announcement', + type: { + name: 'Composite', + class_name: 'LabAnnouncementProperties' + } + }, + support: { + required: false, + serialized_name: 'properties.support', + type: { + name: 'Composite', + class_name: 'LabSupportProperties' + } + }, + vm_creation_resource_group: { + required: false, + read_only: true, + serialized_name: 'properties.vmCreationResourceGroup', + type: { + name: 'String' + } + }, + public_ip_id: { + required: false, + read_only: true, + serialized_name: 'properties.publicIpId', + type: { + name: 'String' + } + }, + load_balancer_id: { + required: false, + read_only: true, + serialized_name: 'properties.loadBalancerId', + type: { + name: 'String' + } + }, + network_security_group_id: { + required: false, + read_only: true, + serialized_name: 'properties.networkSecurityGroupId', + type: { + name: 'String' + } + }, + extended_properties: { + required: false, + serialized_name: 'properties.extendedProperties', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties.rb new file mode 100644 index 0000000000..32d1fcfcf0 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties.rb @@ -0,0 +1,109 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a lab's announcement banner + # + class LabAnnouncementProperties + + include MsRestAzure + + # @return [String] The plain text title for the lab announcement + attr_accessor :title + + # @return [String] The markdown text (if any) that this lab displays in + # the UI. If left empty/null, nothing will be shown. + attr_accessor :markdown + + # @return [EnableStatus] Is the lab announcement active/enabled at this + # time?. Possible values include: 'Enabled', 'Disabled' + attr_accessor :enabled + + # @return [DateTime] The time at which the announcement expires (null for + # never) + attr_accessor :expiration_date + + # @return [Boolean] Has this announcement expired? + attr_accessor :expired + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for LabAnnouncementProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabAnnouncementProperties', + type: { + name: 'Composite', + class_name: 'LabAnnouncementProperties', + model_properties: { + title: { + required: false, + serialized_name: 'title', + type: { + name: 'String' + } + }, + markdown: { + required: false, + serialized_name: 'markdown', + type: { + name: 'String' + } + }, + enabled: { + required: false, + serialized_name: 'enabled', + type: { + name: 'String' + } + }, + expiration_date: { + required: false, + serialized_name: 'expirationDate', + type: { + name: 'DateTime' + } + }, + expired: { + required: false, + serialized_name: 'expired', + type: { + name: 'Boolean' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties_fragment.rb new file mode 100644 index 0000000000..b1a2c9e19f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_announcement_properties_fragment.rb @@ -0,0 +1,87 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a lab's announcement banner + # + class LabAnnouncementPropertiesFragment + + include MsRestAzure + + # @return [String] The plain text title for the lab announcement + attr_accessor :title + + # @return [String] The markdown text (if any) that this lab displays in + # the UI. If left empty/null, nothing will be shown. + attr_accessor :markdown + + # @return [EnableStatus] Is the lab announcement active/enabled at this + # time?. Possible values include: 'Enabled', 'Disabled' + attr_accessor :enabled + + # @return [DateTime] The time at which the announcement expires (null for + # never) + attr_accessor :expiration_date + + # @return [Boolean] Has this announcement expired? + attr_accessor :expired + + + # + # Mapper for LabAnnouncementPropertiesFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabAnnouncementPropertiesFragment', + type: { + name: 'Composite', + class_name: 'LabAnnouncementPropertiesFragment', + model_properties: { + title: { + required: false, + serialized_name: 'title', + type: { + name: 'String' + } + }, + markdown: { + required: false, + serialized_name: 'markdown', + type: { + name: 'String' + } + }, + enabled: { + required: false, + serialized_name: 'enabled', + type: { + name: 'String' + } + }, + expiration_date: { + required: false, + serialized_name: 'expirationDate', + type: { + name: 'DateTime' + } + }, + expired: { + required: false, + serialized_name: 'expired', + type: { + name: 'Boolean' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost.rb new file mode 100644 index 0000000000..379c9f79de --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost.rb @@ -0,0 +1,205 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A cost item. + # + class LabCost < Resource + + include MsRestAzure + + # @return [TargetCostProperties] The target cost properties + attr_accessor :target_cost + + # @return [LabCostSummaryProperties] The lab cost summary component of + # the cost data. + attr_accessor :lab_cost_summary + + # @return [Array] The lab cost details + # component of the cost data. + attr_accessor :lab_cost_details + + # @return [Array] The resource cost component + # of the cost data. + attr_accessor :resource_costs + + # @return [String] The currency code of the cost. + attr_accessor :currency_code + + # @return [DateTime] The start time of the cost data. + attr_accessor :start_date_time + + # @return [DateTime] The end time of the cost data. + attr_accessor :end_date_time + + # @return [DateTime] The creation date of the cost. + attr_accessor :created_date + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for LabCost class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabCost', + type: { + name: 'Composite', + class_name: 'LabCost', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + target_cost: { + required: false, + serialized_name: 'properties.targetCost', + type: { + name: 'Composite', + class_name: 'TargetCostProperties' + } + }, + lab_cost_summary: { + required: false, + read_only: true, + serialized_name: 'properties.labCostSummary', + type: { + name: 'Composite', + class_name: 'LabCostSummaryProperties' + } + }, + lab_cost_details: { + required: false, + read_only: true, + serialized_name: 'properties.labCostDetails', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LabCostDetailsPropertiesElementType', + type: { + name: 'Composite', + class_name: 'LabCostDetailsProperties' + } + } + } + }, + resource_costs: { + required: false, + read_only: true, + serialized_name: 'properties.resourceCosts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LabResourceCostPropertiesElementType', + type: { + name: 'Composite', + class_name: 'LabResourceCostProperties' + } + } + } + }, + currency_code: { + required: false, + serialized_name: 'properties.currencyCode', + type: { + name: 'String' + } + }, + start_date_time: { + required: false, + serialized_name: 'properties.startDateTime', + type: { + name: 'DateTime' + } + }, + end_date_time: { + required: false, + serialized_name: 'properties.endDateTime', + type: { + name: 'DateTime' + } + }, + created_date: { + required: false, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb new file mode 100644 index 0000000000..a38f948c63 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb @@ -0,0 +1,65 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The properties of a lab cost item. + # + class LabCostDetailsProperties + + include MsRestAzure + + # @return [DateTime] The date of the cost item. + attr_accessor :date + + # @return [Float] The cost component of the cost item. + attr_accessor :cost + + # @return [CostType] The type of the cost. Possible values include: + # 'Unavailable', 'Reported', 'Projected' + attr_accessor :cost_type + + + # + # Mapper for LabCostDetailsProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabCostDetailsProperties', + type: { + name: 'Composite', + class_name: 'LabCostDetailsProperties', + model_properties: { + date: { + required: false, + serialized_name: 'date', + type: { + name: 'DateTime' + } + }, + cost: { + required: false, + serialized_name: 'cost', + type: { + name: 'Double' + } + }, + cost_type: { + required: false, + serialized_name: 'costType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb new file mode 100644 index 0000000000..591bac6111 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The properties of the cost summary. + # + class LabCostSummaryProperties + + include MsRestAzure + + # @return [Float] The cost component of the cost item. + attr_accessor :estimated_lab_cost + + + # + # Mapper for LabCostSummaryProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabCostSummaryProperties', + type: { + name: 'Composite', + class_name: 'LabCostSummaryProperties', + model_properties: { + estimated_lab_cost: { + required: false, + serialized_name: 'estimatedLabCost', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb new file mode 100644 index 0000000000..d2aa2268c2 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb @@ -0,0 +1,167 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A lab. + # + class LabFragment < UpdateResource + + include MsRestAzure + + # @return [StorageType] Type of storage used by the lab. It can be either + # Premium or Standard. Default is Premium. Possible values include: + # 'Standard', 'Premium' + attr_accessor :lab_storage_type + + # @return [Array] The ordered list of artifact resource IDs that + # should be applied on all Linux VM creations by default, prior to the + # artifacts specified by the user. + attr_accessor :mandatory_artifacts_resource_ids_linux + + # @return [Array] The ordered list of artifact resource IDs that + # should be applied on all Windows VM creations by default, prior to the + # artifacts specified by the user. + attr_accessor :mandatory_artifacts_resource_ids_windows + + # @return [PremiumDataDisk] The setting to enable usage of premium data + # disks. + # When its value is 'Enabled', creation of standard or premium data disks + # is allowed. + # When its value is 'Disabled', only creation of standard data disks is + # allowed. Possible values include: 'Disabled', 'Enabled' + attr_accessor :premium_data_disks + + # @return [EnvironmentPermission] The access rights to be granted to the + # user when provisioning an environment. Possible values include: + # 'Reader', 'Contributor' + attr_accessor :environment_permission + + # @return [LabAnnouncementPropertiesFragment] The properties of any lab + # announcement associated with this lab + attr_accessor :announcement + + # @return [LabSupportPropertiesFragment] The properties of any lab + # support message associated with this lab + attr_accessor :support + + # @return [Hash{String => String}] Extended properties of the lab used + # for experimental features + attr_accessor :extended_properties + + + # + # Mapper for LabFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabFragment', + type: { + name: 'Composite', + class_name: 'LabFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + lab_storage_type: { + required: false, + serialized_name: 'properties.labStorageType', + type: { + name: 'String' + } + }, + mandatory_artifacts_resource_ids_linux: { + required: false, + serialized_name: 'properties.mandatoryArtifactsResourceIdsLinux', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + mandatory_artifacts_resource_ids_windows: { + required: false, + serialized_name: 'properties.mandatoryArtifactsResourceIdsWindows', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + premium_data_disks: { + required: false, + serialized_name: 'properties.premiumDataDisks', + type: { + name: 'String' + } + }, + environment_permission: { + required: false, + serialized_name: 'properties.environmentPermission', + type: { + name: 'String' + } + }, + announcement: { + required: false, + serialized_name: 'properties.announcement', + type: { + name: 'Composite', + class_name: 'LabAnnouncementPropertiesFragment' + } + }, + support: { + required: false, + serialized_name: 'properties.support', + type: { + name: 'Composite', + class_name: 'LabSupportPropertiesFragment' + } + }, + extended_properties: { + required: false, + serialized_name: 'properties.extendedProperties', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_list.rb new file mode 100644 index 0000000000..11c0c202da --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class LabList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [LabList] 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 LabList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabList', + type: { + name: 'Composite', + class_name: 'LabList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LabElementType', + type: { + name: 'Composite', + class_name: 'Lab' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb new file mode 100644 index 0000000000..8658b083f1 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb @@ -0,0 +1,126 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The properties of a resource cost item. + # + class LabResourceCostProperties + + include MsRestAzure + + # @return [String] The name of the resource. + attr_accessor :resourcename + + # @return [String] The unique identifier of the resource. + attr_accessor :resource_uid + + # @return [Float] The cost component of the resource cost item. + attr_accessor :resource_cost + + # @return [String] The logical resource type (ex. virtualmachine, + # storageaccount) + attr_accessor :resource_type + + # @return [String] The owner of the resource (ex. janedoe@microsoft.com) + attr_accessor :resource_owner + + # @return [String] The category of the resource (ex. Premium_LRS, + # Standard_DS1) + attr_accessor :resource_pricing_tier + + # @return [String] The status of the resource (ex. Active) + attr_accessor :resource_status + + # @return [String] The ID of the resource + attr_accessor :resource_id + + # @return [String] The ID of the external resource + attr_accessor :external_resource_id + + + # + # Mapper for LabResourceCostProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabResourceCostProperties', + type: { + name: 'Composite', + class_name: 'LabResourceCostProperties', + model_properties: { + resourcename: { + required: false, + serialized_name: 'resourcename', + type: { + name: 'String' + } + }, + resource_uid: { + required: false, + serialized_name: 'resourceUId', + type: { + name: 'String' + } + }, + resource_cost: { + required: false, + serialized_name: 'resourceCost', + type: { + name: 'Double' + } + }, + resource_type: { + required: false, + serialized_name: 'resourceType', + type: { + name: 'String' + } + }, + resource_owner: { + required: false, + serialized_name: 'resourceOwner', + type: { + name: 'String' + } + }, + resource_pricing_tier: { + required: false, + serialized_name: 'resourcePricingTier', + type: { + name: 'String' + } + }, + resource_status: { + required: false, + serialized_name: 'resourceStatus', + type: { + name: 'String' + } + }, + resource_id: { + required: false, + serialized_name: 'resourceId', + type: { + name: 'String' + } + }, + external_resource_id: { + required: false, + serialized_name: 'externalResourceId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_support_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_support_properties.rb new file mode 100644 index 0000000000..d6db3a1771 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_support_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a lab's support banner + # + class LabSupportProperties + + include MsRestAzure + + # @return [EnableStatus] Is the lab support banner active/enabled at this + # time?. Possible values include: 'Enabled', 'Disabled' + attr_accessor :enabled + + # @return [String] The markdown text (if any) that this lab displays in + # the UI. If left empty/null, nothing will be shown. + attr_accessor :markdown + + + # + # Mapper for LabSupportProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabSupportProperties', + type: { + name: 'Composite', + class_name: 'LabSupportProperties', + model_properties: { + enabled: { + required: false, + serialized_name: 'enabled', + type: { + name: 'String' + } + }, + markdown: { + required: false, + serialized_name: 'markdown', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_support_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_support_properties_fragment.rb new file mode 100644 index 0000000000..0f7cf99b1b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_support_properties_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a lab's support banner + # + class LabSupportPropertiesFragment + + include MsRestAzure + + # @return [EnableStatus] Is the lab support banner active/enabled at this + # time?. Possible values include: 'Enabled', 'Disabled' + attr_accessor :enabled + + # @return [String] The markdown text (if any) that this lab displays in + # the UI. If left empty/null, nothing will be shown. + attr_accessor :markdown + + + # + # Mapper for LabSupportPropertiesFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabSupportPropertiesFragment', + type: { + name: 'Composite', + class_name: 'LabSupportPropertiesFragment', + model_properties: { + enabled: { + required: false, + serialized_name: 'enabled', + type: { + name: 'String' + } + }, + markdown: { + required: false, + serialized_name: 'markdown', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb new file mode 100644 index 0000000000..f7080df71b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_vhd.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a VHD in the lab. + # + class LabVhd + + include MsRestAzure + + # @return [String] The URI to the VHD. + attr_accessor :id + + + # + # Mapper for LabVhd class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabVhd', + type: { + name: 'Composite', + class_name: 'LabVhd', + model_properties: { + id: { + required: false, + serialized_name: 'id', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_vhd_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_vhd_list.rb new file mode 100644 index 0000000000..2a9eda51d4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_vhd_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class LabVhdList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [LabVhdList] 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 LabVhdList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabVhdList', + type: { + name: 'Composite', + class_name: 'LabVhdList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LabVhdElementType', + type: { + name: 'Composite', + class_name: 'LabVhd' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb new file mode 100644 index 0000000000..5a9e04dfae --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb @@ -0,0 +1,481 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A virtual machine. + # + class LabVirtualMachine < Resource + + include MsRestAzure + + # @return [String] The notes of the virtual machine. + attr_accessor :notes + + # @return [String] The object identifier of the owner of the virtual + # machine. + attr_accessor :owner_object_id + + # @return [String] The user principal name of the virtual machine owner. + attr_accessor :owner_user_principal_name + + # @return [String] The object identifier of the creator of the virtual + # machine. + attr_accessor :created_by_user_id + + # @return [String] The email address of creator of the virtual machine. + attr_accessor :created_by_user + + # @return [DateTime] The creation date of the virtual machine. + attr_accessor :created_date + + # @return [String] The resource identifier (Microsoft.Compute) of the + # virtual machine. + attr_accessor :compute_id + + # @return [String] The custom image identifier of the virtual machine. + attr_accessor :custom_image_id + + # @return [String] The OS type of the virtual machine. + attr_accessor :os_type + + # @return [String] The size of the virtual machine. + attr_accessor :size + + # @return [String] The user name of the virtual machine. + attr_accessor :user_name + + # @return [String] The password of the virtual machine administrator. + attr_accessor :password + + # @return [String] The SSH key of the virtual machine administrator. + attr_accessor :ssh_key + + # @return [Boolean] Indicates whether this virtual machine uses an SSH + # key for authentication. + attr_accessor :is_authentication_with_ssh_key + + # @return [String] The fully-qualified domain name of the virtual + # machine. + attr_accessor :fqdn + + # @return [String] The lab subnet name of the virtual machine. + attr_accessor :lab_subnet_name + + # @return [String] The lab virtual network identifier of the virtual + # machine. + attr_accessor :lab_virtual_network_id + + # @return [Boolean] Indicates whether the virtual machine is to be + # created without a public IP address. + attr_accessor :disallow_public_ip_address + + # @return [Array] The artifacts to be + # installed on the virtual machine. + attr_accessor :artifacts + + # @return [ArtifactDeploymentStatusProperties] The artifact deployment + # status for the virtual machine. + attr_accessor :artifact_deployment_status + + # @return [GalleryImageReference] The Microsoft Azure Marketplace image + # reference of the virtual machine. + attr_accessor :gallery_image_reference + + # @return [String] The id of the plan associated with the virtual machine + # image + attr_accessor :plan_id + + # @return [ComputeVmProperties] The compute virtual machine properties. + attr_accessor :compute_vm + + # @return [NetworkInterfaceProperties] The network interface properties. + attr_accessor :network_interface + + # @return [ApplicableSchedule] The applicable schedule for the virtual + # machine. + attr_accessor :applicable_schedule + + # @return [DateTime] The expiration date for VM. + attr_accessor :expiration_date + + # @return [Boolean] Indicates whether another user can take ownership of + # the virtual machine + attr_accessor :allow_claim + + # @return [String] Storage type to use for virtual machine (i.e. + # Standard, Premium). + attr_accessor :storage_type + + # @return [VirtualMachineCreationSource] Tells source of creation of lab + # virtual machine. Output property only. Possible values include: + # 'FromCustomImage', 'FromGalleryImage' + attr_accessor :virtual_machine_creation_source + + # @return [String] The resource ID of the environment that contains this + # virtual machine, if any. + attr_accessor :environment_id + + # @return [Array] New or existing data disks to + # attach to the virtual machine after creation + attr_accessor :data_disk_parameters + + # @return [Array] Virtual Machine schedules to + # be created + attr_accessor :schedule_parameters + + # @return [String] Last known compute power state captured in DTL + attr_accessor :last_known_power_state + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for LabVirtualMachine class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabVirtualMachine', + type: { + name: 'Composite', + class_name: 'LabVirtualMachine', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + notes: { + required: false, + serialized_name: 'properties.notes', + type: { + name: 'String' + } + }, + owner_object_id: { + required: false, + serialized_name: 'properties.ownerObjectId', + type: { + name: 'String' + } + }, + owner_user_principal_name: { + required: false, + serialized_name: 'properties.ownerUserPrincipalName', + type: { + name: 'String' + } + }, + created_by_user_id: { + required: false, + serialized_name: 'properties.createdByUserId', + type: { + name: 'String' + } + }, + created_by_user: { + required: false, + serialized_name: 'properties.createdByUser', + type: { + name: 'String' + } + }, + created_date: { + required: false, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + compute_id: { + required: false, + serialized_name: 'properties.computeId', + type: { + name: 'String' + } + }, + custom_image_id: { + required: false, + serialized_name: 'properties.customImageId', + type: { + name: 'String' + } + }, + os_type: { + required: false, + serialized_name: 'properties.osType', + type: { + name: 'String' + } + }, + size: { + required: false, + serialized_name: 'properties.size', + type: { + name: 'String' + } + }, + user_name: { + required: false, + serialized_name: 'properties.userName', + type: { + name: 'String' + } + }, + password: { + required: false, + serialized_name: 'properties.password', + type: { + name: 'String' + } + }, + ssh_key: { + required: false, + serialized_name: 'properties.sshKey', + type: { + name: 'String' + } + }, + is_authentication_with_ssh_key: { + required: false, + serialized_name: 'properties.isAuthenticationWithSshKey', + type: { + name: 'Boolean' + } + }, + fqdn: { + required: false, + serialized_name: 'properties.fqdn', + type: { + name: 'String' + } + }, + lab_subnet_name: { + required: false, + serialized_name: 'properties.labSubnetName', + type: { + name: 'String' + } + }, + lab_virtual_network_id: { + required: false, + serialized_name: 'properties.labVirtualNetworkId', + type: { + name: 'String' + } + }, + disallow_public_ip_address: { + required: false, + serialized_name: 'properties.disallowPublicIpAddress', + type: { + name: 'Boolean' + } + }, + artifacts: { + required: false, + serialized_name: 'properties.artifacts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArtifactInstallPropertiesElementType', + type: { + name: 'Composite', + class_name: 'ArtifactInstallProperties' + } + } + } + }, + artifact_deployment_status: { + required: false, + serialized_name: 'properties.artifactDeploymentStatus', + type: { + name: 'Composite', + class_name: 'ArtifactDeploymentStatusProperties' + } + }, + gallery_image_reference: { + required: false, + serialized_name: 'properties.galleryImageReference', + type: { + name: 'Composite', + class_name: 'GalleryImageReference' + } + }, + plan_id: { + required: false, + serialized_name: 'properties.planId', + type: { + name: 'String' + } + }, + compute_vm: { + required: false, + read_only: true, + serialized_name: 'properties.computeVm', + type: { + name: 'Composite', + class_name: 'ComputeVmProperties' + } + }, + network_interface: { + required: false, + serialized_name: 'properties.networkInterface', + type: { + name: 'Composite', + class_name: 'NetworkInterfaceProperties' + } + }, + applicable_schedule: { + required: false, + read_only: true, + serialized_name: 'properties.applicableSchedule', + type: { + name: 'Composite', + class_name: 'ApplicableSchedule' + } + }, + expiration_date: { + required: false, + serialized_name: 'properties.expirationDate', + type: { + name: 'DateTime' + } + }, + allow_claim: { + required: false, + serialized_name: 'properties.allowClaim', + type: { + name: 'Boolean' + } + }, + storage_type: { + required: false, + serialized_name: 'properties.storageType', + type: { + name: 'String' + } + }, + virtual_machine_creation_source: { + required: false, + serialized_name: 'properties.virtualMachineCreationSource', + type: { + name: 'String' + } + }, + environment_id: { + required: false, + serialized_name: 'properties.environmentId', + type: { + name: 'String' + } + }, + data_disk_parameters: { + required: false, + serialized_name: 'properties.dataDiskParameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DataDiskPropertiesElementType', + type: { + name: 'Composite', + class_name: 'DataDiskProperties' + } + } + } + }, + schedule_parameters: { + required: false, + serialized_name: 'properties.scheduleParameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ScheduleCreationParameterElementType', + type: { + name: 'Composite', + class_name: 'ScheduleCreationParameter' + } + } + } + }, + last_known_power_state: { + required: false, + serialized_name: 'properties.lastKnownPowerState', + type: { + name: 'String' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb new file mode 100644 index 0000000000..a1448a1347 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb @@ -0,0 +1,438 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for creating a virtual machine. + # + class LabVirtualMachineCreationParameter + + include MsRestAzure + + # @return [BulkCreationParameters] The number of virtual machine + # instances to create. + attr_accessor :bulk_creation_parameters + + # @return [String] The notes of the virtual machine. + attr_accessor :notes + + # @return [String] The object identifier of the owner of the virtual + # machine. + attr_accessor :owner_object_id + + # @return [String] The user principal name of the virtual machine owner. + attr_accessor :owner_user_principal_name + + # @return [String] The object identifier of the creator of the virtual + # machine. + attr_accessor :created_by_user_id + + # @return [String] The email address of creator of the virtual machine. + attr_accessor :created_by_user + + # @return [DateTime] The creation date of the virtual machine. + attr_accessor :created_date + + # @return [String] The resource identifier (Microsoft.Compute) of the + # virtual machine. + attr_accessor :compute_id + + # @return [String] The custom image identifier of the virtual machine. + attr_accessor :custom_image_id + + # @return [String] The OS type of the virtual machine. + attr_accessor :os_type + + # @return [String] The size of the virtual machine. + attr_accessor :size + + # @return [String] The user name of the virtual machine. + attr_accessor :user_name + + # @return [String] The password of the virtual machine administrator. + attr_accessor :password + + # @return [String] The SSH key of the virtual machine administrator. + attr_accessor :ssh_key + + # @return [Boolean] Indicates whether this virtual machine uses an SSH + # key for authentication. + attr_accessor :is_authentication_with_ssh_key + + # @return [String] The fully-qualified domain name of the virtual + # machine. + attr_accessor :fqdn + + # @return [String] The lab subnet name of the virtual machine. + attr_accessor :lab_subnet_name + + # @return [String] The lab virtual network identifier of the virtual + # machine. + attr_accessor :lab_virtual_network_id + + # @return [Boolean] Indicates whether the virtual machine is to be + # created without a public IP address. + attr_accessor :disallow_public_ip_address + + # @return [Array] The artifacts to be + # installed on the virtual machine. + attr_accessor :artifacts + + # @return [ArtifactDeploymentStatusProperties] The artifact deployment + # status for the virtual machine. + attr_accessor :artifact_deployment_status + + # @return [GalleryImageReference] The Microsoft Azure Marketplace image + # reference of the virtual machine. + attr_accessor :gallery_image_reference + + # @return [String] The id of the plan associated with the virtual machine + # image + attr_accessor :plan_id + + # @return [NetworkInterfaceProperties] The network interface properties. + attr_accessor :network_interface + + # @return [DateTime] The expiration date for VM. + attr_accessor :expiration_date + + # @return [Boolean] Indicates whether another user can take ownership of + # the virtual machine + attr_accessor :allow_claim + + # @return [String] Storage type to use for virtual machine (i.e. + # Standard, Premium). + attr_accessor :storage_type + + # @return [VirtualMachineCreationSource] Tells source of creation of lab + # virtual machine. Output property only. Possible values include: + # 'FromCustomImage', 'FromGalleryImage' + attr_accessor :virtual_machine_creation_source + + # @return [String] The resource ID of the environment that contains this + # virtual machine, if any. + attr_accessor :environment_id + + # @return [Array] New or existing data disks to + # attach to the virtual machine after creation + attr_accessor :data_disk_parameters + + # @return [Array] Virtual Machine schedules to + # be created + attr_accessor :schedule_parameters + + # @return [String] Last known compute power state captured in DTL + attr_accessor :last_known_power_state + + # @return [String] The name of the virtual machine or environment + attr_accessor :name + + # @return [String] The location of the new virtual machine or environment + attr_accessor :location + + # @return [Hash{String => String}] The tags of the resource. + attr_accessor :tags + + + # + # Mapper for LabVirtualMachineCreationParameter class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabVirtualMachineCreationParameter', + type: { + name: 'Composite', + class_name: 'LabVirtualMachineCreationParameter', + model_properties: { + bulk_creation_parameters: { + required: false, + serialized_name: 'properties.bulkCreationParameters', + type: { + name: 'Composite', + class_name: 'BulkCreationParameters' + } + }, + notes: { + required: false, + serialized_name: 'properties.notes', + type: { + name: 'String' + } + }, + owner_object_id: { + required: false, + serialized_name: 'properties.ownerObjectId', + type: { + name: 'String' + } + }, + owner_user_principal_name: { + required: false, + serialized_name: 'properties.ownerUserPrincipalName', + type: { + name: 'String' + } + }, + created_by_user_id: { + required: false, + serialized_name: 'properties.createdByUserId', + type: { + name: 'String' + } + }, + created_by_user: { + required: false, + serialized_name: 'properties.createdByUser', + type: { + name: 'String' + } + }, + created_date: { + required: false, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + compute_id: { + required: false, + serialized_name: 'properties.computeId', + type: { + name: 'String' + } + }, + custom_image_id: { + required: false, + serialized_name: 'properties.customImageId', + type: { + name: 'String' + } + }, + os_type: { + required: false, + serialized_name: 'properties.osType', + type: { + name: 'String' + } + }, + size: { + required: false, + serialized_name: 'properties.size', + type: { + name: 'String' + } + }, + user_name: { + required: false, + serialized_name: 'properties.userName', + type: { + name: 'String' + } + }, + password: { + required: false, + serialized_name: 'properties.password', + type: { + name: 'String' + } + }, + ssh_key: { + required: false, + serialized_name: 'properties.sshKey', + type: { + name: 'String' + } + }, + is_authentication_with_ssh_key: { + required: false, + serialized_name: 'properties.isAuthenticationWithSshKey', + type: { + name: 'Boolean' + } + }, + fqdn: { + required: false, + serialized_name: 'properties.fqdn', + type: { + name: 'String' + } + }, + lab_subnet_name: { + required: false, + serialized_name: 'properties.labSubnetName', + type: { + name: 'String' + } + }, + lab_virtual_network_id: { + required: false, + serialized_name: 'properties.labVirtualNetworkId', + type: { + name: 'String' + } + }, + disallow_public_ip_address: { + required: false, + serialized_name: 'properties.disallowPublicIpAddress', + type: { + name: 'Boolean' + } + }, + artifacts: { + required: false, + serialized_name: 'properties.artifacts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArtifactInstallPropertiesElementType', + type: { + name: 'Composite', + class_name: 'ArtifactInstallProperties' + } + } + } + }, + artifact_deployment_status: { + required: false, + serialized_name: 'properties.artifactDeploymentStatus', + type: { + name: 'Composite', + class_name: 'ArtifactDeploymentStatusProperties' + } + }, + gallery_image_reference: { + required: false, + serialized_name: 'properties.galleryImageReference', + type: { + name: 'Composite', + class_name: 'GalleryImageReference' + } + }, + plan_id: { + required: false, + serialized_name: 'properties.planId', + type: { + name: 'String' + } + }, + network_interface: { + required: false, + serialized_name: 'properties.networkInterface', + type: { + name: 'Composite', + class_name: 'NetworkInterfaceProperties' + } + }, + expiration_date: { + required: false, + serialized_name: 'properties.expirationDate', + type: { + name: 'DateTime' + } + }, + allow_claim: { + required: false, + serialized_name: 'properties.allowClaim', + type: { + name: 'Boolean' + } + }, + storage_type: { + required: false, + serialized_name: 'properties.storageType', + type: { + name: 'String' + } + }, + virtual_machine_creation_source: { + required: false, + serialized_name: 'properties.virtualMachineCreationSource', + type: { + name: 'String' + } + }, + environment_id: { + required: false, + serialized_name: 'properties.environmentId', + type: { + name: 'String' + } + }, + data_disk_parameters: { + required: false, + serialized_name: 'properties.dataDiskParameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DataDiskPropertiesElementType', + type: { + name: 'Composite', + class_name: 'DataDiskProperties' + } + } + } + }, + schedule_parameters: { + required: false, + serialized_name: 'properties.scheduleParameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ScheduleCreationParameterElementType', + type: { + name: 'Composite', + class_name: 'ScheduleCreationParameter' + } + } + } + }, + last_known_power_state: { + required: false, + serialized_name: 'properties.lastKnownPowerState', + type: { + name: 'String' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter_fragment.rb new file mode 100644 index 0000000000..ba32dbdce0 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter_fragment.rb @@ -0,0 +1,440 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for creating a virtual machine. + # + class LabVirtualMachineCreationParameterFragment + + include MsRestAzure + + # @return [BulkCreationParametersFragment] The number of virtual machine + # instances to create. + attr_accessor :bulk_creation_parameters + + # @return [String] The notes of the virtual machine. + attr_accessor :notes + + # @return [String] The object identifier of the owner of the virtual + # machine. + attr_accessor :owner_object_id + + # @return [String] The user principal name of the virtual machine owner. + attr_accessor :owner_user_principal_name + + # @return [String] The object identifier of the creator of the virtual + # machine. + attr_accessor :created_by_user_id + + # @return [String] The email address of creator of the virtual machine. + attr_accessor :created_by_user + + # @return [DateTime] The creation date of the virtual machine. + attr_accessor :created_date + + # @return [String] The resource identifier (Microsoft.Compute) of the + # virtual machine. + attr_accessor :compute_id + + # @return [String] The custom image identifier of the virtual machine. + attr_accessor :custom_image_id + + # @return [String] The OS type of the virtual machine. + attr_accessor :os_type + + # @return [String] The size of the virtual machine. + attr_accessor :size + + # @return [String] The user name of the virtual machine. + attr_accessor :user_name + + # @return [String] The password of the virtual machine administrator. + attr_accessor :password + + # @return [String] The SSH key of the virtual machine administrator. + attr_accessor :ssh_key + + # @return [Boolean] Indicates whether this virtual machine uses an SSH + # key for authentication. + attr_accessor :is_authentication_with_ssh_key + + # @return [String] The fully-qualified domain name of the virtual + # machine. + attr_accessor :fqdn + + # @return [String] The lab subnet name of the virtual machine. + attr_accessor :lab_subnet_name + + # @return [String] The lab virtual network identifier of the virtual + # machine. + attr_accessor :lab_virtual_network_id + + # @return [Boolean] Indicates whether the virtual machine is to be + # created without a public IP address. + attr_accessor :disallow_public_ip_address + + # @return [Array] The artifacts to be + # installed on the virtual machine. + attr_accessor :artifacts + + # @return [ArtifactDeploymentStatusPropertiesFragment] The artifact + # deployment status for the virtual machine. + attr_accessor :artifact_deployment_status + + # @return [GalleryImageReferenceFragment] The Microsoft Azure Marketplace + # image reference of the virtual machine. + attr_accessor :gallery_image_reference + + # @return [String] The id of the plan associated with the virtual machine + # image + attr_accessor :plan_id + + # @return [NetworkInterfacePropertiesFragment] The network interface + # properties. + attr_accessor :network_interface + + # @return [DateTime] The expiration date for VM. + attr_accessor :expiration_date + + # @return [Boolean] Indicates whether another user can take ownership of + # the virtual machine + attr_accessor :allow_claim + + # @return [String] Storage type to use for virtual machine (i.e. + # Standard, Premium). + attr_accessor :storage_type + + # @return [VirtualMachineCreationSource] Tells source of creation of lab + # virtual machine. Output property only. Possible values include: + # 'FromCustomImage', 'FromGalleryImage' + attr_accessor :virtual_machine_creation_source + + # @return [String] The resource ID of the environment that contains this + # virtual machine, if any. + attr_accessor :environment_id + + # @return [Array] New or existing data disks + # to attach to the virtual machine after creation + attr_accessor :data_disk_parameters + + # @return [Array] Virtual Machine + # schedules to be created + attr_accessor :schedule_parameters + + # @return [String] Last known compute power state captured in DTL + attr_accessor :last_known_power_state + + # @return [String] The name of the virtual machine or environment + attr_accessor :name + + # @return [String] The location of the new virtual machine or environment + attr_accessor :location + + # @return [Hash{String => String}] The tags of the resource. + attr_accessor :tags + + + # + # Mapper for LabVirtualMachineCreationParameterFragment class as Ruby + # Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabVirtualMachineCreationParameterFragment', + type: { + name: 'Composite', + class_name: 'LabVirtualMachineCreationParameterFragment', + model_properties: { + bulk_creation_parameters: { + required: false, + serialized_name: 'properties.bulkCreationParameters', + type: { + name: 'Composite', + class_name: 'BulkCreationParametersFragment' + } + }, + notes: { + required: false, + serialized_name: 'properties.notes', + type: { + name: 'String' + } + }, + owner_object_id: { + required: false, + serialized_name: 'properties.ownerObjectId', + type: { + name: 'String' + } + }, + owner_user_principal_name: { + required: false, + serialized_name: 'properties.ownerUserPrincipalName', + type: { + name: 'String' + } + }, + created_by_user_id: { + required: false, + serialized_name: 'properties.createdByUserId', + type: { + name: 'String' + } + }, + created_by_user: { + required: false, + serialized_name: 'properties.createdByUser', + type: { + name: 'String' + } + }, + created_date: { + required: false, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + compute_id: { + required: false, + serialized_name: 'properties.computeId', + type: { + name: 'String' + } + }, + custom_image_id: { + required: false, + serialized_name: 'properties.customImageId', + type: { + name: 'String' + } + }, + os_type: { + required: false, + serialized_name: 'properties.osType', + type: { + name: 'String' + } + }, + size: { + required: false, + serialized_name: 'properties.size', + type: { + name: 'String' + } + }, + user_name: { + required: false, + serialized_name: 'properties.userName', + type: { + name: 'String' + } + }, + password: { + required: false, + serialized_name: 'properties.password', + type: { + name: 'String' + } + }, + ssh_key: { + required: false, + serialized_name: 'properties.sshKey', + type: { + name: 'String' + } + }, + is_authentication_with_ssh_key: { + required: false, + serialized_name: 'properties.isAuthenticationWithSshKey', + type: { + name: 'Boolean' + } + }, + fqdn: { + required: false, + serialized_name: 'properties.fqdn', + type: { + name: 'String' + } + }, + lab_subnet_name: { + required: false, + serialized_name: 'properties.labSubnetName', + type: { + name: 'String' + } + }, + lab_virtual_network_id: { + required: false, + serialized_name: 'properties.labVirtualNetworkId', + type: { + name: 'String' + } + }, + disallow_public_ip_address: { + required: false, + serialized_name: 'properties.disallowPublicIpAddress', + type: { + name: 'Boolean' + } + }, + artifacts: { + required: false, + serialized_name: 'properties.artifacts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArtifactInstallPropertiesFragmentElementType', + type: { + name: 'Composite', + class_name: 'ArtifactInstallPropertiesFragment' + } + } + } + }, + artifact_deployment_status: { + required: false, + serialized_name: 'properties.artifactDeploymentStatus', + type: { + name: 'Composite', + class_name: 'ArtifactDeploymentStatusPropertiesFragment' + } + }, + gallery_image_reference: { + required: false, + serialized_name: 'properties.galleryImageReference', + type: { + name: 'Composite', + class_name: 'GalleryImageReferenceFragment' + } + }, + plan_id: { + required: false, + serialized_name: 'properties.planId', + type: { + name: 'String' + } + }, + network_interface: { + required: false, + serialized_name: 'properties.networkInterface', + type: { + name: 'Composite', + class_name: 'NetworkInterfacePropertiesFragment' + } + }, + expiration_date: { + required: false, + serialized_name: 'properties.expirationDate', + type: { + name: 'DateTime' + } + }, + allow_claim: { + required: false, + serialized_name: 'properties.allowClaim', + type: { + name: 'Boolean' + } + }, + storage_type: { + required: false, + serialized_name: 'properties.storageType', + type: { + name: 'String' + } + }, + virtual_machine_creation_source: { + required: false, + serialized_name: 'properties.virtualMachineCreationSource', + type: { + name: 'String' + } + }, + environment_id: { + required: false, + serialized_name: 'properties.environmentId', + type: { + name: 'String' + } + }, + data_disk_parameters: { + required: false, + serialized_name: 'properties.dataDiskParameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DataDiskPropertiesFragmentElementType', + type: { + name: 'Composite', + class_name: 'DataDiskPropertiesFragment' + } + } + } + }, + schedule_parameters: { + required: false, + serialized_name: 'properties.scheduleParameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ScheduleCreationParameterFragmentElementType', + type: { + name: 'Composite', + class_name: 'ScheduleCreationParameterFragment' + } + } + } + }, + last_known_power_state: { + required: false, + serialized_name: 'properties.lastKnownPowerState', + type: { + name: 'String' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb new file mode 100644 index 0000000000..dea269051d --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb @@ -0,0 +1,404 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A virtual machine. + # + class LabVirtualMachineFragment < UpdateResource + + include MsRestAzure + + # @return [String] The notes of the virtual machine. + attr_accessor :notes + + # @return [String] The object identifier of the owner of the virtual + # machine. + attr_accessor :owner_object_id + + # @return [String] The user principal name of the virtual machine owner. + attr_accessor :owner_user_principal_name + + # @return [String] The object identifier of the creator of the virtual + # machine. + attr_accessor :created_by_user_id + + # @return [String] The email address of creator of the virtual machine. + attr_accessor :created_by_user + + # @return [DateTime] The creation date of the virtual machine. + attr_accessor :created_date + + # @return [String] The resource identifier (Microsoft.Compute) of the + # virtual machine. + attr_accessor :compute_id + + # @return [String] The custom image identifier of the virtual machine. + attr_accessor :custom_image_id + + # @return [String] The OS type of the virtual machine. + attr_accessor :os_type + + # @return [String] The size of the virtual machine. + attr_accessor :size + + # @return [String] The user name of the virtual machine. + attr_accessor :user_name + + # @return [String] The password of the virtual machine administrator. + attr_accessor :password + + # @return [String] The SSH key of the virtual machine administrator. + attr_accessor :ssh_key + + # @return [Boolean] Indicates whether this virtual machine uses an SSH + # key for authentication. + attr_accessor :is_authentication_with_ssh_key + + # @return [String] The fully-qualified domain name of the virtual + # machine. + attr_accessor :fqdn + + # @return [String] The lab subnet name of the virtual machine. + attr_accessor :lab_subnet_name + + # @return [String] The lab virtual network identifier of the virtual + # machine. + attr_accessor :lab_virtual_network_id + + # @return [Boolean] Indicates whether the virtual machine is to be + # created without a public IP address. + attr_accessor :disallow_public_ip_address + + # @return [Array] The artifacts to be + # installed on the virtual machine. + attr_accessor :artifacts + + # @return [ArtifactDeploymentStatusPropertiesFragment] The artifact + # deployment status for the virtual machine. + attr_accessor :artifact_deployment_status + + # @return [GalleryImageReferenceFragment] The Microsoft Azure Marketplace + # image reference of the virtual machine. + attr_accessor :gallery_image_reference + + # @return [String] The id of the plan associated with the virtual machine + # image + attr_accessor :plan_id + + # @return [NetworkInterfacePropertiesFragment] The network interface + # properties. + attr_accessor :network_interface + + # @return [DateTime] The expiration date for VM. + attr_accessor :expiration_date + + # @return [Boolean] Indicates whether another user can take ownership of + # the virtual machine + attr_accessor :allow_claim + + # @return [String] Storage type to use for virtual machine (i.e. + # Standard, Premium). + attr_accessor :storage_type + + # @return [VirtualMachineCreationSource] Tells source of creation of lab + # virtual machine. Output property only. Possible values include: + # 'FromCustomImage', 'FromGalleryImage' + attr_accessor :virtual_machine_creation_source + + # @return [String] The resource ID of the environment that contains this + # virtual machine, if any. + attr_accessor :environment_id + + # @return [Array] New or existing data disks + # to attach to the virtual machine after creation + attr_accessor :data_disk_parameters + + # @return [Array] Virtual Machine + # schedules to be created + attr_accessor :schedule_parameters + + # @return [String] Last known compute power state captured in DTL + attr_accessor :last_known_power_state + + + # + # Mapper for LabVirtualMachineFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabVirtualMachineFragment', + type: { + name: 'Composite', + class_name: 'LabVirtualMachineFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + notes: { + required: false, + serialized_name: 'properties.notes', + type: { + name: 'String' + } + }, + owner_object_id: { + required: false, + serialized_name: 'properties.ownerObjectId', + type: { + name: 'String' + } + }, + owner_user_principal_name: { + required: false, + serialized_name: 'properties.ownerUserPrincipalName', + type: { + name: 'String' + } + }, + created_by_user_id: { + required: false, + serialized_name: 'properties.createdByUserId', + type: { + name: 'String' + } + }, + created_by_user: { + required: false, + serialized_name: 'properties.createdByUser', + type: { + name: 'String' + } + }, + created_date: { + required: false, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + compute_id: { + required: false, + serialized_name: 'properties.computeId', + type: { + name: 'String' + } + }, + custom_image_id: { + required: false, + serialized_name: 'properties.customImageId', + type: { + name: 'String' + } + }, + os_type: { + required: false, + serialized_name: 'properties.osType', + type: { + name: 'String' + } + }, + size: { + required: false, + serialized_name: 'properties.size', + type: { + name: 'String' + } + }, + user_name: { + required: false, + serialized_name: 'properties.userName', + type: { + name: 'String' + } + }, + password: { + required: false, + serialized_name: 'properties.password', + type: { + name: 'String' + } + }, + ssh_key: { + required: false, + serialized_name: 'properties.sshKey', + type: { + name: 'String' + } + }, + is_authentication_with_ssh_key: { + required: false, + serialized_name: 'properties.isAuthenticationWithSshKey', + type: { + name: 'Boolean' + } + }, + fqdn: { + required: false, + serialized_name: 'properties.fqdn', + type: { + name: 'String' + } + }, + lab_subnet_name: { + required: false, + serialized_name: 'properties.labSubnetName', + type: { + name: 'String' + } + }, + lab_virtual_network_id: { + required: false, + serialized_name: 'properties.labVirtualNetworkId', + type: { + name: 'String' + } + }, + disallow_public_ip_address: { + required: false, + serialized_name: 'properties.disallowPublicIpAddress', + type: { + name: 'Boolean' + } + }, + artifacts: { + required: false, + serialized_name: 'properties.artifacts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ArtifactInstallPropertiesFragmentElementType', + type: { + name: 'Composite', + class_name: 'ArtifactInstallPropertiesFragment' + } + } + } + }, + artifact_deployment_status: { + required: false, + serialized_name: 'properties.artifactDeploymentStatus', + type: { + name: 'Composite', + class_name: 'ArtifactDeploymentStatusPropertiesFragment' + } + }, + gallery_image_reference: { + required: false, + serialized_name: 'properties.galleryImageReference', + type: { + name: 'Composite', + class_name: 'GalleryImageReferenceFragment' + } + }, + plan_id: { + required: false, + serialized_name: 'properties.planId', + type: { + name: 'String' + } + }, + network_interface: { + required: false, + serialized_name: 'properties.networkInterface', + type: { + name: 'Composite', + class_name: 'NetworkInterfacePropertiesFragment' + } + }, + expiration_date: { + required: false, + serialized_name: 'properties.expirationDate', + type: { + name: 'DateTime' + } + }, + allow_claim: { + required: false, + serialized_name: 'properties.allowClaim', + type: { + name: 'Boolean' + } + }, + storage_type: { + required: false, + serialized_name: 'properties.storageType', + type: { + name: 'String' + } + }, + virtual_machine_creation_source: { + required: false, + serialized_name: 'properties.virtualMachineCreationSource', + type: { + name: 'String' + } + }, + environment_id: { + required: false, + serialized_name: 'properties.environmentId', + type: { + name: 'String' + } + }, + data_disk_parameters: { + required: false, + serialized_name: 'properties.dataDiskParameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'DataDiskPropertiesFragmentElementType', + type: { + name: 'Composite', + class_name: 'DataDiskPropertiesFragment' + } + } + } + }, + schedule_parameters: { + required: false, + serialized_name: 'properties.scheduleParameters', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ScheduleCreationParameterFragmentElementType', + type: { + name: 'Composite', + class_name: 'ScheduleCreationParameterFragment' + } + } + } + }, + last_known_power_state: { + required: false, + serialized_name: 'properties.lastKnownPowerState', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_list.rb new file mode 100644 index 0000000000..e6c49f8a5f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class LabVirtualMachineList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [LabVirtualMachineList] 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 LabVirtualMachineList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LabVirtualMachineList', + type: { + name: 'Composite', + class_name: 'LabVirtualMachineList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'LabVirtualMachineElementType', + type: { + name: 'Composite', + class_name: 'LabVirtualMachine' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb new file mode 100644 index 0000000000..27db5b9b13 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb @@ -0,0 +1,47 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Information about a Linux OS. + # + class LinuxOsInfo + + include MsRestAzure + + # @return [LinuxOsState] The state of the Linux OS (i.e. + # NonDeprovisioned, DeprovisionRequested, DeprovisionApplied). Possible + # values include: 'NonDeprovisioned', 'DeprovisionRequested', + # 'DeprovisionApplied' + attr_accessor :linux_os_state + + + # + # Mapper for LinuxOsInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LinuxOsInfo', + type: { + name: 'Composite', + class_name: 'LinuxOsInfo', + model_properties: { + linux_os_state: { + required: false, + serialized_name: 'linuxOsState', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_info_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_info_fragment.rb new file mode 100644 index 0000000000..17d7e05904 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_info_fragment.rb @@ -0,0 +1,47 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Information about a Linux OS. + # + class LinuxOsInfoFragment + + include MsRestAzure + + # @return [LinuxOsState] The state of the Linux OS (i.e. + # NonDeprovisioned, DeprovisionRequested, DeprovisionApplied). Possible + # values include: 'NonDeprovisioned', 'DeprovisionRequested', + # 'DeprovisionApplied' + attr_accessor :linux_os_state + + + # + # Mapper for LinuxOsInfoFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'LinuxOsInfoFragment', + type: { + name: 'Composite', + class_name: 'LinuxOsInfoFragment', + model_properties: { + linux_os_state: { + required: false, + serialized_name: 'linuxOsState', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb new file mode 100644 index 0000000000..57cf82cc31 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb @@ -0,0 +1,17 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for LinuxOsState + # + module LinuxOsState + NonDeprovisioned = "NonDeprovisioned" + DeprovisionRequested = "DeprovisionRequested" + DeprovisionApplied = "DeprovisionApplied" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb new file mode 100644 index 0000000000..68c0a2189d --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb @@ -0,0 +1,129 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a network interface. + # + class NetworkInterfaceProperties + + include MsRestAzure + + # @return [String] The resource ID of the virtual network. + attr_accessor :virtual_network_id + + # @return [String] The resource ID of the sub net. + attr_accessor :subnet_id + + # @return [String] The resource ID of the public IP address. + attr_accessor :public_ip_address_id + + # @return [String] The public IP address. + attr_accessor :public_ip_address + + # @return [String] The private IP address. + attr_accessor :private_ip_address + + # @return [String] The DNS name. + attr_accessor :dns_name + + # @return [String] The RdpAuthority property is a server DNS host name or + # IP address followed by the service port number for RDP (Remote Desktop + # Protocol). + attr_accessor :rdp_authority + + # @return [String] The SshAuthority property is a server DNS host name or + # IP address followed by the service port number for SSH. + attr_accessor :ssh_authority + + # @return [SharedPublicIpAddressConfiguration] The configuration for + # sharing a public IP address across multiple virtual machines. + attr_accessor :shared_public_ip_address_configuration + + + # + # Mapper for NetworkInterfaceProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NetworkInterfaceProperties', + type: { + name: 'Composite', + class_name: 'NetworkInterfaceProperties', + model_properties: { + virtual_network_id: { + required: false, + serialized_name: 'virtualNetworkId', + type: { + name: 'String' + } + }, + subnet_id: { + required: false, + serialized_name: 'subnetId', + type: { + name: 'String' + } + }, + public_ip_address_id: { + required: false, + serialized_name: 'publicIpAddressId', + type: { + name: 'String' + } + }, + public_ip_address: { + required: false, + serialized_name: 'publicIpAddress', + type: { + name: 'String' + } + }, + private_ip_address: { + required: false, + serialized_name: 'privateIpAddress', + type: { + name: 'String' + } + }, + dns_name: { + required: false, + serialized_name: 'dnsName', + type: { + name: 'String' + } + }, + rdp_authority: { + required: false, + serialized_name: 'rdpAuthority', + type: { + name: 'String' + } + }, + ssh_authority: { + required: false, + serialized_name: 'sshAuthority', + type: { + name: 'String' + } + }, + shared_public_ip_address_configuration: { + required: false, + serialized_name: 'sharedPublicIpAddressConfiguration', + type: { + name: 'Composite', + class_name: 'SharedPublicIpAddressConfiguration' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb new file mode 100644 index 0000000000..111814c5e0 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb @@ -0,0 +1,129 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a network interface. + # + class NetworkInterfacePropertiesFragment + + include MsRestAzure + + # @return [String] The resource ID of the virtual network. + attr_accessor :virtual_network_id + + # @return [String] The resource ID of the sub net. + attr_accessor :subnet_id + + # @return [String] The resource ID of the public IP address. + attr_accessor :public_ip_address_id + + # @return [String] The public IP address. + attr_accessor :public_ip_address + + # @return [String] The private IP address. + attr_accessor :private_ip_address + + # @return [String] The DNS name. + attr_accessor :dns_name + + # @return [String] The RdpAuthority property is a server DNS host name or + # IP address followed by the service port number for RDP (Remote Desktop + # Protocol). + attr_accessor :rdp_authority + + # @return [String] The SshAuthority property is a server DNS host name or + # IP address followed by the service port number for SSH. + attr_accessor :ssh_authority + + # @return [SharedPublicIpAddressConfigurationFragment] The configuration + # for sharing a public IP address across multiple virtual machines. + attr_accessor :shared_public_ip_address_configuration + + + # + # Mapper for NetworkInterfacePropertiesFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NetworkInterfacePropertiesFragment', + type: { + name: 'Composite', + class_name: 'NetworkInterfacePropertiesFragment', + model_properties: { + virtual_network_id: { + required: false, + serialized_name: 'virtualNetworkId', + type: { + name: 'String' + } + }, + subnet_id: { + required: false, + serialized_name: 'subnetId', + type: { + name: 'String' + } + }, + public_ip_address_id: { + required: false, + serialized_name: 'publicIpAddressId', + type: { + name: 'String' + } + }, + public_ip_address: { + required: false, + serialized_name: 'publicIpAddress', + type: { + name: 'String' + } + }, + private_ip_address: { + required: false, + serialized_name: 'privateIpAddress', + type: { + name: 'String' + } + }, + dns_name: { + required: false, + serialized_name: 'dnsName', + type: { + name: 'String' + } + }, + rdp_authority: { + required: false, + serialized_name: 'rdpAuthority', + type: { + name: 'String' + } + }, + ssh_authority: { + required: false, + serialized_name: 'sshAuthority', + type: { + name: 'String' + } + }, + shared_public_ip_address_configuration: { + required: false, + serialized_name: 'sharedPublicIpAddressConfiguration', + type: { + name: 'Composite', + class_name: 'SharedPublicIpAddressConfigurationFragment' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel.rb new file mode 100644 index 0000000000..92a0cdc338 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel.rb @@ -0,0 +1,173 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A notification. + # + class NotificationChannel < Resource + + include MsRestAzure + + # @return [String] The webhook URL to send notifications to. + attr_accessor :web_hook_url + + # @return [String] The email recipient to send notifications to (can be a + # list of semi-colon seperated email addresses). + attr_accessor :email_recipient + + # @return [String] The locale to use when sending a notification + # (fallback for unsupported languages is EN). + attr_accessor :notification_locale + + # @return [String] Description of notification. + attr_accessor :description + + # @return [Array] The list of event for which this notification is + # enabled. + attr_accessor :events + + # @return [DateTime] The creation date of the notification channel. + attr_accessor :created_date + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for NotificationChannel class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NotificationChannel', + type: { + name: 'Composite', + class_name: 'NotificationChannel', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + web_hook_url: { + required: false, + serialized_name: 'properties.webHookUrl', + type: { + name: 'String' + } + }, + email_recipient: { + required: false, + serialized_name: 'properties.emailRecipient', + type: { + name: 'String' + } + }, + notification_locale: { + required: false, + serialized_name: 'properties.notificationLocale', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + events: { + required: false, + serialized_name: 'properties.events', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EventElementType', + type: { + name: 'Composite', + class_name: 'Event' + } + } + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_event_type.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_event_type.rb new file mode 100644 index 0000000000..6f0e1d1949 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_event_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for NotificationChannelEventType + # + module NotificationChannelEventType + AutoShutdown = "AutoShutdown" + Cost = "Cost" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb new file mode 100644 index 0000000000..0f0afd4152 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_fragment.rb @@ -0,0 +1,109 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A notification. + # + class NotificationChannelFragment < UpdateResource + + include MsRestAzure + + # @return [String] The webhook URL to send notifications to. + attr_accessor :web_hook_url + + # @return [String] The email recipient to send notifications to (can be a + # list of semi-colon seperated email addresses). + attr_accessor :email_recipient + + # @return [String] The locale to use when sending a notification + # (fallback for unsupported languages is EN). + attr_accessor :notification_locale + + # @return [String] Description of notification. + attr_accessor :description + + # @return [Array] The list of event for which this + # notification is enabled. + attr_accessor :events + + + # + # Mapper for NotificationChannelFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NotificationChannelFragment', + type: { + name: 'Composite', + class_name: 'NotificationChannelFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + web_hook_url: { + required: false, + serialized_name: 'properties.webHookUrl', + type: { + name: 'String' + } + }, + email_recipient: { + required: false, + serialized_name: 'properties.emailRecipient', + type: { + name: 'String' + } + }, + notification_locale: { + required: false, + serialized_name: 'properties.notificationLocale', + type: { + name: 'String' + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + events: { + required: false, + serialized_name: 'properties.events', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'EventFragmentElementType', + type: { + name: 'Composite', + class_name: 'EventFragment' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_list.rb new file mode 100644 index 0000000000..8697ba35cc --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class NotificationChannelList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [NotificationChannelList] 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 NotificationChannelList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NotificationChannelList', + type: { + name: 'Composite', + class_name: 'NotificationChannelList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'NotificationChannelElementType', + type: { + name: 'Composite', + class_name: 'NotificationChannel' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_settings.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_settings.rb new file mode 100644 index 0000000000..80c549baae --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_settings.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Notification settings for a schedule. + # + class NotificationSettings + + include MsRestAzure + + # @return [EnableStatus] If notifications are enabled for this schedule + # (i.e. Enabled, Disabled). Possible values include: 'Enabled', + # 'Disabled' + attr_accessor :status + + # @return [Integer] Time in minutes before event at which notification + # will be sent. + attr_accessor :time_in_minutes + + # @return [String] The webhook URL to which the notification will be + # sent. + attr_accessor :webhook_url + + # @return [String] The email recipient to send notifications to (can be a + # list of semi-colon seperated email addresses). + attr_accessor :email_recipient + + # @return [String] The locale to use when sending a notification + # (fallback for unsupported languages is EN). + attr_accessor :notification_locale + + + # + # Mapper for NotificationSettings class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NotificationSettings', + type: { + name: 'Composite', + class_name: 'NotificationSettings', + model_properties: { + status: { + required: false, + serialized_name: 'status', + type: { + name: 'String' + } + }, + time_in_minutes: { + required: false, + serialized_name: 'timeInMinutes', + type: { + name: 'Number' + } + }, + webhook_url: { + required: false, + serialized_name: 'webhookUrl', + type: { + name: 'String' + } + }, + email_recipient: { + required: false, + serialized_name: 'emailRecipient', + type: { + name: 'String' + } + }, + notification_locale: { + required: false, + serialized_name: 'notificationLocale', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb new file mode 100644 index 0000000000..370c38fdaf --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Notification settings for a schedule. + # + class NotificationSettingsFragment + + include MsRestAzure + + # @return [EnableStatus] If notifications are enabled for this schedule + # (i.e. Enabled, Disabled). Possible values include: 'Enabled', + # 'Disabled' + attr_accessor :status + + # @return [Integer] Time in minutes before event at which notification + # will be sent. + attr_accessor :time_in_minutes + + # @return [String] The webhook URL to which the notification will be + # sent. + attr_accessor :webhook_url + + # @return [String] The email recipient to send notifications to (can be a + # list of semi-colon seperated email addresses). + attr_accessor :email_recipient + + # @return [String] The locale to use when sending a notification + # (fallback for unsupported languages is EN). + attr_accessor :notification_locale + + + # + # Mapper for NotificationSettingsFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NotificationSettingsFragment', + type: { + name: 'Composite', + class_name: 'NotificationSettingsFragment', + model_properties: { + status: { + required: false, + serialized_name: 'status', + type: { + name: 'String' + } + }, + time_in_minutes: { + required: false, + serialized_name: 'timeInMinutes', + type: { + name: 'Number' + } + }, + webhook_url: { + required: false, + serialized_name: 'webhookUrl', + type: { + name: 'String' + } + }, + email_recipient: { + required: false, + serialized_name: 'emailRecipient', + type: { + name: 'String' + } + }, + notification_locale: { + required: false, + serialized_name: 'notificationLocale', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb new file mode 100644 index 0000000000..6d2b115f68 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for generating a Notification. + # + class NotifyParameters + + include MsRestAzure + + # @return [NotificationChannelEventType] The type of event (i.e. + # AutoShutdown, Cost). Possible values include: 'AutoShutdown', 'Cost' + attr_accessor :event_name + + # @return [String] Properties for the notification in json format. + attr_accessor :json_payload + + + # + # Mapper for NotifyParameters class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'NotifyParameters', + type: { + name: 'Composite', + class_name: 'NotifyParameters', + model_properties: { + event_name: { + required: false, + serialized_name: 'eventName', + type: { + name: 'String' + } + }, + json_payload: { + required: false, + serialized_name: 'jsonPayload', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb new file mode 100644 index 0000000000..4230a09c2c --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Error details for the operation in case of a failure. + # + class OperationError + + include MsRestAzure + + # @return [String] The error code of the operation error. + attr_accessor :code + + # @return [String] The error message of the operation error. + attr_accessor :message + + + # + # Mapper for OperationError class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationError', + type: { + name: 'Composite', + class_name: 'OperationError', + model_properties: { + code: { + required: false, + serialized_name: 'code', + type: { + name: 'String' + } + }, + message: { + required: false, + serialized_name: 'message', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.rb new file mode 100644 index 0000000000..7b71631b36 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The REST API operation supported by DevTestLab ResourceProvider. + # + class OperationMetadata + + include MsRestAzure + + # @return [String] Operation name: {provider}/{resource}/{operation} + attr_accessor :name + + # @return [OperationMetadataDisplay] The object that describes the + # operations + attr_accessor :display + + + # + # Mapper for OperationMetadata class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationMetadata', + type: { + name: 'Composite', + class_name: 'OperationMetadata', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + display: { + required: false, + serialized_name: 'display', + type: { + name: 'Composite', + class_name: 'OperationMetadataDisplay' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_display.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_display.rb new file mode 100644 index 0000000000..2fb49ab338 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The object that describes the operations + # + class OperationMetadataDisplay + + include MsRestAzure + + # @return [String] Friendly name of the resource provider + attr_accessor :provider + + # @return [String] Resource type on which the operation is performed. + attr_accessor :resource + + # @return [String] Operation type: read, write, delete, listKeys/action, + # etc. + attr_accessor :operation + + # @return [String] Friendly name of the operation + attr_accessor :description + + + # + # Mapper for OperationMetadataDisplay class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationMetadataDisplay', + type: { + name: 'Composite', + class_name: 'OperationMetadataDisplay', + 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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_result.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_result.rb new file mode 100644 index 0000000000..1735378040 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/operation_result.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # An Operation Result + # + class OperationResult + + include MsRestAzure + + # @return [String] The operation status. + attr_accessor :status + + # @return [HttpStatusCode] The status code for the operation. Possible + # values include: 'Continue', 'SwitchingProtocols', 'OK', 'Created', + # 'Accepted', 'NonAuthoritativeInformation', 'NoContent', 'ResetContent', + # 'PartialContent', 'MultipleChoices', 'MovedPermanently', 'Redirect', + # 'SeeOther', 'NotModified', 'UseProxy', 'Unused', 'TemporaryRedirect', + # 'BadRequest', 'Unauthorized', 'PaymentRequired', 'Forbidden', + # 'NotFound', 'MethodNotAllowed', 'NotAcceptable', + # 'ProxyAuthenticationRequired', 'RequestTimeout', 'Conflict', 'Gone', + # 'LengthRequired', 'PreconditionFailed', 'RequestEntityTooLarge', + # 'RequestUriTooLong', 'UnsupportedMediaType', + # 'RequestedRangeNotSatisfiable', 'ExpectationFailed', 'UpgradeRequired', + # 'InternalServerError', 'NotImplemented', 'BadGateway', + # 'ServiceUnavailable', 'GatewayTimeout', 'HttpVersionNotSupported' + attr_accessor :status_code + + # @return [OperationError] Error details for the operation in case of a + # failure. + attr_accessor :error + + + # + # Mapper for OperationResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'OperationResult', + type: { + name: 'Composite', + class_name: 'OperationResult', + model_properties: { + status: { + required: false, + serialized_name: 'status', + type: { + name: 'String' + } + }, + status_code: { + required: false, + serialized_name: 'statusCode', + type: { + name: 'String' + } + }, + error: { + required: false, + serialized_name: 'error', + type: { + name: 'Composite', + class_name: 'OperationError' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/parameter_info.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/parameter_info.rb new file mode 100644 index 0000000000..456ebf5f92 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/parameter_info.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Information about an artifact's parameter. + # + class ParameterInfo + + include MsRestAzure + + # @return [String] The name of the artifact parameter. + attr_accessor :name + + # @return [String] The value of the artifact parameter. + attr_accessor :value + + + # + # Mapper for ParameterInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ParameterInfo', + type: { + name: 'Composite', + class_name: 'ParameterInfo', + model_properties: { + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + value: { + required: false, + serialized_name: 'value', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb new file mode 100644 index 0000000000..999d32e79f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A file containing a set of parameter values for an ARM template. + # + class ParametersValueFileInfo + + include MsRestAzure + + # @return [String] File name. + attr_accessor :file_name + + # @return Contents of the file. + attr_accessor :parameters_value_info + + + # + # Mapper for ParametersValueFileInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ParametersValueFileInfo', + type: { + name: 'Composite', + class_name: 'ParametersValueFileInfo', + model_properties: { + file_name: { + required: false, + serialized_name: 'fileName', + type: { + name: 'String' + } + }, + parameters_value_info: { + required: false, + serialized_name: 'parametersValueInfo', + type: { + name: 'Object' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb new file mode 100644 index 0000000000..a960a0fa01 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a percentage cost threshold. + # + class PercentageCostThresholdProperties + + include MsRestAzure + + # @return [Float] The cost threshold value. + attr_accessor :threshold_value + + + # + # Mapper for PercentageCostThresholdProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'PercentageCostThresholdProperties', + type: { + name: 'Composite', + class_name: 'PercentageCostThresholdProperties', + model_properties: { + threshold_value: { + required: false, + serialized_name: 'thresholdValue', + type: { + name: 'Double' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy.rb new file mode 100644 index 0000000000..9c3a8fad03 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy.rb @@ -0,0 +1,181 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A Policy. + # + class Policy < Resource + + include MsRestAzure + + # @return [String] The description of the policy. + attr_accessor :description + + # @return [PolicyStatus] The status of the policy. Possible values + # include: 'Enabled', 'Disabled' + attr_accessor :status + + # @return [PolicyFactName] The fact name of the policy (e.g. LabVmCount, + # LabVmSize, MaxVmsAllowedPerLab, etc. Possible values include: + # 'UserOwnedLabVmCount', 'UserOwnedLabPremiumVmCount', 'LabVmCount', + # 'LabPremiumVmCount', 'LabVmSize', 'GalleryImage', + # 'UserOwnedLabVmCountInSubnet', 'LabTargetCost', 'EnvironmentTemplate', + # 'ScheduleEditPermission' + attr_accessor :fact_name + + # @return [String] The fact data of the policy. + attr_accessor :fact_data + + # @return [String] The threshold of the policy (i.e. a number for + # MaxValuePolicy, and a JSON array of values for AllowedValuesPolicy). + attr_accessor :threshold + + # @return [PolicyEvaluatorType] The evaluator type of the policy (i.e. + # AllowedValuesPolicy, MaxValuePolicy). Possible values include: + # 'AllowedValuesPolicy', 'MaxValuePolicy' + attr_accessor :evaluator_type + + # @return [DateTime] The creation date of the policy. + attr_accessor :created_date + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for Policy class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Policy', + type: { + name: 'Composite', + class_name: 'Policy', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + status: { + required: false, + serialized_name: 'properties.status', + type: { + name: 'String' + } + }, + fact_name: { + required: false, + serialized_name: 'properties.factName', + type: { + name: 'String' + } + }, + fact_data: { + required: false, + serialized_name: 'properties.factData', + type: { + name: 'String' + } + }, + threshold: { + required: false, + serialized_name: 'properties.threshold', + type: { + name: 'String' + } + }, + evaluator_type: { + required: false, + serialized_name: 'properties.evaluatorType', + type: { + name: 'String' + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb new file mode 100644 index 0000000000..4a0e262aa0 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_evaluator_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for PolicyEvaluatorType + # + module PolicyEvaluatorType + AllowedValuesPolicy = "AllowedValuesPolicy" + MaxValuePolicy = "MaxValuePolicy" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb new file mode 100644 index 0000000000..b5259071d6 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb @@ -0,0 +1,24 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for PolicyFactName + # + module PolicyFactName + UserOwnedLabVmCount = "UserOwnedLabVmCount" + UserOwnedLabPremiumVmCount = "UserOwnedLabPremiumVmCount" + LabVmCount = "LabVmCount" + LabPremiumVmCount = "LabPremiumVmCount" + LabVmSize = "LabVmSize" + GalleryImage = "GalleryImage" + UserOwnedLabVmCountInSubnet = "UserOwnedLabVmCountInSubnet" + LabTargetCost = "LabTargetCost" + EnvironmentTemplate = "EnvironmentTemplate" + ScheduleEditPermission = "ScheduleEditPermission" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb new file mode 100644 index 0000000000..3c44667418 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_fragment.rb @@ -0,0 +1,117 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A Policy. + # + class PolicyFragment < UpdateResource + + include MsRestAzure + + # @return [String] The description of the policy. + attr_accessor :description + + # @return [PolicyStatus] The status of the policy. Possible values + # include: 'Enabled', 'Disabled' + attr_accessor :status + + # @return [PolicyFactName] The fact name of the policy (e.g. LabVmCount, + # LabVmSize, MaxVmsAllowedPerLab, etc. Possible values include: + # 'UserOwnedLabVmCount', 'UserOwnedLabPremiumVmCount', 'LabVmCount', + # 'LabPremiumVmCount', 'LabVmSize', 'GalleryImage', + # 'UserOwnedLabVmCountInSubnet', 'LabTargetCost', 'EnvironmentTemplate', + # 'ScheduleEditPermission' + attr_accessor :fact_name + + # @return [String] The fact data of the policy. + attr_accessor :fact_data + + # @return [String] The threshold of the policy (i.e. a number for + # MaxValuePolicy, and a JSON array of values for AllowedValuesPolicy). + attr_accessor :threshold + + # @return [PolicyEvaluatorType] The evaluator type of the policy (i.e. + # AllowedValuesPolicy, MaxValuePolicy). Possible values include: + # 'AllowedValuesPolicy', 'MaxValuePolicy' + attr_accessor :evaluator_type + + + # + # Mapper for PolicyFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'PolicyFragment', + type: { + name: 'Composite', + class_name: 'PolicyFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + status: { + required: false, + serialized_name: 'properties.status', + type: { + name: 'String' + } + }, + fact_name: { + required: false, + serialized_name: 'properties.factName', + type: { + name: 'String' + } + }, + fact_data: { + required: false, + serialized_name: 'properties.factData', + type: { + name: 'String' + } + }, + threshold: { + required: false, + serialized_name: 'properties.threshold', + type: { + name: 'String' + } + }, + evaluator_type: { + required: false, + serialized_name: 'properties.evaluatorType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_list.rb new file mode 100644 index 0000000000..7378cced64 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class PolicyList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [PolicyList] 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 PolicyList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'PolicyList', + type: { + name: 'Composite', + class_name: 'PolicyList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'PolicyElementType', + type: { + name: 'Composite', + class_name: 'Policy' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb new file mode 100644 index 0000000000..b99369b9ba --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb @@ -0,0 +1,63 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Result of a policy set evaluation. + # + class PolicySetResult + + include MsRestAzure + + # @return [Boolean] A value indicating whether this policy set evaluation + # has discovered violations. + attr_accessor :has_error + + # @return [Array] The list of policy violations. + attr_accessor :policy_violations + + + # + # Mapper for PolicySetResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'PolicySetResult', + type: { + name: 'Composite', + class_name: 'PolicySetResult', + model_properties: { + has_error: { + required: false, + serialized_name: 'hasError', + type: { + name: 'Boolean' + } + }, + policy_violations: { + required: false, + serialized_name: 'policyViolations', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'PolicyViolationElementType', + type: { + name: 'Composite', + class_name: 'PolicyViolation' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_status.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_status.rb new file mode 100644 index 0000000000..0d48726687 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for PolicyStatus + # + module PolicyStatus + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_violation.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_violation.rb new file mode 100644 index 0000000000..47b5bddecd --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/policy_violation.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Policy violation. + # + class PolicyViolation + + include MsRestAzure + + # @return [String] The code of the policy violation. + attr_accessor :code + + # @return [String] The message of the policy violation. + attr_accessor :message + + + # + # Mapper for PolicyViolation class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'PolicyViolation', + type: { + name: 'Composite', + class_name: 'PolicyViolation', + model_properties: { + code: { + required: false, + serialized_name: 'code', + type: { + name: 'String' + } + }, + message: { + required: false, + serialized_name: 'message', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/port.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/port.rb new file mode 100644 index 0000000000..472cf39562 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/port.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a network port. + # + class Port + + include MsRestAzure + + # @return [TransportProtocol] Protocol type of the port. Possible values + # include: 'Tcp', 'Udp' + attr_accessor :transport_protocol + + # @return [Integer] Backend port of the target virtual machine. + attr_accessor :backend_port + + + # + # Mapper for Port class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Port', + type: { + name: 'Composite', + class_name: 'Port', + model_properties: { + transport_protocol: { + required: false, + serialized_name: 'transportProtocol', + type: { + name: 'String' + } + }, + backend_port: { + required: false, + serialized_name: 'backendPort', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/port_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/port_fragment.rb new file mode 100644 index 0000000000..cc03dd8a07 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/port_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a network port. + # + class PortFragment + + include MsRestAzure + + # @return [TransportProtocol] Protocol type of the port. Possible values + # include: 'Tcp', 'Udp' + attr_accessor :transport_protocol + + # @return [Integer] Backend port of the target virtual machine. + attr_accessor :backend_port + + + # + # Mapper for PortFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'PortFragment', + type: { + name: 'Composite', + class_name: 'PortFragment', + model_properties: { + transport_protocol: { + required: false, + serialized_name: 'transportProtocol', + type: { + name: 'String' + } + }, + backend_port: { + required: false, + serialized_name: 'backendPort', + type: { + name: 'Number' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/premium_data_disk.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/premium_data_disk.rb new file mode 100644 index 0000000000..eb3c645a06 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/premium_data_disk.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for PremiumDataDisk + # + module PremiumDataDisk + Disabled = "Disabled" + Enabled = "Enabled" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb new file mode 100644 index 0000000000..e8c4844918 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb @@ -0,0 +1,97 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Result of the request to list REST API operations + # + class ProviderOperationResult + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] List of operations supported by the + # resource provider. + attr_accessor :value + + # @return [String] URL to get the next set of operation list results if + # there are any. + attr_accessor :next_link + + # return [Proc] with next page method call. + attr_accessor :next_method + + # + # Gets the rest of the items for the request, enabling auto-pagination. + # + # @return [Array] operation results. + # + def get_all_items + items = @value + page = self + while page.next_link != nil do + page = page.get_next_page + items.concat(page.value) + end + items + end + + # + # Gets the next page of results. + # + # @return [ProviderOperationResult] 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 ProviderOperationResult class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ProviderOperationResult', + type: { + name: 'Composite', + class_name: 'ProviderOperationResult', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'OperationMetadataElementType', + type: { + name: 'Composite', + class_name: 'OperationMetadata' + } + } + } + }, + next_link: { + required: false, + read_only: true, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/rdp_connection.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/rdp_connection.rb new file mode 100644 index 0000000000..97de5fbb50 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/rdp_connection.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Represents a .rdp file + # + class RdpConnection + + include MsRestAzure + + # @return [String] The contents of the .rdp file + attr_accessor :contents + + + # + # Mapper for RdpConnection class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RdpConnection', + type: { + name: 'Composite', + class_name: 'RdpConnection', + model_properties: { + contents: { + required: false, + serialized_name: 'contents', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/reporting_cycle_type.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/reporting_cycle_type.rb new file mode 100644 index 0000000000..418cae186b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/reporting_cycle_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for ReportingCycleType + # + module ReportingCycleType + CalendarMonth = "CalendarMonth" + Custom = "Custom" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/resize_lab_virtual_machine_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/resize_lab_virtual_machine_properties.rb new file mode 100644 index 0000000000..ea05e67f57 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/resize_lab_virtual_machine_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Request body for resizing a virtual machine. + # + class ResizeLabVirtualMachineProperties + + include MsRestAzure + + # @return [String] Specifies the size of the virtual machine. + attr_accessor :size + + + # + # Mapper for ResizeLabVirtualMachineProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ResizeLabVirtualMachineProperties', + type: { + name: 'Composite', + class_name: 'ResizeLabVirtualMachineProperties', + model_properties: { + size: { + required: false, + serialized_name: 'size', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/resource.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/resource.rb new file mode 100644 index 0000000000..a740fe29a9 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/resource.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # An Azure resource. + # + class Resource + + include MsRestAzure + + # @return [String] The identifier of the resource. + attr_accessor :id + + # @return [String] The name of the resource. + attr_accessor :name + + # @return [String] The type of the resource. + attr_accessor :type + + # @return [String] The location of the resource. + attr_accessor :location + + # @return [Hash{String => String}] The tags of the resource. + attr_accessor :tags + + + # + # Mapper for Resource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Resource', + type: { + name: 'Composite', + class_name: 'Resource', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb new file mode 100644 index 0000000000..0bbd3bdcc2 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for retargeting a virtual machine schedule. + # + class RetargetScheduleProperties + + include MsRestAzure + + # @return [String] The resource Id of the virtual machine on which the + # schedule operates + attr_accessor :current_resource_id + + # @return [String] The resource Id of the virtual machine that the + # schedule should be retargeted to + attr_accessor :target_resource_id + + + # + # Mapper for RetargetScheduleProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'RetargetScheduleProperties', + type: { + name: 'Composite', + class_name: 'RetargetScheduleProperties', + model_properties: { + current_resource_id: { + required: false, + serialized_name: 'currentResourceId', + type: { + name: 'String' + } + }, + target_resource_id: { + required: false, + serialized_name: 'targetResourceId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule.rb new file mode 100644 index 0000000000..f7df6078b6 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule.rb @@ -0,0 +1,201 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A schedule. + # + class Schedule < Resource + + include MsRestAzure + + # @return [EnableStatus] The status of the schedule (i.e. Enabled, + # Disabled). Possible values include: 'Enabled', 'Disabled' + attr_accessor :status + + # @return [String] The task type of the schedule (e.g. + # LabVmsShutdownTask, LabVmAutoStart). + attr_accessor :task_type + + # @return [WeekDetails] If the schedule will occur only some days of the + # week, specify the weekly recurrence. + attr_accessor :weekly_recurrence + + # @return [DayDetails] If the schedule will occur once each day of the + # week, specify the daily recurrence. + attr_accessor :daily_recurrence + + # @return [HourDetails] If the schedule will occur multiple times a day, + # specify the hourly recurrence. + attr_accessor :hourly_recurrence + + # @return [String] The time zone ID (e.g. Pacific Standard time). + attr_accessor :time_zone_id + + # @return [NotificationSettings] Notification settings. + attr_accessor :notification_settings + + # @return [DateTime] The creation date of the schedule. + attr_accessor :created_date + + # @return [String] The resource ID to which the schedule belongs + attr_accessor :target_resource_id + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for Schedule class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Schedule', + type: { + name: 'Composite', + class_name: 'Schedule', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + status: { + required: false, + serialized_name: 'properties.status', + type: { + name: 'String' + } + }, + task_type: { + required: false, + serialized_name: 'properties.taskType', + type: { + name: 'String' + } + }, + weekly_recurrence: { + required: false, + serialized_name: 'properties.weeklyRecurrence', + type: { + name: 'Composite', + class_name: 'WeekDetails' + } + }, + daily_recurrence: { + required: false, + serialized_name: 'properties.dailyRecurrence', + type: { + name: 'Composite', + class_name: 'DayDetails' + } + }, + hourly_recurrence: { + required: false, + serialized_name: 'properties.hourlyRecurrence', + type: { + name: 'Composite', + class_name: 'HourDetails' + } + }, + time_zone_id: { + required: false, + serialized_name: 'properties.timeZoneId', + type: { + name: 'String' + } + }, + notification_settings: { + required: false, + serialized_name: 'properties.notificationSettings', + type: { + name: 'Composite', + class_name: 'NotificationSettings' + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + target_resource_id: { + required: false, + serialized_name: 'properties.targetResourceId', + type: { + name: 'String' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_creation_parameter.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_creation_parameter.rb new file mode 100644 index 0000000000..78a7898210 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_creation_parameter.rb @@ -0,0 +1,160 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for creating a schedule. + # + class ScheduleCreationParameter + + include MsRestAzure + + # @return [EnableStatus] The status of the schedule (i.e. Enabled, + # Disabled). Possible values include: 'Enabled', 'Disabled' + attr_accessor :status + + # @return [String] The task type of the schedule (e.g. + # LabVmsShutdownTask, LabVmAutoStart). + attr_accessor :task_type + + # @return [WeekDetails] If the schedule will occur only some days of the + # week, specify the weekly recurrence. + attr_accessor :weekly_recurrence + + # @return [DayDetails] If the schedule will occur once each day of the + # week, specify the daily recurrence. + attr_accessor :daily_recurrence + + # @return [HourDetails] If the schedule will occur multiple times a day, + # specify the hourly recurrence. + attr_accessor :hourly_recurrence + + # @return [String] The time zone ID (e.g. Pacific Standard time). + attr_accessor :time_zone_id + + # @return [NotificationSettings] Notification settings. + attr_accessor :notification_settings + + # @return [String] The resource ID to which the schedule belongs + attr_accessor :target_resource_id + + # @return [String] The name of the virtual machine or environment + attr_accessor :name + + # @return [String] The location of the new virtual machine or environment + attr_accessor :location + + # @return [Hash{String => String}] The tags of the resource. + attr_accessor :tags + + + # + # Mapper for ScheduleCreationParameter class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ScheduleCreationParameter', + type: { + name: 'Composite', + class_name: 'ScheduleCreationParameter', + model_properties: { + status: { + required: false, + serialized_name: 'properties.status', + type: { + name: 'String' + } + }, + task_type: { + required: false, + serialized_name: 'properties.taskType', + type: { + name: 'String' + } + }, + weekly_recurrence: { + required: false, + serialized_name: 'properties.weeklyRecurrence', + type: { + name: 'Composite', + class_name: 'WeekDetails' + } + }, + daily_recurrence: { + required: false, + serialized_name: 'properties.dailyRecurrence', + type: { + name: 'Composite', + class_name: 'DayDetails' + } + }, + hourly_recurrence: { + required: false, + serialized_name: 'properties.hourlyRecurrence', + type: { + name: 'Composite', + class_name: 'HourDetails' + } + }, + time_zone_id: { + required: false, + serialized_name: 'properties.timeZoneId', + type: { + name: 'String' + } + }, + notification_settings: { + required: false, + serialized_name: 'properties.notificationSettings', + type: { + name: 'Composite', + class_name: 'NotificationSettings' + } + }, + target_resource_id: { + required: false, + serialized_name: 'properties.targetResourceId', + type: { + name: 'String' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_creation_parameter_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_creation_parameter_fragment.rb new file mode 100644 index 0000000000..8133ac6f53 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_creation_parameter_fragment.rb @@ -0,0 +1,160 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties for creating a schedule. + # + class ScheduleCreationParameterFragment + + include MsRestAzure + + # @return [EnableStatus] The status of the schedule (i.e. Enabled, + # Disabled). Possible values include: 'Enabled', 'Disabled' + attr_accessor :status + + # @return [String] The task type of the schedule (e.g. + # LabVmsShutdownTask, LabVmAutoStart). + attr_accessor :task_type + + # @return [WeekDetailsFragment] If the schedule will occur only some days + # of the week, specify the weekly recurrence. + attr_accessor :weekly_recurrence + + # @return [DayDetailsFragment] If the schedule will occur once each day + # of the week, specify the daily recurrence. + attr_accessor :daily_recurrence + + # @return [HourDetailsFragment] If the schedule will occur multiple times + # a day, specify the hourly recurrence. + attr_accessor :hourly_recurrence + + # @return [String] The time zone ID (e.g. Pacific Standard time). + attr_accessor :time_zone_id + + # @return [NotificationSettingsFragment] Notification settings. + attr_accessor :notification_settings + + # @return [String] The resource ID to which the schedule belongs + attr_accessor :target_resource_id + + # @return [String] The name of the virtual machine or environment + attr_accessor :name + + # @return [String] The location of the new virtual machine or environment + attr_accessor :location + + # @return [Hash{String => String}] The tags of the resource. + attr_accessor :tags + + + # + # Mapper for ScheduleCreationParameterFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ScheduleCreationParameterFragment', + type: { + name: 'Composite', + class_name: 'ScheduleCreationParameterFragment', + model_properties: { + status: { + required: false, + serialized_name: 'properties.status', + type: { + name: 'String' + } + }, + task_type: { + required: false, + serialized_name: 'properties.taskType', + type: { + name: 'String' + } + }, + weekly_recurrence: { + required: false, + serialized_name: 'properties.weeklyRecurrence', + type: { + name: 'Composite', + class_name: 'WeekDetailsFragment' + } + }, + daily_recurrence: { + required: false, + serialized_name: 'properties.dailyRecurrence', + type: { + name: 'Composite', + class_name: 'DayDetailsFragment' + } + }, + hourly_recurrence: { + required: false, + serialized_name: 'properties.hourlyRecurrence', + type: { + name: 'Composite', + class_name: 'HourDetailsFragment' + } + }, + time_zone_id: { + required: false, + serialized_name: 'properties.timeZoneId', + type: { + name: 'String' + } + }, + notification_settings: { + required: false, + serialized_name: 'properties.notificationSettings', + type: { + name: 'Composite', + class_name: 'NotificationSettingsFragment' + } + }, + target_resource_id: { + required: false, + serialized_name: 'properties.targetResourceId', + type: { + name: 'String' + } + }, + name: { + required: false, + serialized_name: 'name', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb new file mode 100644 index 0000000000..8a2adb922f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_fragment.rb @@ -0,0 +1,137 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A schedule. + # + class ScheduleFragment < UpdateResource + + include MsRestAzure + + # @return [EnableStatus] The status of the schedule (i.e. Enabled, + # Disabled). Possible values include: 'Enabled', 'Disabled' + attr_accessor :status + + # @return [String] The task type of the schedule (e.g. + # LabVmsShutdownTask, LabVmAutoStart). + attr_accessor :task_type + + # @return [WeekDetailsFragment] If the schedule will occur only some days + # of the week, specify the weekly recurrence. + attr_accessor :weekly_recurrence + + # @return [DayDetailsFragment] If the schedule will occur once each day + # of the week, specify the daily recurrence. + attr_accessor :daily_recurrence + + # @return [HourDetailsFragment] If the schedule will occur multiple times + # a day, specify the hourly recurrence. + attr_accessor :hourly_recurrence + + # @return [String] The time zone ID (e.g. Pacific Standard time). + attr_accessor :time_zone_id + + # @return [NotificationSettingsFragment] Notification settings. + attr_accessor :notification_settings + + # @return [String] The resource ID to which the schedule belongs + attr_accessor :target_resource_id + + + # + # Mapper for ScheduleFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ScheduleFragment', + type: { + name: 'Composite', + class_name: 'ScheduleFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + status: { + required: false, + serialized_name: 'properties.status', + type: { + name: 'String' + } + }, + task_type: { + required: false, + serialized_name: 'properties.taskType', + type: { + name: 'String' + } + }, + weekly_recurrence: { + required: false, + serialized_name: 'properties.weeklyRecurrence', + type: { + name: 'Composite', + class_name: 'WeekDetailsFragment' + } + }, + daily_recurrence: { + required: false, + serialized_name: 'properties.dailyRecurrence', + type: { + name: 'Composite', + class_name: 'DayDetailsFragment' + } + }, + hourly_recurrence: { + required: false, + serialized_name: 'properties.hourlyRecurrence', + type: { + name: 'Composite', + class_name: 'HourDetailsFragment' + } + }, + time_zone_id: { + required: false, + serialized_name: 'properties.timeZoneId', + type: { + name: 'String' + } + }, + notification_settings: { + required: false, + serialized_name: 'properties.notificationSettings', + type: { + name: 'Composite', + class_name: 'NotificationSettingsFragment' + } + }, + target_resource_id: { + required: false, + serialized_name: 'properties.targetResourceId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_list.rb new file mode 100644 index 0000000000..401fbef17a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/schedule_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class ScheduleList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [ScheduleList] 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 ScheduleList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ScheduleList', + type: { + name: 'Composite', + class_name: 'ScheduleList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ScheduleElementType', + type: { + name: 'Composite', + class_name: 'Schedule' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/secret.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/secret.rb new file mode 100644 index 0000000000..c956d42ca4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/secret.rb @@ -0,0 +1,111 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A secret. + # + class Secret < Resource + + include MsRestAzure + + # @return [String] The value of the secret for secret creation. + attr_accessor :value + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for Secret class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Secret', + type: { + name: 'Composite', + class_name: 'Secret', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + value: { + required: false, + serialized_name: 'properties.value', + type: { + name: 'String' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/secret_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/secret_fragment.rb new file mode 100644 index 0000000000..9059eacc07 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/secret_fragment.rb @@ -0,0 +1,58 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A secret. + # + class SecretFragment < UpdateResource + + include MsRestAzure + + # @return [String] The value of the secret for secret creation. + attr_accessor :value + + + # + # Mapper for SecretFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SecretFragment', + type: { + name: 'Composite', + class_name: 'SecretFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + value: { + required: false, + serialized_name: 'properties.value', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/secret_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/secret_list.rb new file mode 100644 index 0000000000..00f6a1279f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/secret_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class SecretList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [SecretList] 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 SecretList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SecretList', + type: { + name: 'Composite', + class_name: 'SecretList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'SecretElementType', + type: { + name: 'Composite', + class_name: 'Secret' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric.rb new file mode 100644 index 0000000000..0f78d5cef0 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric.rb @@ -0,0 +1,135 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A Service Fabric. + # + class ServiceFabric < Resource + + include MsRestAzure + + # @return [String] The backing service fabric resource's id + attr_accessor :external_service_fabric_id + + # @return [String] The resource id of the environment under which the + # service fabric resource is present + attr_accessor :environment_id + + # @return [ApplicableSchedule] The applicable schedule for the virtual + # machine. + attr_accessor :applicable_schedule + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for ServiceFabric class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServiceFabric', + type: { + name: 'Composite', + class_name: 'ServiceFabric', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + external_service_fabric_id: { + required: false, + serialized_name: 'properties.externalServiceFabricId', + type: { + name: 'String' + } + }, + environment_id: { + required: false, + serialized_name: 'properties.environmentId', + type: { + name: 'String' + } + }, + applicable_schedule: { + required: false, + read_only: true, + serialized_name: 'properties.applicableSchedule', + type: { + name: 'Composite', + class_name: 'ApplicableSchedule' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_fragment.rb new file mode 100644 index 0000000000..e7ca4954a4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_fragment.rb @@ -0,0 +1,69 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A Service Fabric. + # + class ServiceFabricFragment < UpdateResource + + include MsRestAzure + + # @return [String] The backing service fabric resource's id + attr_accessor :external_service_fabric_id + + # @return [String] The resource id of the environment under which the + # service fabric resource is present + attr_accessor :environment_id + + + # + # Mapper for ServiceFabricFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServiceFabricFragment', + type: { + name: 'Composite', + class_name: 'ServiceFabricFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + external_service_fabric_id: { + required: false, + serialized_name: 'properties.externalServiceFabricId', + type: { + name: 'String' + } + }, + environment_id: { + required: false, + serialized_name: 'properties.environmentId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_list.rb new file mode 100644 index 0000000000..5df5e6f518 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_fabric_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class ServiceFabricList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [ServiceFabricList] 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 ServiceFabricList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServiceFabricList', + type: { + name: 'Composite', + class_name: 'ServiceFabricList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ServiceFabricElementType', + type: { + name: 'Composite', + class_name: 'ServiceFabric' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner.rb new file mode 100644 index 0000000000..ca7edd81db --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A container for a managed identity to execute DevTest lab services. + # + class ServiceRunner < Resource + + include MsRestAzure + + # @return [IdentityProperties] The identity of the resource. + attr_accessor :identity + + + # + # Mapper for ServiceRunner class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServiceRunner', + type: { + name: 'Composite', + class_name: 'ServiceRunner', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + identity: { + required: false, + serialized_name: 'identity', + type: { + name: 'Composite', + class_name: 'IdentityProperties' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner_list.rb new file mode 100644 index 0000000000..3b921313a7 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class ServiceRunnerList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [ServiceRunnerList] 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 ServiceRunnerList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ServiceRunnerList', + type: { + name: 'Composite', + class_name: 'ServiceRunnerList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ServiceRunnerElementType', + type: { + name: 'Composite', + class_name: 'ServiceRunner' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb new file mode 100644 index 0000000000..635d9d5942 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a virtual machine that determine how it is connected to a + # load balancer. + # + class SharedPublicIpAddressConfiguration + + include MsRestAzure + + # @return [Array] The incoming NAT rules + attr_accessor :inbound_nat_rules + + + # + # Mapper for SharedPublicIpAddressConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SharedPublicIpAddressConfiguration', + type: { + name: 'Composite', + class_name: 'SharedPublicIpAddressConfiguration', + model_properties: { + inbound_nat_rules: { + required: false, + serialized_name: 'inboundNatRules', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'InboundNatRuleElementType', + type: { + name: 'Composite', + class_name: 'InboundNatRule' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb new file mode 100644 index 0000000000..eb508d5fc1 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a virtual machine that determine how it is connected to a + # load balancer. + # + class SharedPublicIpAddressConfigurationFragment + + include MsRestAzure + + # @return [Array] The incoming NAT rules + attr_accessor :inbound_nat_rules + + + # + # Mapper for SharedPublicIpAddressConfigurationFragment class as Ruby + # Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SharedPublicIpAddressConfigurationFragment', + type: { + name: 'Composite', + class_name: 'SharedPublicIpAddressConfigurationFragment', + model_properties: { + inbound_nat_rules: { + required: false, + serialized_name: 'inboundNatRules', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'InboundNatRuleFragmentElementType', + type: { + name: 'Composite', + class_name: 'InboundNatRuleFragment' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb new file mode 100644 index 0000000000..166423590a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb @@ -0,0 +1,166 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The contents of a shutdown notification. Webhooks can use this type to + # deserialize the request body when they get notified of an imminent + # shutdown. + # + class ShutdownNotificationContent + + include MsRestAzure + + # @return [String] The URL to skip auto-shutdown. + attr_accessor :skip_url + + # @return [String] The URL to delay shutdown by 60 minutes. + attr_accessor :delay_url60 + + # @return [String] The URL to delay shutdown by 2 hours. + attr_accessor :delay_url120 + + # @return [String] The virtual machine to be shut down. + attr_accessor :vm_name + + # @return [String] The GUID for the virtual machine to be shut down. + attr_accessor :guid + + # @return [String] The owner of the virtual machine. + attr_accessor :owner + + # @return [String] The URL of the virtual machine. + attr_accessor :vm_url + + # @return [String] Minutes remaining until shutdown + attr_accessor :minutes_until_shutdown + + # @return [String] The event for which a notification will be sent. + attr_accessor :event_type + + # @return [String] The text for the notification. + attr_accessor :text + + # @return [String] The subscription ID for the schedule. + attr_accessor :subscription_id + + # @return [String] The resource group name for the schedule. + attr_accessor :resource_group_name + + # @return [String] The lab for the schedule. + attr_accessor :lab_name + + + # + # Mapper for ShutdownNotificationContent class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'ShutdownNotificationContent', + type: { + name: 'Composite', + class_name: 'ShutdownNotificationContent', + model_properties: { + skip_url: { + required: false, + serialized_name: 'skipUrl', + type: { + name: 'String' + } + }, + delay_url60: { + required: false, + serialized_name: 'delayUrl60', + type: { + name: 'String' + } + }, + delay_url120: { + required: false, + serialized_name: 'delayUrl120', + type: { + name: 'String' + } + }, + vm_name: { + required: false, + serialized_name: 'vmName', + type: { + name: 'String' + } + }, + guid: { + required: false, + serialized_name: 'guid', + type: { + name: 'String' + } + }, + owner: { + required: false, + serialized_name: 'owner', + type: { + name: 'String' + } + }, + vm_url: { + required: false, + serialized_name: 'vmUrl', + type: { + name: 'String' + } + }, + minutes_until_shutdown: { + required: false, + serialized_name: 'minutesUntilShutdown', + type: { + name: 'String' + } + }, + event_type: { + required: false, + serialized_name: 'eventType', + type: { + name: 'String' + } + }, + text: { + required: false, + serialized_name: 'text', + type: { + name: 'String' + } + }, + subscription_id: { + required: false, + serialized_name: 'subscriptionId', + type: { + name: 'String' + } + }, + resource_group_name: { + required: false, + serialized_name: 'resourceGroupName', + type: { + name: 'String' + } + }, + lab_name: { + required: false, + serialized_name: 'labName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/source_control_type.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/source_control_type.rb new file mode 100644 index 0000000000..30f7dc4479 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/source_control_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for SourceControlType + # + module SourceControlType + VsoGit = "VsoGit" + GitHub = "GitHub" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/storage_type.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/storage_type.rb new file mode 100644 index 0000000000..150f5ab32f --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/storage_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for StorageType + # + module StorageType + Standard = "Standard" + Premium = "Premium" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet.rb new file mode 100644 index 0000000000..8ef6071b99 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Subnet information. + # + class Subnet + + include MsRestAzure + + # @return [String] The resource ID of the subnet. + attr_accessor :resource_id + + # @return [String] The name of the subnet as seen in the lab. + attr_accessor :lab_subnet_name + + # @return [UsagePermissionType] The permission policy of the subnet for + # allowing public IP addresses (i.e. Allow, Deny)). Possible values + # include: 'Default', 'Deny', 'Allow' + attr_accessor :allow_public_ip + + + # + # Mapper for Subnet class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'Subnet', + type: { + name: 'Composite', + class_name: 'Subnet', + model_properties: { + resource_id: { + required: false, + serialized_name: 'resourceId', + type: { + name: 'String' + } + }, + lab_subnet_name: { + required: false, + serialized_name: 'labSubnetName', + type: { + name: 'String' + } + }, + allow_public_ip: { + required: false, + serialized_name: 'allowPublicIp', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb new file mode 100644 index 0000000000..2644dc578b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Subnet information. + # + class SubnetFragment + + include MsRestAzure + + # @return [String] The resource ID of the subnet. + attr_accessor :resource_id + + # @return [String] The name of the subnet as seen in the lab. + attr_accessor :lab_subnet_name + + # @return [UsagePermissionType] The permission policy of the subnet for + # allowing public IP addresses (i.e. Allow, Deny)). Possible values + # include: 'Default', 'Deny', 'Allow' + attr_accessor :allow_public_ip + + + # + # Mapper for SubnetFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubnetFragment', + type: { + name: 'Composite', + class_name: 'SubnetFragment', + model_properties: { + resource_id: { + required: false, + serialized_name: 'resourceId', + type: { + name: 'String' + } + }, + lab_subnet_name: { + required: false, + serialized_name: 'labSubnetName', + type: { + name: 'String' + } + }, + allow_public_ip: { + required: false, + serialized_name: 'allowPublicIp', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_override.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_override.rb new file mode 100644 index 0000000000..68628efe3d --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_override.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Property overrides on a subnet of a virtual network. + # + class SubnetOverride + + include MsRestAzure + + # @return [String] The resource ID of the subnet. + attr_accessor :resource_id + + # @return [String] The name given to the subnet within the lab. + attr_accessor :lab_subnet_name + + # @return [UsagePermissionType] Indicates whether this subnet can be used + # during virtual machine creation (i.e. Allow, Deny). Possible values + # include: 'Default', 'Deny', 'Allow' + attr_accessor :use_in_vm_creation_permission + + # @return [UsagePermissionType] Indicates whether public IP addresses can + # be assigned to virtual machines on this subnet (i.e. Allow, Deny). + # Possible values include: 'Default', 'Deny', 'Allow' + attr_accessor :use_public_ip_address_permission + + # @return [SubnetSharedPublicIpAddressConfiguration] Properties that + # virtual machines on this subnet will share. + attr_accessor :shared_public_ip_address_configuration + + # @return [String] The virtual network pool associated with this subnet. + attr_accessor :virtual_network_pool_name + + + # + # Mapper for SubnetOverride class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubnetOverride', + type: { + name: 'Composite', + class_name: 'SubnetOverride', + model_properties: { + resource_id: { + required: false, + serialized_name: 'resourceId', + type: { + name: 'String' + } + }, + lab_subnet_name: { + required: false, + serialized_name: 'labSubnetName', + type: { + name: 'String' + } + }, + use_in_vm_creation_permission: { + required: false, + serialized_name: 'useInVmCreationPermission', + type: { + name: 'String' + } + }, + use_public_ip_address_permission: { + required: false, + serialized_name: 'usePublicIpAddressPermission', + type: { + name: 'String' + } + }, + shared_public_ip_address_configuration: { + required: false, + serialized_name: 'sharedPublicIpAddressConfiguration', + type: { + name: 'Composite', + class_name: 'SubnetSharedPublicIpAddressConfiguration' + } + }, + virtual_network_pool_name: { + required: false, + serialized_name: 'virtualNetworkPoolName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb new file mode 100644 index 0000000000..2e1c138b1d --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Property overrides on a subnet of a virtual network. + # + class SubnetOverrideFragment + + include MsRestAzure + + # @return [String] The resource ID of the subnet. + attr_accessor :resource_id + + # @return [String] The name given to the subnet within the lab. + attr_accessor :lab_subnet_name + + # @return [UsagePermissionType] Indicates whether this subnet can be used + # during virtual machine creation (i.e. Allow, Deny). Possible values + # include: 'Default', 'Deny', 'Allow' + attr_accessor :use_in_vm_creation_permission + + # @return [UsagePermissionType] Indicates whether public IP addresses can + # be assigned to virtual machines on this subnet (i.e. Allow, Deny). + # Possible values include: 'Default', 'Deny', 'Allow' + attr_accessor :use_public_ip_address_permission + + # @return [SubnetSharedPublicIpAddressConfigurationFragment] Properties + # that virtual machines on this subnet will share. + attr_accessor :shared_public_ip_address_configuration + + # @return [String] The virtual network pool associated with this subnet. + attr_accessor :virtual_network_pool_name + + + # + # Mapper for SubnetOverrideFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubnetOverrideFragment', + type: { + name: 'Composite', + class_name: 'SubnetOverrideFragment', + model_properties: { + resource_id: { + required: false, + serialized_name: 'resourceId', + type: { + name: 'String' + } + }, + lab_subnet_name: { + required: false, + serialized_name: 'labSubnetName', + type: { + name: 'String' + } + }, + use_in_vm_creation_permission: { + required: false, + serialized_name: 'useInVmCreationPermission', + type: { + name: 'String' + } + }, + use_public_ip_address_permission: { + required: false, + serialized_name: 'usePublicIpAddressPermission', + type: { + name: 'String' + } + }, + shared_public_ip_address_configuration: { + required: false, + serialized_name: 'sharedPublicIpAddressConfiguration', + type: { + name: 'Composite', + class_name: 'SubnetSharedPublicIpAddressConfigurationFragment' + } + }, + virtual_network_pool_name: { + required: false, + serialized_name: 'virtualNetworkPoolName', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb new file mode 100644 index 0000000000..68b5368564 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Configuration for public IP address sharing. + # + class SubnetSharedPublicIpAddressConfiguration + + include MsRestAzure + + # @return [Array] Backend ports that virtual machines on this + # subnet are allowed to expose + attr_accessor :allowed_ports + + + # + # Mapper for SubnetSharedPublicIpAddressConfiguration class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubnetSharedPublicIpAddressConfiguration', + type: { + name: 'Composite', + class_name: 'SubnetSharedPublicIpAddressConfiguration', + model_properties: { + allowed_ports: { + required: false, + serialized_name: 'allowedPorts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'PortElementType', + type: { + name: 'Composite', + class_name: 'Port' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb new file mode 100644 index 0000000000..981ad7a3d9 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Configuration for public IP address sharing. + # + class SubnetSharedPublicIpAddressConfigurationFragment + + include MsRestAzure + + # @return [Array] Backend ports that virtual machines on + # this subnet are allowed to expose + attr_accessor :allowed_ports + + + # + # Mapper for SubnetSharedPublicIpAddressConfigurationFragment class as + # Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'SubnetSharedPublicIpAddressConfigurationFragment', + type: { + name: 'Composite', + class_name: 'SubnetSharedPublicIpAddressConfigurationFragment', + model_properties: { + allowed_ports: { + required: false, + serialized_name: 'allowedPorts', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'PortFragmentElementType', + type: { + name: 'Composite', + class_name: 'PortFragment' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb new file mode 100644 index 0000000000..ddb18f38f5 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/target_cost_properties.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a cost target. + # + class TargetCostProperties + + include MsRestAzure + + # @return [TargetCostStatus] Target cost status. Possible values include: + # 'Enabled', 'Disabled' + attr_accessor :status + + # @return [Integer] Lab target cost + attr_accessor :target + + # @return [Array] Cost thresholds. + attr_accessor :cost_thresholds + + # @return [DateTime] Reporting cycle start date. + attr_accessor :cycle_start_date_time + + # @return [DateTime] Reporting cycle end date. + attr_accessor :cycle_end_date_time + + # @return [ReportingCycleType] Reporting cycle type. Possible values + # include: 'CalendarMonth', 'Custom' + attr_accessor :cycle_type + + + # + # Mapper for TargetCostProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TargetCostProperties', + type: { + name: 'Composite', + class_name: 'TargetCostProperties', + model_properties: { + status: { + required: false, + serialized_name: 'status', + type: { + name: 'String' + } + }, + target: { + required: false, + serialized_name: 'target', + type: { + name: 'Number' + } + }, + cost_thresholds: { + required: false, + serialized_name: 'costThresholds', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'CostThresholdPropertiesElementType', + type: { + name: 'Composite', + class_name: 'CostThresholdProperties' + } + } + } + }, + cycle_start_date_time: { + required: false, + serialized_name: 'cycleStartDateTime', + type: { + name: 'DateTime' + } + }, + cycle_end_date_time: { + required: false, + serialized_name: 'cycleEndDateTime', + type: { + name: 'DateTime' + } + }, + cycle_type: { + required: false, + serialized_name: 'cycleType', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/target_cost_status.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/target_cost_status.rb new file mode 100644 index 0000000000..04e96e3e6d --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/target_cost_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for TargetCostStatus + # + module TargetCostStatus + Enabled = "Enabled" + Disabled = "Disabled" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/transport_protocol.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/transport_protocol.rb new file mode 100644 index 0000000000..e1dccaebcd --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/transport_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for TransportProtocol + # + module TransportProtocol + Tcp = "Tcp" + Udp = "Udp" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/update_resource.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/update_resource.rb new file mode 100644 index 0000000000..ddce513796 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/update_resource.rb @@ -0,0 +1,51 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Represents an update resource + # + class UpdateResource + + include MsRestAzure + + # @return [Hash{String => String}] The tags of the resource. + attr_accessor :tags + + + # + # Mapper for UpdateResource class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UpdateResource', + type: { + name: 'Composite', + class_name: 'UpdateResource', + 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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb new file mode 100644 index 0000000000..61ba57223c --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/usage_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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for UsagePermissionType + # + module UsagePermissionType + Default = "Default" + Deny = "Deny" + Allow = "Allow" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user.rb new file mode 100644 index 0000000000..6ef32ac703 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user.rb @@ -0,0 +1,134 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Profile of a lab user. + # + class User < Resource + + include MsRestAzure + + # @return [UserIdentity] The identity of the user. + attr_accessor :identity + + # @return [UserSecretStore] The secret store of the user. + attr_accessor :secret_store + + # @return [DateTime] The creation date of the user profile. + attr_accessor :created_date + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # 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' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + identity: { + required: false, + serialized_name: 'properties.identity', + type: { + name: 'Composite', + class_name: 'UserIdentity' + } + }, + secret_store: { + required: false, + serialized_name: 'properties.secretStore', + type: { + name: 'Composite', + class_name: 'UserSecretStore' + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_fragment.rb new file mode 100644 index 0000000000..c23465da25 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Profile of a lab user. + # + class UserFragment < UpdateResource + + include MsRestAzure + + # @return [UserIdentityFragment] The identity of the user. + attr_accessor :identity + + # @return [UserSecretStoreFragment] The secret store of the user. + attr_accessor :secret_store + + + # + # Mapper for UserFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UserFragment', + type: { + name: 'Composite', + class_name: 'UserFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + identity: { + required: false, + serialized_name: 'properties.identity', + type: { + name: 'Composite', + class_name: 'UserIdentityFragment' + } + }, + secret_store: { + required: false, + serialized_name: 'properties.secretStore', + type: { + name: 'Composite', + class_name: 'UserSecretStoreFragment' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_identity.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_identity.rb new file mode 100644 index 0000000000..adda1ebcb1 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_identity.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Identity attributes of a lab user. + # + class UserIdentity + + include MsRestAzure + + # @return [String] Set to the principal name / UPN of the client JWT + # making the request. + attr_accessor :principal_name + + # @return [String] Set to the principal Id of the client JWT making the + # request. Service principal will not have the principal Id. + attr_accessor :principal_id + + # @return [String] Set to the tenant ID of the client JWT making the + # request. + attr_accessor :tenant_id + + # @return [String] Set to the object Id of the client JWT making the + # request. Not all users have object Id. For CSP (reseller) scenarios for + # example, object Id is not available. + attr_accessor :object_id + + # @return [String] Set to the app Id of the client JWT making the + # request. + attr_accessor :app_id + + + # + # Mapper for UserIdentity class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UserIdentity', + type: { + name: 'Composite', + class_name: 'UserIdentity', + model_properties: { + principal_name: { + required: false, + serialized_name: 'principalName', + type: { + name: 'String' + } + }, + principal_id: { + required: false, + serialized_name: 'principalId', + type: { + name: 'String' + } + }, + tenant_id: { + required: false, + serialized_name: 'tenantId', + type: { + name: 'String' + } + }, + object_id: { + required: false, + serialized_name: 'objectId', + type: { + name: 'String' + } + }, + app_id: { + required: false, + serialized_name: 'appId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb new file mode 100644 index 0000000000..386712ada9 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Identity attributes of a lab user. + # + class UserIdentityFragment + + include MsRestAzure + + # @return [String] Set to the principal name / UPN of the client JWT + # making the request. + attr_accessor :principal_name + + # @return [String] Set to the principal Id of the client JWT making the + # request. Service principal will not have the principal Id. + attr_accessor :principal_id + + # @return [String] Set to the tenant ID of the client JWT making the + # request. + attr_accessor :tenant_id + + # @return [String] Set to the object Id of the client JWT making the + # request. Not all users have object Id. For CSP (reseller) scenarios for + # example, object Id is not available. + attr_accessor :object_id + + # @return [String] Set to the app Id of the client JWT making the + # request. + attr_accessor :app_id + + + # + # Mapper for UserIdentityFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UserIdentityFragment', + type: { + name: 'Composite', + class_name: 'UserIdentityFragment', + model_properties: { + principal_name: { + required: false, + serialized_name: 'principalName', + type: { + name: 'String' + } + }, + principal_id: { + required: false, + serialized_name: 'principalId', + type: { + name: 'String' + } + }, + tenant_id: { + required: false, + serialized_name: 'tenantId', + type: { + name: 'String' + } + }, + object_id: { + required: false, + serialized_name: 'objectId', + type: { + name: 'String' + } + }, + app_id: { + required: false, + serialized_name: 'appId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_list.rb new file mode 100644 index 0000000000..127ae4410b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class UserList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'UserElementType', + type: { + name: 'Composite', + class_name: 'User' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb new file mode 100644 index 0000000000..96caf1a968 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a user's secret store. + # + class UserSecretStore + + include MsRestAzure + + # @return [String] The URI of the user's Key vault. + attr_accessor :key_vault_uri + + # @return [String] The ID of the user's Key vault. + attr_accessor :key_vault_id + + + # + # Mapper for UserSecretStore class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UserSecretStore', + type: { + name: 'Composite', + class_name: 'UserSecretStore', + model_properties: { + key_vault_uri: { + required: false, + serialized_name: 'keyVaultUri', + type: { + name: 'String' + } + }, + key_vault_id: { + required: false, + serialized_name: 'keyVaultId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb new file mode 100644 index 0000000000..8febfa5932 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb @@ -0,0 +1,54 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a user's secret store. + # + class UserSecretStoreFragment + + include MsRestAzure + + # @return [String] The URI of the user's Key vault. + attr_accessor :key_vault_uri + + # @return [String] The ID of the user's Key vault. + attr_accessor :key_vault_id + + + # + # Mapper for UserSecretStoreFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'UserSecretStoreFragment', + type: { + name: 'Composite', + class_name: 'UserSecretStoreFragment', + model_properties: { + key_vault_uri: { + required: false, + serialized_name: 'keyVaultUri', + type: { + name: 'String' + } + }, + key_vault_id: { + required: false, + serialized_name: 'keyVaultId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.rb new file mode 100644 index 0000000000..5416633ccd --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for VirtualMachineCreationSource + # + module VirtualMachineCreationSource + FromCustomImage = "FromCustomImage" + FromGalleryImage = "FromGalleryImage" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network.rb new file mode 100644 index 0000000000..2b651e7751 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network.rb @@ -0,0 +1,189 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A virtual network. + # + class VirtualNetwork < Resource + + include MsRestAzure + + # @return [Array] The allowed subnets of the virtual network. + attr_accessor :allowed_subnets + + # @return [String] The description of the virtual network. + attr_accessor :description + + # @return [String] The Microsoft.Network resource identifier of the + # virtual network. + attr_accessor :external_provider_resource_id + + # @return [Array] The external subnet properties. + attr_accessor :external_subnets + + # @return [Array] The subnet overrides of the virtual + # network. + attr_accessor :subnet_overrides + + # @return [DateTime] The creation date of the virtual network. + attr_accessor :created_date + + # @return [String] The provisioning status of the resource. + attr_accessor :provisioning_state + + # @return [String] The unique immutable identifier of a resource (Guid). + attr_accessor :unique_identifier + + + # + # Mapper for VirtualNetwork class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'VirtualNetwork', + type: { + name: 'Composite', + class_name: 'VirtualNetwork', + model_properties: { + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, + location: { + required: false, + serialized_name: 'location', + type: { + name: 'String' + } + }, + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + allowed_subnets: { + required: false, + serialized_name: 'properties.allowedSubnets', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'SubnetElementType', + type: { + name: 'Composite', + class_name: 'Subnet' + } + } + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + external_provider_resource_id: { + required: false, + serialized_name: 'properties.externalProviderResourceId', + type: { + name: 'String' + } + }, + external_subnets: { + required: false, + read_only: true, + serialized_name: 'properties.externalSubnets', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'ExternalSubnetElementType', + type: { + name: 'Composite', + class_name: 'ExternalSubnet' + } + } + } + }, + subnet_overrides: { + required: false, + serialized_name: 'properties.subnetOverrides', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'SubnetOverrideElementType', + type: { + name: 'Composite', + class_name: 'SubnetOverride' + } + } + } + }, + created_date: { + required: false, + read_only: true, + serialized_name: 'properties.createdDate', + type: { + name: 'DateTime' + } + }, + provisioning_state: { + required: false, + read_only: true, + serialized_name: 'properties.provisioningState', + type: { + name: 'String' + } + }, + unique_identifier: { + required: false, + read_only: true, + serialized_name: 'properties.uniqueIdentifier', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.rb new file mode 100644 index 0000000000..0ecd8999b2 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # A virtual network. + # + class VirtualNetworkFragment < UpdateResource + + include MsRestAzure + + # @return [Array] The allowed subnets of the virtual + # network. + attr_accessor :allowed_subnets + + # @return [String] The description of the virtual network. + attr_accessor :description + + # @return [String] The Microsoft.Network resource identifier of the + # virtual network. + attr_accessor :external_provider_resource_id + + # @return [Array] The subnet overrides of the + # virtual network. + attr_accessor :subnet_overrides + + + # + # Mapper for VirtualNetworkFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'VirtualNetworkFragment', + type: { + name: 'Composite', + class_name: 'VirtualNetworkFragment', + model_properties: { + tags: { + required: false, + serialized_name: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + allowed_subnets: { + required: false, + serialized_name: 'properties.allowedSubnets', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'SubnetFragmentElementType', + type: { + name: 'Composite', + class_name: 'SubnetFragment' + } + } + } + }, + description: { + required: false, + serialized_name: 'properties.description', + type: { + name: 'String' + } + }, + external_provider_resource_id: { + required: false, + serialized_name: 'properties.externalProviderResourceId', + type: { + name: 'String' + } + }, + subnet_overrides: { + required: false, + serialized_name: 'properties.subnetOverrides', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'SubnetOverrideFragmentElementType', + type: { + name: 'Composite', + class_name: 'SubnetOverrideFragment' + } + } + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network_list.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network_list.rb new file mode 100644 index 0000000000..a9d15ae07d --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_network_list.rb @@ -0,0 +1,94 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # The response of a list operation. + # + class VirtualNetworkList + + include MsRestAzure + + include MsRest::JSONable + # @return [Array] Results of the list operation. + attr_accessor :value + + # @return [String] Link for 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 [VirtualNetworkList] 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 VirtualNetworkList class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'VirtualNetworkList', + type: { + name: 'Composite', + class_name: 'VirtualNetworkList', + model_properties: { + value: { + required: false, + serialized_name: 'value', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'VirtualNetworkElementType', + type: { + name: 'Composite', + class_name: 'VirtualNetwork' + } + } + } + }, + next_link: { + required: false, + serialized_name: 'nextLink', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/week_details.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/week_details.rb new file mode 100644 index 0000000000..02d9276d53 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/week_details.rb @@ -0,0 +1,62 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a weekly schedule. + # + class WeekDetails + + include MsRestAzure + + # @return [Array] The days of the week for which the schedule is + # set (e.g. Sunday, Monday, Tuesday, etc.). + attr_accessor :weekdays + + # @return [String] The time of the day the schedule will occur. + attr_accessor :time + + + # + # Mapper for WeekDetails class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'WeekDetails', + type: { + name: 'Composite', + class_name: 'WeekDetails', + model_properties: { + weekdays: { + required: false, + serialized_name: 'weekdays', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + time: { + required: false, + serialized_name: 'time', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb new file mode 100644 index 0000000000..16655b960a --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb @@ -0,0 +1,62 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Properties of a weekly schedule. + # + class WeekDetailsFragment + + include MsRestAzure + + # @return [Array] The days of the week for which the schedule is + # set (e.g. Sunday, Monday, Tuesday, etc.). + attr_accessor :weekdays + + # @return [String] The time of the day the schedule will occur. + attr_accessor :time + + + # + # Mapper for WeekDetailsFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'WeekDetailsFragment', + type: { + name: 'Composite', + class_name: 'WeekDetailsFragment', + model_properties: { + weekdays: { + required: false, + serialized_name: 'weekdays', + type: { + name: 'Sequence', + element: { + required: false, + serialized_name: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + time: { + required: false, + serialized_name: 'time', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb new file mode 100644 index 0000000000..6e60bbee05 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_info.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Information about a Windows OS. + # + class WindowsOsInfo + + include MsRestAzure + + # @return [WindowsOsState] The state of the Windows OS (i.e. + # NonSysprepped, SysprepRequested, SysprepApplied). Possible values + # include: 'NonSysprepped', 'SysprepRequested', 'SysprepApplied' + attr_accessor :windows_os_state + + + # + # Mapper for WindowsOsInfo class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'WindowsOsInfo', + type: { + name: 'Composite', + class_name: 'WindowsOsInfo', + model_properties: { + windows_os_state: { + required: false, + serialized_name: 'windowsOsState', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_info_fragment.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_info_fragment.rb new file mode 100644 index 0000000000..eef849d1be --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_info_fragment.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::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Information about a Windows OS. + # + class WindowsOsInfoFragment + + include MsRestAzure + + # @return [WindowsOsState] The state of the Windows OS (i.e. + # NonSysprepped, SysprepRequested, SysprepApplied). Possible values + # include: 'NonSysprepped', 'SysprepRequested', 'SysprepApplied' + attr_accessor :windows_os_state + + + # + # Mapper for WindowsOsInfoFragment class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'WindowsOsInfoFragment', + type: { + name: 'Composite', + class_name: 'WindowsOsInfoFragment', + model_properties: { + windows_os_state: { + required: false, + serialized_name: 'windowsOsState', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_state.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_state.rb new file mode 100644 index 0000000000..30efe651c1 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/windows_os_state.rb @@ -0,0 +1,17 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + module Models + # + # Defines values for WindowsOsState + # + module WindowsOsState + NonSysprepped = "NonSysprepped" + SysprepRequested = "SysprepRequested" + SysprepApplied = "SysprepApplied" + end + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/module_definition.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/module_definition.rb new file mode 100644 index 0000000000..870485f7a4 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/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::DevTestLabs end +module Azure::DevTestLabs::Mgmt end +module Azure::DevTestLabs::Mgmt::V2018_09_15 end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/notification_channels.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/notification_channels.rb new file mode 100644 index 0000000000..32ccfa0d73 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/notification_channels.rb @@ -0,0 +1,768 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class NotificationChannels + include MsRestAzure + + # + # Creates and initializes a new instance of the NotificationChannels class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List notificationchannels in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=webHookUrl)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List notificationchannels in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=webHookUrl)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List notificationchannels in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=webHookUrl)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/notificationchannels' + + 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,'labName' => lab_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationChannelList.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 notificationchannel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=webHookUrl)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [NotificationChannel] operation results. + # + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get notificationchannel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=webHookUrl)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + end + + # + # Get notificationchannel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=webHookUrl)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/notificationchannels/{name}' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationChannel.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 replace an existing notificationChannel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param notification_channel [NotificationChannel] A notification. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [NotificationChannel] operation results. + # + def create_or_update(resource_group_name, lab_name, name, notification_channel, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, notification_channel, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing notificationChannel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param notification_channel [NotificationChannel] A notification. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def create_or_update_with_http_info(resource_group_name, lab_name, name, notification_channel, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, notification_channel, custom_headers).value! + end + + # + # Create or replace an existing notificationChannel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param notification_channel [NotificationChannel] A notification. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def create_or_update_async(resource_group_name, lab_name, name, notification_channel, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'notification_channel is nil' if notification_channel.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::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationChannel.mapper() + request_content = @client.serialize(request_mapper, notification_channel) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationChannel.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationChannel.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete notificationchannel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Delete notificationchannel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Delete notificationchannel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/notificationchannels/{name}' + + 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,'labName' => lab_name,'name' => 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 == 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 + + # + # Modify properties of notificationchannels. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param notification_channel [NotificationChannelFragment] A notification. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [NotificationChannel] operation results. + # + def update(resource_group_name, lab_name, name, notification_channel, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, notification_channel, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of notificationchannels. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param notification_channel [NotificationChannelFragment] A notification. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, name, notification_channel, custom_headers = nil) + update_async(resource_group_name, lab_name, name, notification_channel, custom_headers).value! + end + + # + # Modify properties of notificationchannels. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param notification_channel [NotificationChannelFragment] A notification. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, name, notification_channel, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'notification_channel is nil' if notification_channel.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::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationChannelFragment.mapper() + request_content = @client.serialize(request_mapper, notification_channel) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationChannel.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 + + # + # Send notification to provided channel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param notify_parameters [NotifyParameters] Properties for generating a + # Notification. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def notify(resource_group_name, lab_name, name, notify_parameters, custom_headers = nil) + response = notify_async(resource_group_name, lab_name, name, notify_parameters, custom_headers).value! + nil + end + + # + # Send notification to provided channel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param notify_parameters [NotifyParameters] Properties for generating a + # Notification. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def notify_with_http_info(resource_group_name, lab_name, name, notify_parameters, custom_headers = nil) + notify_async(resource_group_name, lab_name, name, notify_parameters, custom_headers).value! + end + + # + # Send notification to provided channel. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the notificationChannel. + # @param notify_parameters [NotifyParameters] Properties for generating a + # Notification. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def notify_async(resource_group_name, lab_name, name, notify_parameters, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'notify_parameters is nil' if notify_parameters.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::NotifyParameters.mapper() + request_content = @client.serialize(request_mapper, notify_parameters) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/notificationchannels/{name}/notify' + + 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,'labName' => lab_name,'name' => 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? + + result + end + + promise.execute + end + + # + # List notificationchannels in a given lab. + # + # @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 [NotificationChannelList] 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 + + # + # List notificationchannels in a given lab. + # + # @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 + + # + # List notificationchannels in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationChannelList.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 notificationchannels in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=webHookUrl)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [NotificationChannelList] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/operations.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/operations.rb new file mode 100644 index 0000000000..a256b196b7 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/operations.rb @@ -0,0 +1,116 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Operations + include MsRestAzure + + # + # Creates and initializes a new instance of the Operations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # Get operation. + # + # @param location_name [String] The name of the location. + # @param name [String] The name of the operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [OperationResult] operation results. + # + def get(location_name, name, custom_headers = nil) + response = get_async(location_name, name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get operation. + # + # @param location_name [String] The name of the location. + # @param name [String] The name of the operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(location_name, name, custom_headers = nil) + get_async(location_name, name, custom_headers).value! + end + + # + # Get operation. + # + # @param location_name [String] The name of the location. + # @param name [String] The name of the operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(location_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'location_name is nil' if location_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.DevTestLab/locations/{locationName}/operations/{name}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'locationName' => location_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::OperationResult.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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policies.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policies.rb new file mode 100644 index 0000000000..433efb3a8d --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policies.rb @@ -0,0 +1,688 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Policies + include MsRestAzure + + # + # Creates and initializes a new instance of the Policies class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List policies in a given policy set. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, policy_set_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, policy_set_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List policies in a given policy set. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, policy_set_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, policy_set_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List policies in a given policy set. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, policy_set_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'policy_set_name is nil' if policy_set_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.DevTestLab/labs/{labName}/policysets/{policySetName}/policies' + + 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,'labName' => lab_name,'policySetName' => policy_set_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::PolicyList.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 policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Policy] operation results. + # + def get(resource_group_name, lab_name, policy_set_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, policy_set_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, policy_set_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, policy_set_name, name, expand, custom_headers).value! + end + + # + # Get policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, policy_set_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'policy_set_name is nil' if policy_set_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}' + + 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,'labName' => lab_name,'policySetName' => policy_set_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Policy.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 replace an existing policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param policy [Policy] A Policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Policy] operation results. + # + def create_or_update(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param policy [Policy] A Policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def create_or_update_with_http_info(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers).value! + end + + # + # Create or replace an existing policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param policy [Policy] A Policy. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def create_or_update_async(resource_group_name, lab_name, policy_set_name, name, policy, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'policy_set_name is nil' if policy_set_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'policy is nil' if policy.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::DevTestLabs::Mgmt::V2018_09_15::Models::Policy.mapper() + request_content = @client.serialize(request_mapper, policy) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}' + + 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,'labName' => lab_name,'policySetName' => policy_set_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Policy.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Policy.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, lab_name, policy_set_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, policy_set_name, name, custom_headers).value! + nil + end + + # + # Delete policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, lab_name, policy_set_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, policy_set_name, name, custom_headers).value! + end + + # + # Delete policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, lab_name, policy_set_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'policy_set_name is nil' if policy_set_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}' + + 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,'labName' => lab_name,'policySetName' => policy_set_name,'name' => 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 == 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 + + # + # Modify properties of policies. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param policy [PolicyFragment] A Policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Policy] operation results. + # + def update(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers = nil) + response = update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of policies. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param policy [PolicyFragment] A Policy. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers = nil) + update_async(resource_group_name, lab_name, policy_set_name, name, policy, custom_headers).value! + end + + # + # Modify properties of policies. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param name [String] The name of the policy. + # @param policy [PolicyFragment] A Policy. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, policy_set_name, name, policy, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'policy_set_name is nil' if policy_set_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'policy is nil' if policy.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::DevTestLabs::Mgmt::V2018_09_15::Models::PolicyFragment.mapper() + request_content = @client.serialize(request_mapper, policy) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{policySetName}/policies/{name}' + + 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,'labName' => lab_name,'policySetName' => policy_set_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::Policy.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 policies in a given policy set. + # + # @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 [PolicyList] 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 + + # + # List policies in a given policy set. + # + # @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 + + # + # List policies in a given policy set. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::PolicyList.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 policies in a given policy set. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param policy_set_name [String] The name of the policy set. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=description)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [PolicyList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, policy_set_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, policy_set_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policy_sets.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policy_sets.rb new file mode 100644 index 0000000000..3fc61f73d3 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policy_sets.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::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class PolicySets + include MsRestAzure + + # + # Creates and initializes a new instance of the PolicySets class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # Evaluates lab policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the policy set. + # @param evaluate_policies_request [EvaluatePoliciesRequest] Request body for + # evaluating a policy set. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [EvaluatePoliciesResponse] operation results. + # + def evaluate_policies(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers = nil) + response = evaluate_policies_async(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers).value! + response.body unless response.nil? + end + + # + # Evaluates lab policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the policy set. + # @param evaluate_policies_request [EvaluatePoliciesRequest] Request body for + # evaluating a policy set. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def evaluate_policies_with_http_info(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers = nil) + evaluate_policies_async(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers).value! + end + + # + # Evaluates lab policy. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the policy set. + # @param evaluate_policies_request [EvaluatePoliciesRequest] Request body for + # evaluating a policy set. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def evaluate_policies_async(resource_group_name, lab_name, name, evaluate_policies_request, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'evaluate_policies_request is nil' if evaluate_policies_request.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::EvaluatePoliciesRequest.mapper() + request_content = @client.serialize(request_mapper, evaluate_policies_request) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/policysets/{name}/evaluatePolicies' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::EvaluatePoliciesResponse.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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/provider_operations.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/provider_operations.rb new file mode 100644 index 0000000000..28c490e8ca --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/provider_operations.rb @@ -0,0 +1,213 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class ProviderOperations + include MsRestAzure + + # + # Creates and initializes a new instance of the ProviderOperations class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # Result of the request to list REST API operations + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Array] operation results. + # + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) + first_page.get_all_items + end + + # + # Result of the request to list REST API operations + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! + end + + # + # Result of the request to list REST API operations + # + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_async(custom_headers = nil) + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = 'providers/Microsoft.DevTestLab/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::DevTestLabs::Mgmt::V2018_09_15::Models::ProviderOperationResult.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 + + # + # Result of the request to list REST API operations + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ProviderOperationResult] 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 + + # + # Result of the request to list REST API operations + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! + end + + # + # Result of the request to list REST API operations + # + # @param next_page_link [String] The NextLink from the previous successful call + # to List operation. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def list_next_async(next_page_link, custom_headers = nil) + fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + path_template = '{nextLink}' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + skip_encoding_path_params: {'nextLink' => next_page_link}, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:get, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 + error_model = JSON.load(response_content) + fail 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::DevTestLabs::Mgmt::V2018_09_15::Models::ProviderOperationResult.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 + + # + # Result of the request to list REST API operations + # + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ProviderOperationResult] 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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/schedules.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/schedules.rb new file mode 100644 index 0000000000..da6a2e39a3 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/schedules.rb @@ -0,0 +1,995 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Schedules + include MsRestAzure + + # + # Creates and initializes a new instance of the Schedules class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List schedules in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List schedules in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List schedules in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/schedules' + + 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,'labName' => lab_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + end + + # + # Get schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/schedules/{name}' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.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 replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def create_or_update(resource_group_name, lab_name, name, schedule, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, schedule, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def create_or_update_with_http_info(resource_group_name, lab_name, name, schedule, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, schedule, custom_headers).value! + end + + # + # Create or replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def create_or_update_async(resource_group_name, lab_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'schedule is nil' if schedule.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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + request_content = @client.serialize(request_mapper, schedule) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/schedules/{name}' + + 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,'labName' => lab_name,'name' => 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 == 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 + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def update(resource_group_name, lab_name, name, schedule, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, schedule, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, name, schedule, custom_headers = nil) + update_async(resource_group_name, lab_name, name, schedule, custom_headers).value! + end + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'schedule is nil' if schedule.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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleFragment.mapper() + request_content = @client.serialize(request_mapper, schedule) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/schedules/{name}' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.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 + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def execute(resource_group_name, lab_name, name, custom_headers = nil) + response = execute_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @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 execute_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_execute_async(resource_group_name, lab_name, name, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Lists all applicable schedules + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @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_applicable(resource_group_name, lab_name, name, custom_headers = nil) + first_page = list_applicable_as_lazy(resource_group_name, lab_name, name, custom_headers) + first_page.get_all_items + end + + # + # Lists all applicable schedules + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param custom_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_applicable_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + list_applicable_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Lists all applicable schedules + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param [Hash{String => String}] 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_applicable_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/schedules/{name}/listApplicable' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_execute(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_execute_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param custom_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_execute_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_execute_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param [Hash{String => String}] 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_execute_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/schedules/{name}/execute' + + 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,'labName' => lab_name,'name' => 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 + + # + # List schedules in a given lab. + # + # @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 [ScheduleList] 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 + + # + # List schedules in a given lab. + # + # @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 + + # + # List schedules in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 applicable schedules + # + # @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 [ScheduleList] operation results. + # + def list_applicable_next(next_page_link, custom_headers = nil) + response = list_applicable_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists all applicable schedules + # + # @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_applicable_next_with_http_info(next_page_link, custom_headers = nil) + list_applicable_next_async(next_page_link, custom_headers).value! + end + + # + # Lists all applicable schedules + # + # @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_applicable_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(: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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedules in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ScheduleList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).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 + + # + # Lists all applicable schedules + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ScheduleList] which provide lazy access to pages of the response. + # + def list_applicable_as_lazy(resource_group_name, lab_name, name, custom_headers = nil) + response = list_applicable_async(resource_group_name, lab_name, name, custom_headers).value! + unless response.nil? + page = response.body + page.next_method = Proc.new do |next_page_link| + list_applicable_next_async(next_page_link, custom_headers) + end + page + end + end + + end +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/secrets.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/secrets.rb new file mode 100644 index 0000000000..1620f806d8 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/secrets.rb @@ -0,0 +1,740 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class Secrets + include MsRestAzure + + # + # Creates and initializes a new instance of the Secrets class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List secrets in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=value)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List secrets in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=value)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List secrets in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=value)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_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.DevTestLab/labs/{labName}/users/{userName}/secrets' + + 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,'labName' => lab_name,'userName' => user_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::SecretList.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 secret. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=value)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Secret] operation results. + # + def get(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get secret. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=value)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! + end + + # + # Get secret. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=value)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, user_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Secret.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 replace an existing secret. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param secret [Secret] A secret. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Secret] operation results. + # + def create_or_update(resource_group_name, lab_name, user_name, name, secret, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param secret [Secret] A secret. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Secret.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete secret. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # Delete secret. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + end + + # + # Delete secret. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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 == 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 + + # + # Modify properties of secrets. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param secret [SecretFragment] A secret. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Secret] operation results. + # + def update(resource_group_name, lab_name, user_name, name, secret, custom_headers = nil) + response = update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of secrets. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param secret [SecretFragment] A secret. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, user_name, name, secret, custom_headers = nil) + update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers).value! + end + + # + # Modify properties of secrets. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param secret [SecretFragment] A secret. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, user_name, name, secret, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'secret is nil' if secret.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::DevTestLabs::Mgmt::V2018_09_15::Models::SecretFragment.mapper() + request_content = @client.serialize(request_mapper, secret) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::Secret.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 replace an existing secret. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param secret [Secret] A secret. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Secret] operation results. + # + def begin_create_or_update(resource_group_name, lab_name, user_name, name, secret, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing secret. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param secret [Secret] A secret. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, secret, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, user_name, name, secret, custom_headers).value! + end + + # + # Create or replace an existing secret. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the secret. + # @param secret [Secret] A secret. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, secret, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'secret is nil' if secret.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::DevTestLabs::Mgmt::V2018_09_15::Models::Secret.mapper() + request_content = @client.serialize(request_mapper, secret) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/secrets/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Secret.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Secret.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 secrets in a given user profile. + # + # @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 [SecretList] 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 + + # + # List secrets in a given user profile. + # + # @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 + + # + # List secrets in a given user profile. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::SecretList.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 secrets in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=value)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [SecretList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabric_schedules.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabric_schedules.rb new file mode 100644 index 0000000000..de14dfd725 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabric_schedules.rb @@ -0,0 +1,845 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class ServiceFabricSchedules + include MsRestAzure + + # + # Creates and initializes a new instance of the ServiceFabricSchedules class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List schedules in a given service fabric. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, user_name, service_fabric_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, user_name, service_fabric_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List schedules in a given service fabric. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, user_name, service_fabric_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, user_name, service_fabric_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List schedules in a given service fabric. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, user_name, service_fabric_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'service_fabric_name is nil' if service_fabric_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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules' + + 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,'labName' => lab_name,'userName' => user_name,'serviceFabricName' => service_fabric_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def get(resource_group_name, lab_name, user_name, service_fabric_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, user_name, service_fabric_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, user_name, service_fabric_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, user_name, service_fabric_name, name, expand, custom_headers).value! + end + + # + # Get schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, user_name, service_fabric_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'service_fabric_name is nil' if service_fabric_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'serviceFabricName' => service_fabric_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.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 replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def create_or_update(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def create_or_update_with_http_info(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, custom_headers).value! + end + + # + # Create or replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def create_or_update_async(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'service_fabric_name is nil' if service_fabric_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'schedule is nil' if schedule.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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + request_content = @client.serialize(request_mapper, schedule) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'serviceFabricName' => service_fabric_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers).value! + nil + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers).value! + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'service_fabric_name is nil' if service_fabric_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'serviceFabricName' => service_fabric_name,'name' => 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 == 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 + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def update(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, custom_headers = nil) + response = update_async(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, custom_headers = nil) + update_async(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, custom_headers).value! + end + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, user_name, service_fabric_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'service_fabric_name is nil' if service_fabric_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'schedule is nil' if schedule.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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleFragment.mapper() + request_content = @client.serialize(request_mapper, schedule) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'serviceFabricName' => service_fabric_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.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 + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def execute(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers = nil) + response = execute_async(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @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 execute_async(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers = nil) + # Send request + promise = begin_execute_async(resource_group_name, lab_name, user_name, service_fabric_name, 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 + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_execute(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers = nil) + response = begin_execute_async(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers).value! + nil + end + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param custom_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_execute_with_http_info(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers = nil) + begin_execute_async(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers).value! + end + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param name [String] The name of the schedule. + # @param [Hash{String => String}] 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_execute_async(resource_group_name, lab_name, user_name, service_fabric_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'service_fabric_name is nil' if service_fabric_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name}/execute' + + 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,'labName' => lab_name,'userName' => user_name,'serviceFabricName' => service_fabric_name,'name' => 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 + + # + # List schedules in a given service fabric. + # + # @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 [ScheduleList] 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 + + # + # List schedules in a given service fabric. + # + # @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 + + # + # List schedules in a given service fabric. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedules in a given service fabric. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param service_fabric_name [String] The name of the service Fabric. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ScheduleList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, user_name, service_fabric_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, user_name, service_fabric_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabrics.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabrics.rb new file mode 100644 index 0000000000..0ef246c806 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabrics.rb @@ -0,0 +1,1142 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class ServiceFabrics + include MsRestAzure + + # + # Creates and initializes a new instance of the ServiceFabrics class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List service fabrics in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=applicableSchedule)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List service fabrics in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=applicableSchedule)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List service fabrics in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=applicableSchedule)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics' + + 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,'labName' => lab_name,'userName' => user_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceFabricList.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 service fabric. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=applicableSchedule)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServiceFabric] operation results. + # + def get(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get service fabric. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=applicableSchedule)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, user_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, user_name, name, expand, custom_headers).value! + end + + # + # Get service fabric. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=applicableSchedule)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, user_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceFabric.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 replace an existing Service Fabric. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param service_fabric [ServiceFabric] A Service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServiceFabric] operation results. + # + def create_or_update(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param service_fabric [ServiceFabric] A Service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceFabric.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete service fabric. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, lab_name, user_name, 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 + + # + # Modify properties of service fabrics. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param service_fabric [ServiceFabricFragment] A Service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServiceFabric] operation results. + # + def update(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers = nil) + response = update_async(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of service fabrics. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param service_fabric [ServiceFabricFragment] A Service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers = nil) + update_async(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers).value! + end + + # + # Modify properties of service fabrics. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param service_fabric [ServiceFabricFragment] A Service Fabric. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, user_name, name, service_fabric, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'service_fabric is nil' if service_fabric.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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceFabricFragment.mapper() + request_content = @client.serialize(request_mapper, service_fabric) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceFabric.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Lists the applicable start/stop schedules, if any. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ApplicableSchedule] operation results. + # + def list_applicable_schedules(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = list_applicable_schedules_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists the applicable start/stop schedules, if any. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_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_applicable_schedules_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + list_applicable_schedules_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + end + + # + # Lists the applicable start/stop schedules, if any. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param [Hash{String => String}] 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_applicable_schedules_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/listApplicableSchedules' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::ApplicableSchedule.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 + + # + # Start a service fabric. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def start(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = start_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @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 start_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + # Send request + promise = begin_start_async(resource_group_name, lab_name, user_name, 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 + + # + # Stop a service fabric This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def stop(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = stop_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @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 stop_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + # Send request + promise = begin_stop_async(resource_group_name, lab_name, user_name, 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 replace an existing Service Fabric. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param service_fabric [ServiceFabric] A Service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServiceFabric] operation results. + # + def begin_create_or_update(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing Service Fabric. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param service_fabric [ServiceFabric] A Service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, user_name, name, service_fabric, custom_headers).value! + end + + # + # Create or replace an existing Service Fabric. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param service_fabric [ServiceFabric] A Service Fabric. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, lab_name, user_name, name, service_fabric, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'service_fabric is nil' if service_fabric.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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceFabric.mapper() + request_content = @client.serialize(request_mapper, service_fabric) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceFabric.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceFabric.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete service fabric. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # Delete service fabric. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_delete_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + end + + # + # Delete service fabric. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_delete_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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 + + # + # Start a service fabric. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_start(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = begin_start_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # Start a service fabric. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_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_start_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + begin_start_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + end + + # + # Start a service fabric. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param [Hash{String => String}] 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_start_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/start' + + 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,'labName' => lab_name,'userName' => user_name,'name' => 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 + + # + # Stop a service fabric This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_stop(resource_group_name, lab_name, user_name, name, custom_headers = nil) + response = begin_stop_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + nil + end + + # + # Stop a service fabric This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param custom_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_stop_with_http_info(resource_group_name, lab_name, user_name, name, custom_headers = nil) + begin_stop_async(resource_group_name, lab_name, user_name, name, custom_headers).value! + end + + # + # Stop a service fabric This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param name [String] The name of the service Fabric. + # @param [Hash{String => String}] 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_stop_async(resource_group_name, lab_name, user_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'user_name is nil' if user_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name}/stop' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'labName' => lab_name,'userName' => user_name,'name' => 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 + + # + # List service fabrics in a given user profile. + # + # @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 [ServiceFabricList] 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 + + # + # List service fabrics in a given user profile. + # + # @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 + + # + # List service fabrics in a given user profile. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceFabricList.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 service fabrics in a given user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param user_name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=applicableSchedule)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServiceFabricList] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, lab_name, user_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, user_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_runners.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_runners.rb new file mode 100644 index 0000000000..4b5f4417b5 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_runners.rb @@ -0,0 +1,549 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class ServiceRunners + include MsRestAzure + + # + # Creates and initializes a new instance of the ServiceRunners class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List service runners in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List service runners in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, filter, top, orderby, custom_headers).value! + end + + # + # List service runners in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/servicerunners' + + 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,'labName' => lab_name}, + query_params: {'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceRunnerList.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 service runner. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the service runner. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServiceRunner] operation results. + # + def get(resource_group_name, lab_name, name, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, custom_headers).value! + response.body unless response.nil? + end + + # + # Get service runner. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the service runner. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + get_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Get service runner. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the service runner. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/servicerunners/{name}' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceRunner.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 replace an existing Service runner. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the service runner. + # @param service_runner [ServiceRunner] A container for a managed identity to + # execute DevTest lab services. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServiceRunner] operation results. + # + def create_or_update(resource_group_name, lab_name, name, service_runner, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, service_runner, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing Service runner. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the service runner. + # @param service_runner [ServiceRunner] A container for a managed identity to + # execute DevTest lab services. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def create_or_update_with_http_info(resource_group_name, lab_name, name, service_runner, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, name, service_runner, custom_headers).value! + end + + # + # Create or replace an existing Service runner. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the service runner. + # @param service_runner [ServiceRunner] A container for a managed identity to + # execute DevTest lab services. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def create_or_update_async(resource_group_name, lab_name, name, service_runner, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'service_runner is nil' if service_runner.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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceRunner.mapper() + request_content = @client.serialize(request_mapper, service_runner) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceRunner.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceRunner.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete service runner. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the service runner. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Delete service runner. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the service runner. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Delete service runner. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the service runner. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/servicerunners/{name}' + + 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,'labName' => lab_name,'name' => 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 == 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 service runners in a given lab. + # + # @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 [ServiceRunnerList] 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 + + # + # List service runners in a given lab. + # + # @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 + + # + # List service runners in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceRunnerList.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 service runners in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ServiceRunnerList] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, lab_name, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/users.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/users.rb new file mode 100644 index 0000000000..e5e0ecb279 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/users.rb @@ -0,0 +1,757 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + 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 [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List user profiles in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=identity)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List user profiles in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=identity)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List user profiles in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=identity)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/users' + + 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,'labName' => lab_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::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 + + # + # Get user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=identity)' + # @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(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=identity)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + end + + # + # Get user profile. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=identity)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{name}' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::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 or replace an existing user profile. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param user [User] Profile of a lab user. + # @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(resource_group_name, lab_name, name, user, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, user, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param user [User] Profile of a lab user. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, lab_name, name, user, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, lab_name, name, user, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::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 + + # + # Delete user profile. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, lab_name, 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 + + # + # Modify properties of user profiles. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param user [UserFragment] Profile of a lab user. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [User] operation results. + # + def update(resource_group_name, lab_name, name, user, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, user, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of user profiles. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param user [UserFragment] Profile of a lab user. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, name, user, custom_headers = nil) + update_async(resource_group_name, lab_name, name, user, custom_headers).value! + end + + # + # Modify properties of user profiles. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param user [UserFragment] Profile of a lab user. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, name, user, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'user is nil' if user.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::DevTestLabs::Mgmt::V2018_09_15::Models::UserFragment.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.DevTestLab/labs/{labName}/users/{name}' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::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 or replace an existing user profile. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param user [User] Profile of a lab user. + # @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(resource_group_name, lab_name, name, user, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, name, user, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing user profile. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param user [User] Profile of a lab user. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, user, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, name, user, custom_headers).value! + end + + # + # Create or replace an existing user profile. This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param user [User] Profile of a lab user. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, lab_name, name, user, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'user is nil' if user.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::DevTestLabs::Mgmt::V2018_09_15::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.DevTestLab/labs/{labName}/users/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::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 + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::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 + + # + # Delete user profile. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Delete user profile. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Delete user profile. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the user profile. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_delete_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/users/{name}' + + 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,'labName' => lab_name,'name' => 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 user profiles in a given lab. + # + # @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_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! + response.body unless response.nil? + end + + # + # List user profiles in a given lab. + # + # @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 + + # + # List user profiles in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::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 + + # + # List user profiles in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=identity)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/version.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/version.rb new file mode 100644 index 0000000000..fb1fc3cfc7 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/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::DevTestLabs::Mgmt::V2018_09_15 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb new file mode 100644 index 0000000000..5dc8705cd3 --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb @@ -0,0 +1,818 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class VirtualMachineSchedules + include MsRestAzure + + # + # Creates and initializes a new instance of the VirtualMachineSchedules class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List schedules in a given virtual machine. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, virtual_machine_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, virtual_machine_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List schedules in a given virtual machine. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, virtual_machine_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, virtual_machine_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List schedules in a given virtual machine. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, virtual_machine_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'virtual_machine_name is nil' if virtual_machine_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.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules' + + 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,'labName' => lab_name,'virtualMachineName' => virtual_machine_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def get(resource_group_name, lab_name, virtual_machine_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, virtual_machine_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, virtual_machine_name, name, expand, custom_headers).value! + end + + # + # Get schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, virtual_machine_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'virtual_machine_name is nil' if virtual_machine_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}' + + 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,'labName' => lab_name,'virtualMachineName' => virtual_machine_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.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 replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def create_or_update(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def create_or_update_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers = nil) + create_or_update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers).value! + end + + # + # Create or replace an existing schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param schedule [Schedule] A schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def create_or_update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'virtual_machine_name is nil' if virtual_machine_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'schedule is nil' if schedule.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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + request_content = @client.serialize(request_mapper, schedule) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}' + + 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,'labName' => lab_name,'virtualMachineName' => virtual_machine_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def delete(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! + nil + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def delete_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + delete_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! + end + + # + # Delete schedule. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def delete_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'virtual_machine_name is nil' if virtual_machine_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}' + + 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,'labName' => lab_name,'virtualMachineName' => virtual_machine_name,'name' => 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 == 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 + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Schedule] operation results. + # + def update(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers = nil) + response = update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers = nil) + update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, custom_headers).value! + end + + # + # Modify properties of schedules. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param schedule [ScheduleFragment] A schedule. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, virtual_machine_name, name, schedule, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'virtual_machine_name is nil' if virtual_machine_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'schedule is nil' if schedule.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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleFragment.mapper() + request_content = @client.serialize(request_mapper, schedule) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}' + + 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,'labName' => lab_name,'virtualMachineName' => virtual_machine_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::Schedule.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 + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def execute(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + response = execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @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 execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + # Send request + promise = begin_execute_async(resource_group_name, lab_name, virtual_machine_name, 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 + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_execute(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + response = begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! + nil + end + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param custom_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_execute_with_http_info(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + begin_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers).value! + end + + # + # Execute a schedule. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param name [String] The name of the schedule. + # @param [Hash{String => String}] 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_execute_async(resource_group_name, lab_name, virtual_machine_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'virtual_machine_name is nil' if virtual_machine_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{virtualMachineName}/schedules/{name}/execute' + + 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,'labName' => lab_name,'virtualMachineName' => virtual_machine_name,'name' => 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 + + # + # List schedules in a given virtual machine. + # + # @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 [ScheduleList] 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 + + # + # List schedules in a given virtual machine. + # + # @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 + + # + # List schedules in a given virtual machine. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::ScheduleList.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 schedules in a given virtual machine. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param virtual_machine_name [String] The name of the virtual machine. + # @param expand [String] Specify the $expand query. Example: + # 'properties($select=status)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ScheduleList] which provide lazy access to pages of the response. + # + def list_as_lazy(resource_group_name, lab_name, virtual_machine_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, virtual_machine_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb new file mode 100644 index 0000000000..963505c2dd --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb @@ -0,0 +1,2424 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class VirtualMachines + include MsRestAzure + + # + # Creates and initializes a new instance of the VirtualMachines class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List virtual machines in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List virtual machines in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List virtual machines in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/virtualmachines' + + 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,'labName' => lab_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachineList.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 virtual machine. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabVirtualMachine] operation results. + # + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get virtual machine. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + end + + # + # Get virtual machine. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachine.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 replace an existing Virtual machine. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param lab_virtual_machine [LabVirtualMachine] A virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabVirtualMachine] operation results. + # + def create_or_update(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param lab_virtual_machine [LabVirtualMachine] A virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachine.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, lab_name, 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 + + # + # Modify properties of virtual machines. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param lab_virtual_machine [LabVirtualMachineFragment] A virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabVirtualMachine] operation results. + # + def update(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of virtual machines. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param lab_virtual_machine [LabVirtualMachineFragment] A virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! + end + + # + # Modify properties of virtual machines. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param lab_virtual_machine [LabVirtualMachineFragment] A virtual machine. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, name, lab_virtual_machine, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'lab_virtual_machine is nil' if lab_virtual_machine.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::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachineFragment.mapper() + request_content = @client.serialize(request_mapper, lab_virtual_machine) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachine.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 + + # + # Attach a new or existing data disk to virtual machine. This operation can + # take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param data_disk_properties [DataDiskProperties] Request body for adding a + # new or existing data disk to a virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def add_data_disk(resource_group_name, lab_name, name, data_disk_properties, custom_headers = nil) + response = add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param data_disk_properties [DataDiskProperties] Request body for adding a + # new or existing data disk to a virtual machine. + # @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 add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers = nil) + # Send request + promise = begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, 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 + + # + # Apply artifacts to virtual machine. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param apply_artifacts_request [ApplyArtifactsRequest] Request body for + # applying artifacts to a virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def apply_artifacts(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) + response = apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param apply_artifacts_request [ApplyArtifactsRequest] Request body for + # applying artifacts to a virtual machine. + # @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 apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) + # Send request + promise = begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, 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 + + # + # Take ownership of an existing virtual machine This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def claim(resource_group_name, lab_name, name, custom_headers = nil) + response = claim_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @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 claim_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_claim_async(resource_group_name, lab_name, 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 + + # + # Detach the specified disk from the virtual machine. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param detach_data_disk_properties [DetachDataDiskProperties] Request body + # for detaching data disk from a virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def detach_data_disk(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers = nil) + response = detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param detach_data_disk_properties [DetachDataDiskProperties] Request body + # for detaching data disk from a virtual machine. + # @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 detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers = nil) + # Send request + promise = begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Gets a string that represents the contents of the RDP file for the virtual + # machine + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [RdpConnection] operation results. + # + def get_rdp_file_contents(resource_group_name, lab_name, name, custom_headers = nil) + response = get_rdp_file_contents_async(resource_group_name, lab_name, name, custom_headers).value! + response.body unless response.nil? + end + + # + # Gets a string that represents the contents of the RDP file for the virtual + # machine + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_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_rdp_file_contents_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + get_rdp_file_contents_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Gets a string that represents the contents of the RDP file for the virtual + # machine + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] 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_rdp_file_contents_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}/getRdpFileContents' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::RdpConnection.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Lists the applicable start/stop schedules, if any. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [ApplicableSchedule] operation results. + # + def list_applicable_schedules(resource_group_name, lab_name, name, custom_headers = nil) + response = list_applicable_schedules_async(resource_group_name, lab_name, name, custom_headers).value! + response.body unless response.nil? + end + + # + # Lists the applicable start/stop schedules, if any. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_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_applicable_schedules_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + list_applicable_schedules_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Lists the applicable start/stop schedules, if any. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] 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_applicable_schedules_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}/listApplicableSchedules' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::ApplicableSchedule.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 + + # + # Redeploy a virtual machine This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def redeploy(resource_group_name, lab_name, name, custom_headers = nil) + response = redeploy_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @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 redeploy_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_redeploy_async(resource_group_name, lab_name, 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 + + # + # Resize Virtual Machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param resize_lab_virtual_machine_properties + # [ResizeLabVirtualMachineProperties] Request body for resizing a virtual + # machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def resize(resource_group_name, lab_name, name, resize_lab_virtual_machine_properties, custom_headers = nil) + response = resize_async(resource_group_name, lab_name, name, resize_lab_virtual_machine_properties, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param resize_lab_virtual_machine_properties + # [ResizeLabVirtualMachineProperties] Request body for resizing a virtual + # machine. + # @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 resize_async(resource_group_name, lab_name, name, resize_lab_virtual_machine_properties, custom_headers = nil) + # Send request + promise = begin_resize_async(resource_group_name, lab_name, name, resize_lab_virtual_machine_properties, 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 + + # + # Restart a virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def restart(resource_group_name, lab_name, name, custom_headers = nil) + response = restart_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @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 restart_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_restart_async(resource_group_name, lab_name, 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 + + # + # Start a virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def start(resource_group_name, lab_name, name, custom_headers = nil) + response = start_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @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 start_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_start_async(resource_group_name, lab_name, 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 + + # + # Stop a virtual machine This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def stop(resource_group_name, lab_name, name, custom_headers = nil) + response = stop_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @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 stop_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_stop_async(resource_group_name, lab_name, 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 + + # + # Transfers all data disks attached to the virtual machine to be owned by the + # current user. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def transfer_disks(resource_group_name, lab_name, name, custom_headers = nil) + response = transfer_disks_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @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 transfer_disks_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_transfer_disks_async(resource_group_name, lab_name, 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 + + # + # Release ownership of an existing virtual machine This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def un_claim(resource_group_name, lab_name, name, custom_headers = nil) + response = un_claim_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @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 un_claim_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_un_claim_async(resource_group_name, lab_name, 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 replace an existing Virtual machine. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param lab_virtual_machine [LabVirtualMachine] A virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabVirtualMachine] operation results. + # + def begin_create_or_update(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing Virtual machine. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param lab_virtual_machine [LabVirtualMachine] A virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, custom_headers).value! + end + + # + # Create or replace an existing Virtual machine. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param lab_virtual_machine [LabVirtualMachine] A virtual machine. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, lab_name, name, lab_virtual_machine, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'lab_virtual_machine is nil' if lab_virtual_machine.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::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachine.mapper() + request_content = @client.serialize(request_mapper, lab_virtual_machine) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachine.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachine.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Delete virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Delete virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_delete_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}' + + 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,'labName' => lab_name,'name' => 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 + + # + # Attach a new or existing data disk to virtual machine. This operation can + # take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param data_disk_properties [DataDiskProperties] Request body for adding a + # new or existing data disk to a virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_add_data_disk(resource_group_name, lab_name, name, data_disk_properties, custom_headers = nil) + response = begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers).value! + nil + end + + # + # Attach a new or existing data disk to virtual machine. This operation can + # take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param data_disk_properties [DataDiskProperties] Request body for adding a + # new or existing data disk to a virtual machine. + # @param custom_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_add_data_disk_with_http_info(resource_group_name, lab_name, name, data_disk_properties, custom_headers = nil) + begin_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, custom_headers).value! + end + + # + # Attach a new or existing data disk to virtual machine. This operation can + # take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param data_disk_properties [DataDiskProperties] Request body for adding a + # new or existing data disk to a virtual machine. + # @param [Hash{String => String}] 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_add_data_disk_async(resource_group_name, lab_name, name, data_disk_properties, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'data_disk_properties is nil' if data_disk_properties.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::DevTestLabs::Mgmt::V2018_09_15::Models::DataDiskProperties.mapper() + request_content = @client.serialize(request_mapper, data_disk_properties) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/addDataDisk' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Apply artifacts to virtual machine. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param apply_artifacts_request [ApplyArtifactsRequest] Request body for + # applying artifacts to a virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_apply_artifacts(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) + response = begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers).value! + nil + end + + # + # Apply artifacts to virtual machine. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param apply_artifacts_request [ApplyArtifactsRequest] Request body for + # applying artifacts to a virtual machine. + # @param custom_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_apply_artifacts_with_http_info(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) + begin_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers).value! + end + + # + # Apply artifacts to virtual machine. This operation can take a while to + # complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param apply_artifacts_request [ApplyArtifactsRequest] Request body for + # applying artifacts to a virtual machine. + # @param [Hash{String => String}] 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_apply_artifacts_async(resource_group_name, lab_name, name, apply_artifacts_request, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'apply_artifacts_request is nil' if apply_artifacts_request.nil? + fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? + + + request_headers = {} + + # Set Headers + request_headers['x-ms-client-request-id'] = SecureRandom.uuid + request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + + request_headers['Content-Type'] = 'application/json; charset=utf-8' + + # Serialize Request + request_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ApplyArtifactsRequest.mapper() + request_content = @client.serialize(request_mapper, apply_artifacts_request) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/applyArtifacts' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Take ownership of an existing virtual machine This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_claim(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_claim_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Take ownership of an existing virtual machine This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_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_claim_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_claim_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Take ownership of an existing virtual machine This operation can take a while + # to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] 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_claim_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}/claim' + + 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,'labName' => lab_name,'name' => 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 + + # + # Detach the specified disk from the virtual machine. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param detach_data_disk_properties [DetachDataDiskProperties] Request body + # for detaching data disk from a virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_detach_data_disk(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers = nil) + response = begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers).value! + nil + end + + # + # Detach the specified disk from the virtual machine. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param detach_data_disk_properties [DetachDataDiskProperties] Request body + # for detaching data disk from a virtual machine. + # @param custom_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_detach_data_disk_with_http_info(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers = nil) + begin_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, custom_headers).value! + end + + # + # Detach the specified disk from the virtual machine. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param detach_data_disk_properties [DetachDataDiskProperties] Request body + # for detaching data disk from a virtual machine. + # @param [Hash{String => String}] 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_detach_data_disk_async(resource_group_name, lab_name, name, detach_data_disk_properties, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'detach_data_disk_properties is nil' if detach_data_disk_properties.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::DevTestLabs::Mgmt::V2018_09_15::Models::DetachDataDiskProperties.mapper() + request_content = @client.serialize(request_mapper, detach_data_disk_properties) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/detachDataDisk' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Redeploy a virtual machine This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_redeploy(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_redeploy_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Redeploy a virtual machine This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_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_redeploy_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_redeploy_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Redeploy a virtual machine This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] 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_redeploy_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}/redeploy' + + 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,'labName' => lab_name,'name' => 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 + + # + # Resize Virtual Machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param resize_lab_virtual_machine_properties + # [ResizeLabVirtualMachineProperties] Request body for resizing a virtual + # machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_resize(resource_group_name, lab_name, name, resize_lab_virtual_machine_properties, custom_headers = nil) + response = begin_resize_async(resource_group_name, lab_name, name, resize_lab_virtual_machine_properties, custom_headers).value! + nil + end + + # + # Resize Virtual Machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param resize_lab_virtual_machine_properties + # [ResizeLabVirtualMachineProperties] Request body for resizing a virtual + # machine. + # @param custom_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_resize_with_http_info(resource_group_name, lab_name, name, resize_lab_virtual_machine_properties, custom_headers = nil) + begin_resize_async(resource_group_name, lab_name, name, resize_lab_virtual_machine_properties, custom_headers).value! + end + + # + # Resize Virtual Machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param resize_lab_virtual_machine_properties + # [ResizeLabVirtualMachineProperties] Request body for resizing a virtual + # machine. + # @param [Hash{String => String}] 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_resize_async(resource_group_name, lab_name, name, resize_lab_virtual_machine_properties, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'resize_lab_virtual_machine_properties is nil' if resize_lab_virtual_machine_properties.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::DevTestLabs::Mgmt::V2018_09_15::Models::ResizeLabVirtualMachineProperties.mapper() + request_content = @client.serialize(request_mapper, resize_lab_virtual_machine_properties) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualmachines/{name}/resize' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'api-version' => @client.api_version}, + body: request_content, + headers: request_headers.merge(custom_headers || {}), + base_url: request_url + } + promise = @client.make_request_async(:post, path_template, options) + + promise = promise.then do |result| + http_response = result.response + status_code = http_response.status + response_content = http_response.body + unless status_code == 200 || status_code == 202 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + + result + end + + promise.execute + end + + # + # Restart a virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_restart(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_restart_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Restart a virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_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_restart_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_restart_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Restart a virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] 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_restart_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}/restart' + + 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,'labName' => lab_name,'name' => 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 + + # + # Start a virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_start(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_start_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Start a virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_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_start_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_start_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Start a virtual machine. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] 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_start_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}/start' + + 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,'labName' => lab_name,'name' => 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 + + # + # Stop a virtual machine This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_stop(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_stop_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Stop a virtual machine This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_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_stop_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_stop_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Stop a virtual machine This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] 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_stop_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}/stop' + + request_url = @base_url || @client.base_url + + options = { + middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], + path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'labName' => lab_name,'name' => 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 + + # + # Transfers all data disks attached to the virtual machine to be owned by the + # current user. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_transfer_disks(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_transfer_disks_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Transfers all data disks attached to the virtual machine to be owned by the + # current user. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_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_transfer_disks_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_transfer_disks_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Transfers all data disks attached to the virtual machine to be owned by the + # current user. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] 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_transfer_disks_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}/transferDisks' + + 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,'labName' => lab_name,'name' => 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 + + # + # Release ownership of an existing virtual machine This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_un_claim(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_un_claim_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Release ownership of an existing virtual machine This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param custom_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_un_claim_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_un_claim_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Release ownership of an existing virtual machine This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual machine. + # @param [Hash{String => String}] 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_un_claim_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualmachines/{name}/unClaim' + + 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,'labName' => lab_name,'name' => 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 + + # + # List virtual machines in a given lab. + # + # @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 [LabVirtualMachineList] 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 + + # + # List virtual machines in a given lab. + # + # @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 + + # + # List virtual machines in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::LabVirtualMachineList.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 virtual machines in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [LabVirtualMachineList] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb new file mode 100644 index 0000000000..aba93b096b --- /dev/null +++ b/management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb @@ -0,0 +1,758 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::DevTestLabs::Mgmt::V2018_09_15 + # + # The DevTest Labs Client. + # + class VirtualNetworks + include MsRestAzure + + # + # Creates and initializes a new instance of the VirtualNetworks class. + # @param client service class for accessing basic functionality. + # + def initialize(client) + @client = client + end + + # @return [DevTestLabsClient] reference to the DevTestLabsClient + attr_reader :client + + # + # List virtual networks in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=externalSubnets)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers) + first_page.get_all_items + end + + # + # List virtual networks in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=externalSubnets)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value! + end + + # + # List virtual networks in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=externalSubnets)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param [Hash{String => String}] 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(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = 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, 'lab_name is nil' if lab_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.DevTestLab/labs/{labName}/virtualnetworks' + + 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,'labName' => lab_name}, + query_params: {'$expand' => expand,'$filter' => filter,'$top' => top,'$orderby' => orderby,'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::DevTestLabs::Mgmt::V2018_09_15::Models::VirtualNetworkList.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 virtual network. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=externalSubnets)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [VirtualNetwork] operation results. + # + def get(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + response.body unless response.nil? + end + + # + # Get virtual network. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=externalSubnets)' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def get_with_http_info(resource_group_name, lab_name, name, expand = nil, custom_headers = nil) + get_async(resource_group_name, lab_name, name, expand, custom_headers).value! + end + + # + # Get virtual network. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=externalSubnets)' + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def get_async(resource_group_name, lab_name, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualnetworks/{name}' + + 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,'labName' => lab_name,'name' => name}, + query_params: {'$expand' => expand,'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::DevTestLabs::Mgmt::V2018_09_15::Models::VirtualNetwork.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 replace an existing virtual network. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param virtual_network [VirtualNetwork] A virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [VirtualNetwork] operation results. + # + def create_or_update(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + response = create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! + response.body unless response.nil? + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param virtual_network [VirtualNetwork] A virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + # Send request + promise = begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers) + + promise = promise.then do |response| + # Defining deserialization method. + deserialize_method = lambda do |parsed_response| + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::VirtualNetwork.mapper() + parsed_response = @client.deserialize(result_mapper, parsed_response) + end + + # Waiting for response. + @client.get_long_running_operation_result(response, deserialize_method) + end + + promise + end + + # + # Delete virtual network. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + def delete(resource_group_name, lab_name, name, custom_headers = nil) + response = delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [Concurrent::Promise] promise which provides async access to http + # response. + # + def delete_async(resource_group_name, lab_name, name, custom_headers = nil) + # Send request + promise = begin_delete_async(resource_group_name, lab_name, 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 + + # + # Modify properties of virtual networks. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param virtual_network [VirtualNetworkFragment] A virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [VirtualNetwork] operation results. + # + def update(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + response = update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! + response.body unless response.nil? + end + + # + # Modify properties of virtual networks. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param virtual_network [VirtualNetworkFragment] A virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def update_with_http_info(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! + end + + # + # Modify properties of virtual networks. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param virtual_network [VirtualNetworkFragment] A virtual network. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def update_async(resource_group_name, lab_name, name, virtual_network, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'virtual_network is nil' if virtual_network.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::DevTestLabs::Mgmt::V2018_09_15::Models::VirtualNetworkFragment.mapper() + request_content = @client.serialize(request_mapper, virtual_network) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}' + + 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,'labName' => lab_name,'name' => 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::DevTestLabs::Mgmt::V2018_09_15::Models::VirtualNetwork.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 replace an existing virtual network. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param virtual_network [VirtualNetwork] A virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [VirtualNetwork] operation results. + # + def begin_create_or_update(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! + response.body unless response.nil? + end + + # + # Create or replace an existing virtual network. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param virtual_network [VirtualNetwork] A virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_create_or_update_with_http_info(resource_group_name, lab_name, name, virtual_network, custom_headers = nil) + begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, custom_headers).value! + end + + # + # Create or replace an existing virtual network. This operation can take a + # while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param virtual_network [VirtualNetwork] A virtual network. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_create_or_update_async(resource_group_name, lab_name, name, virtual_network, 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, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if name.nil? + fail ArgumentError, 'virtual_network is nil' if virtual_network.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::DevTestLabs::Mgmt::V2018_09_15::Models::VirtualNetwork.mapper() + request_content = @client.serialize(request_mapper, virtual_network) + request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil + + path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}' + + 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,'labName' => lab_name,'name' => 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 == 201 + error_model = JSON.load(response_content) + fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model) + end + + result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil? + # Deserialize Response + if status_code == 200 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::VirtualNetwork.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + # Deserialize Response + if status_code == 201 + begin + parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) + result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::VirtualNetwork.mapper() + result.body = @client.deserialize(result_mapper, parsed_response) + rescue Exception => e + fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result) + end + end + + result + end + + promise.execute + end + + # + # Delete virtual network. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # + def begin_delete(resource_group_name, lab_name, name, custom_headers = nil) + response = begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! + nil + end + + # + # Delete virtual network. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [MsRestAzure::AzureOperationResponse] HTTP response information. + # + def begin_delete_with_http_info(resource_group_name, lab_name, name, custom_headers = nil) + begin_delete_async(resource_group_name, lab_name, name, custom_headers).value! + end + + # + # Delete virtual network. This operation can take a while to complete. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param name [String] The name of the virtual network. + # @param [Hash{String => String}] A hash of custom headers that will be added + # to the HTTP request. + # + # @return [Concurrent::Promise] Promise object which holds the HTTP response. + # + def begin_delete_async(resource_group_name, lab_name, name, custom_headers = nil) + fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? + fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? + fail ArgumentError, 'lab_name is nil' if lab_name.nil? + fail ArgumentError, 'name is nil' if 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.DevTestLab/labs/{labName}/virtualnetworks/{name}' + + 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,'labName' => lab_name,'name' => 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 virtual networks in a given lab. + # + # @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 [VirtualNetworkList] 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 + + # + # List virtual networks in a given lab. + # + # @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 + + # + # List virtual networks in a given lab. + # + # @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::DevTestLabs::Mgmt::V2018_09_15::Models::VirtualNetworkList.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 virtual networks in a given lab. + # + # @param resource_group_name [String] The name of the resource group. + # @param lab_name [String] The name of the lab. + # @param expand [String] Specify the $expand query. Example: + # 'properties($expand=externalSubnets)' + # @param filter [String] The filter to apply to the operation. Example: + # '$filter=contains(name,'myName') + # @param top [Integer] The maximum number of resources to return from the + # operation. Example: '$top=10' + # @param orderby [String] The ordering expression for the results, using OData + # notation. Example: '$orderby=name desc' + # @param custom_headers [Hash{String => String}] A hash of custom headers that + # will be added to the HTTP request. + # + # @return [VirtualNetworkList] which provide lazy access to pages of the + # response. + # + def list_as_lazy(resource_group_name, lab_name, expand = nil, filter = nil, top = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).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_devtestlabs/lib/azure_mgmt_devtestlabs.rb b/management/azure_mgmt_devtestlabs/lib/azure_mgmt_devtestlabs.rb index fbc4ce88e3..66bbbabfdb 100644 --- a/management/azure_mgmt_devtestlabs/lib/azure_mgmt_devtestlabs.rb +++ b/management/azure_mgmt_devtestlabs/lib/azure_mgmt_devtestlabs.rb @@ -3,4 +3,5 @@ # Licensed under the MIT License. See License.txt in the project root for license information. require '2016-05-15/generated/azure_mgmt_devtestlabs' +require '2018-09-15/generated/azure_mgmt_devtestlabs' require 'profiles/latest/devtestlabs_latest_profile_client' diff --git a/management/azure_mgmt_devtestlabs/lib/profiles/latest/modules/devtestlabs_profile_module.rb b/management/azure_mgmt_devtestlabs/lib/profiles/latest/modules/devtestlabs_profile_module.rb index 0d4d4083c4..36ee2e73eb 100644 --- a/management/azure_mgmt_devtestlabs/lib/profiles/latest/modules/devtestlabs_profile_module.rb +++ b/management/azure_mgmt_devtestlabs/lib/profiles/latest/modules/devtestlabs_profile_module.rb @@ -19,7 +19,6 @@ module Mgmt GalleryImages = Azure::DevTestLabs::Mgmt::V2016_05_15::GalleryImages NotificationChannels = Azure::DevTestLabs::Mgmt::V2016_05_15::NotificationChannels PolicySets = Azure::DevTestLabs::Mgmt::V2016_05_15::PolicySets - Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies Schedules = Azure::DevTestLabs::Mgmt::V2016_05_15::Schedules ServiceRunners = Azure::DevTestLabs::Mgmt::V2016_05_15::ServiceRunners Users = Azure::DevTestLabs::Mgmt::V2016_05_15::Users @@ -29,6 +28,7 @@ module Mgmt VirtualMachines = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachines VirtualMachineSchedules = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualMachineSchedules VirtualNetworks = Azure::DevTestLabs::Mgmt::V2016_05_15::VirtualNetworks + Policies = Azure::DevTestLabs::Mgmt::V2016_05_15::Policies module Models ExternalSubnetFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ExternalSubnetFragment @@ -157,12 +157,12 @@ module Models LabVirtualMachineFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachineFragment NotificationChannel = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannel NotificationChannelFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment - Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy PolicyFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment Secret = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Secret ServiceRunner = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ServiceRunner User = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::User VirtualNetwork = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork + Policy = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy UserFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment VirtualNetworkFragment = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetworkFragment EnableStatus = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::EnableStatus @@ -193,7 +193,7 @@ module Models # DevTestLabsManagementClass # class DevTestLabsManagementClass - attr_reader :provider_operations, :labs, :operations, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :policies, :schedules, :service_runners, :users, :disks, :environments, :secrets, :virtual_machines, :virtual_machine_schedules, :virtual_networks, :configurable, :base_url, :options, :model_classes + attr_reader :provider_operations, :labs, :operations, :global_schedules, :artifact_sources, :arm_templates, :artifacts, :costs, :custom_images, :formulas, :gallery_images, :notification_channels, :policy_sets, :schedules, :service_runners, :users, :disks, :environments, :secrets, :virtual_machines, :virtual_machine_schedules, :virtual_networks, :policies, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @@ -226,7 +226,6 @@ def initialize(options = {}) @gallery_images = @client_0.gallery_images @notification_channels = @client_0.notification_channels @policy_sets = @client_0.policy_sets - @policies = @client_0.policies @schedules = @client_0.schedules @service_runners = @client_0.service_runners @users = @client_0.users @@ -236,6 +235,7 @@ def initialize(options = {}) @virtual_machines = @client_0.virtual_machines @virtual_machine_schedules = @client_0.virtual_machine_schedules @virtual_networks = @client_0.virtual_networks + @policies = @client_0.policies @model_classes = ModelClasses.new end @@ -634,9 +634,6 @@ def notification_channel def notification_channel_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationChannelFragment end - def policy - Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy - end def policy_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::PolicyFragment end @@ -652,6 +649,9 @@ def user def virtual_network Azure::DevTestLabs::Mgmt::V2016_05_15::Models::VirtualNetwork end + def policy + Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Policy + end def user_fragment Azure::DevTestLabs::Mgmt::V2016_05_15::Models::UserFragment end